# \#clean-as-you-code

**URL:** https://community.sonarsource.com/tag/clean-as-you-code/390.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Introducing New Clean as You Code criteria](https://community.sonarsource.com/t/introducing-new-clean-as-you-code-criteria/103104)

<div class="topic-metadata">

**Author:** [@vivek.reghunath](https://community.sonarsource.com/u/vivek.reghunath)\
**Replies:** 17\
**Last updated:** [June 4, 2026, 9:13pm UTC](https://community.sonarsource.com/t/introducing-new-clean-as-you-code-criteria/103104 "2026-06-04T21:13:56Z")

</div>

We are introducing a simplified quality criterion to make sure that your new code is always clean! What are Clean as You Code criteria and why are they important? Clean as You Code criteria are the quality criteria that…

---

## [Clean As You Code statistics showing too little issues](https://community.sonarsource.com/t/clean-as-you-code-statistics-showing-too-little-issues/127195)

<div class="topic-metadata">

**Author:** [@duarte.fusco](https://community.sonarsource.com/u/duarte.fusco)\
**Replies:** 5\
**Last updated:** [October 11, 2024, 2:11pm UTC](https://community.sonarsource.com/t/clean-as-you-code-statistics-showing-too-little-issues/127195 "2024-10-11T14:11:11Z")

</div>

Hello The image above is what we get from clicking the “More” tab on the upper menu of the SonarQube dashboard. The project in question has over 3000 issues. Why does the label say 64? Thanks

---

## [Some new development branch issues are not reported in pull-request scan](https://community.sonarsource.com/t/some-new-development-branch-issues-are-not-reported-in-pull-request-scan/123589)

<div class="topic-metadata">

**Author:** [@tdennler](https://community.sonarsource.com/u/tdennler)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 5:45am UTC](https://community.sonarsource.com/t/some-new-development-branch-issues-are-not-reported-in-pull-request-scan/123589 "2024-08-27T05:45:17Z")

</div>

Sonar Enterprise Version 10.3 (build 82913) Running in Virtual Machine We are using clean-as-you-code and using pull-request analysis to catch problems on development branches and fix them prior to merge to parent bran…

---

## [Quickly identifying parent branch issues relating to a pull-request scan](https://community.sonarsource.com/t/quickly-identifying-parent-branch-issues-relating-to-a-pull-request-scan/120001)

<div class="topic-metadata">

**Author:** [@tdennler](https://community.sonarsource.com/u/tdennler)\
**Replies:** 8\
**Last updated:** [August 2, 2024, 5:15pm UTC](https://community.sonarsource.com/t/quickly-identifying-parent-branch-issues-relating-to-a-pull-request-scan/120001 "2024-08-02T17:15:39Z")

</div>

We are implementing clean-as-you-code with sonar enterprise on a system with many existing sonar issues. We are using pull-request analysis to identify new issues as part of the process of merging of changes to master o…

---

## [Missing Code Smells in New Code](https://community.sonarsource.com/t/missing-code-smells-in-new-code/117649)

<div class="topic-metadata">

**Author:** [@Stef](https://community.sonarsource.com/u/Stef)\
**Replies:** 1\
**Last updated:** [June 21, 2024, 1:08pm UTC](https://community.sonarsource.com/t/missing-code-smells-in-new-code/117649 "2024-06-21T13:08:03Z")

</div>

Hello, We using SonarQube Data Center Edition Version 9.9 We intend to use the “Clean as You Code” strategy for PRs and would expect any code smells created by my new code to be displayed. Unfortunately, there are many…

---

## [Is there a plan to detect folder name changes?](https://community.sonarsource.com/t/is-there-a-plan-to-detect-folder-name-changes/117202)

<div class="topic-metadata">

**Author:** [@skiryazov](https://community.sonarsource.com/u/skiryazov)\
**Replies:** 7\
**Last updated:** [June 20, 2024, 2:38pm UTC](https://community.sonarsource.com/t/is-there-a-plan-to-detect-folder-name-changes/117202 "2024-06-20T14:38:33Z")

</div>

Currently, renamed folders light up as new code, which breaks the quality gate on new code approach. This has been asked in the past and the answer was “we’ll see”. Are there any news? Should we get a Jira issue to trac…

---

## [\[Webinar\] Clean as You Code: A Proactive Approach to Technical Debt](https://community.sonarsource.com/t/webinar-clean-as-you-code-a-proactive-approach-to-technical-debt/113935)

<div class="topic-metadata">

**Author:** [@camille.vaissiere](https://community.sonarsource.com/u/camille.vaissiere)\
**Replies:** 1\
**Last updated:** [May 24, 2024, 8:16am UTC](https://community.sonarsource.com/t/webinar-clean-as-you-code-a-proactive-approach-to-technical-debt/113935 "2024-05-24T08:16:36Z")

</div>

Hello everyone! In exactly one month, we will be hosting a webinar on our Clean as You Code methodology, and how it is the definitive minimum process every project needs to meaningfully curtail technical debt. Join @vi…

---

## [Fix your Quality Gates today to maximise impact](https://community.sonarsource.com/t/fix-your-quality-gates-today-to-maximise-impact/109038)

<div class="topic-metadata">

**Author:** [@vivek.reghunath](https://community.sonarsource.com/u/vivek.reghunath)\
**Replies:** 5\
**Last updated:** [March 13, 2024, 2:08pm UTC](https://community.sonarsource.com/t/fix-your-quality-gates-today-to-maximise-impact/109038 "2024-03-13T14:08:52Z")

</div>

Hello SonarCloud :sonarcloud: users, Context Your quality gate may be missing some conditions on the new code. Or having a very relaxed threshold. These can lead to a situation where quality gate status may give you a …

---

## [Process - Out of scope issue handling with CleanAsYouGo](https://community.sonarsource.com/t/process-out-of-scope-issue-handling-with-cleanasyougo/108716)

<div class="topic-metadata">

**Author:** [@stabl-gjn](https://community.sonarsource.com/u/stabl-gjn)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 10:45am UTC](https://community.sonarsource.com/t/process-out-of-scope-issue-handling-with-cleanasyougo/108716 "2024-02-08T10:45:18Z")

</div>

Hey, this is more of a general/process question. We have an older code base where we recently introduced SonarCloud. This has been very smooth but the we are currently discussing how we can best handle this specific s…

---

## [How does SonarQube decide when to enforce a 'Clean as you Code' rule on edited old code?](https://community.sonarsource.com/t/how-does-sonarqube-decide-when-to-enforce-a-clean-as-you-code-rule-on-edited-old-code/108054)

<div class="topic-metadata">

**Author:** [@Paul\_Doherty](https://community.sonarsource.com/u/Paul_Doherty)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 8:04am UTC](https://community.sonarsource.com/t/how-does-sonarqube-decide-when-to-enforce-a-clean-as-you-code-rule-on-edited-old-code/108054 "2024-01-30T08:04:53Z")

</div>

SonarQube version: 10.3 Hey All. SonarQube rookie and first time poster here. I hope this finds you well. I have a question on how SonarQube enforces rules for “Overall Code” in the context of “Clean as you Code”. I h…

---

## [New Quality Gates come with Clean as You Code conditions](https://community.sonarsource.com/t/new-quality-gates-come-with-clean-as-you-code-conditions/107743)

<div class="topic-metadata">

**Author:** [@vivek.reghunath](https://community.sonarsource.com/u/vivek.reghunath)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 6:13am UTC](https://community.sonarsource.com/t/new-quality-gates-come-with-clean-as-you-code-conditions/107743 "2024-01-22T06:13:45Z")

</div>

Hello SonarCloud :sonarcloud: users, New quality gates now come optimized for Clean as You Code practice! These conditions on the new code will help you keep the added and changed code clean! Note: You can still m…

---

## [\[Webinar\] Clean as You Code: No pain, lots to gain](https://community.sonarsource.com/t/webinar-clean-as-you-code-no-pain-lots-to-gain/103068)

<div class="topic-metadata">

**Author:** [@camille.vaissiere](https://community.sonarsource.com/u/camille.vaissiere)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 12:41pm UTC](https://community.sonarsource.com/t/webinar-clean-as-you-code-no-pain-lots-to-gain/103068 "2023-11-17T12:41:46Z")

</div>

Hello everyone! November is around the corner, so please find below the details for our next monthly webinar! From setting up projects for Clean as You Code in SonarQube to the benefits of practicing with an actual proj…

---

## [SonarLint for VS Code 3.22 - Focus on new code, new secret types, file/directory exclusions](https://community.sonarsource.com/t/sonarlint-for-vs-code-3-22-focus-on-new-code-new-secret-types-file-directory-exclusions/102246)

<div class="topic-metadata">

**Author:** [@Marco\_Comi](https://community.sonarsource.com/u/Marco_Comi)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 3:03pm UTC](https://community.sonarsource.com/t/sonarlint-for-vs-code-3-22-focus-on-new-code-new-secret-types-file-directory-exclusions/102246 "2023-10-09T15:03:41Z")

</div>

Hello, September has been a busy month for the SonarLint team! We’ve been preparing the 3.22 release that comes with loads of new features and detection capabilities! First of all, we’ve released the first feature arou…

---

## [SonarLint for Eclipse 8.1 - Focus on new code, even more secret detection rules](https://community.sonarsource.com/t/sonarlint-for-eclipse-8-1-focus-on-new-code-even-more-secret-detection-rules/102223)

<div class="topic-metadata">

**Author:** [@Marco\_Comi](https://community.sonarsource.com/u/Marco_Comi)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 10:04am UTC](https://community.sonarsource.com/t/sonarlint-for-eclipse-8-1-focus-on-new-code-even-more-secret-detection-rules/102223 "2023-10-09T10:04:46Z")

</div>

Hello, With this new SonarLint release, we’re introducing Clean as You Code in the IDE! If you follow the Clean as You Code approach, your focus is always on new code (code that has been added or changed according to y…

---

## [SonarLint for IntelliJ 9.1 - Focus on new code, new secret types, quick fixes preview](https://community.sonarsource.com/t/sonarlint-for-intellij-9-1-focus-on-new-code-new-secret-types-quick-fixes-preview/102242)

<div class="topic-metadata">

**Author:** [@Marco\_Comi](https://community.sonarsource.com/u/Marco_Comi)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 2:01pm UTC](https://community.sonarsource.com/t/sonarlint-for-intellij-9-1-focus-on-new-code-new-secret-types-quick-fixes-preview/102242 "2023-10-09T14:01:41Z")

</div>

Hello, The SonarLint 9.1 release for IntelliJ IDEs is packed with new functionality and detections! :partying\_face: To begin with, it introduces Clean as You Code in the IDE! If you follow the Clean as You Code approac…

---

## [Clean as Code bug?](https://community.sonarsource.com/t/clean-as-code-bug/101607)

<div class="topic-metadata">

**Author:** [@aarroyo](https://community.sonarsource.com/u/aarroyo)\
**Replies:** 1\
**Last updated:** [September 29, 2023, 3:49pm UTC](https://community.sonarsource.com/t/clean-as-code-bug/101607 "2023-09-29T15:49:26Z")

</div>

Good day. I just want to inquire on Quality Gate if there is a auto tag of clean as you code after I delete an existing Quality Gate. Because I noticed after I delete an existing Quality Gate the clean as you code sudden…

---

## [New Code Definition setup is now part of project onboarding](https://community.sonarsource.com/t/new-code-definition-setup-is-now-part-of-project-onboarding/96944)

<div class="topic-metadata">

**Author:** [@vivek.reghunath](https://community.sonarsource.com/u/vivek.reghunath)\
**Replies:** 0\
**Last updated:** [August 4, 2023, 2:08pm UTC](https://community.sonarsource.com/t/new-code-definition-setup-is-now-part-of-project-onboarding/96944 "2023-08-04T14:08:47Z")

</div>

Hello SonarCloud :sonarcloud: users, New Code Definition(NCD) setup is now part of project onboarding. When you are adding a new project from the SonarCloud UI to analyze, you will now have the opportunity to select a s…
