Our Unique Approach

a systematic approach to clean code

Handling the quality of your entire codebase is disruptive and overwhelming. Clean as You Code takes an incremental approach by keeping the code you add or edit clean.

Clean as You Code

teams own their delivery quality

Clean as You Code sets a clear expectation that allows developers to take full ownership of their code and make sure their deliveries meet high-quality standards.

a simple, powerful approach

The only expectation of developers is to ensure that the New Code - added or changed - does not introduce new issues. In other words, they do a good job on the code they touch. The approach is simple, effective, and easily adopted by all.

no extra effort, or rework

In the course of touching old code to make new edits, quality gradually gets built into your application. Your codebase is slowly remediated and overall application quality progressively improves. It’s an effortless way to yield the best results.
Image shows overall health of a project with all areas having a passing score

2-step implementation

It takes 2 simple steps to implement Clean as You Code.

Quality Gate on New Code

A Quality Gate focused only on metrics for New Code – added or changed – prevents new issues from creeping in. Sonar sets this by default and aligns developers across the organization to deliver to that standard.

don’t release unless it’s green

The only rule that needs to be applied is the common organizational understanding that no project will be released to production if it's failing its Quality Gate. 

Industry standard

Companies change on average 20% of their code each year

20%

of the overall code is clean after 1 year

35%

of the overall code is clean after 2 years

50%

of the overall code is clean after 5 years

Focus is on New Code

your new code is clean, always

No matter the type of your application, its current state, or your team expertise, Clean as You Code establishes a standard expectation across the organization for all New Code—added or changed.

Clean code is being added to a project
overall quality improves

gradually remediate old code

As complexity grows and software continues to evolve, developers inevitably touch existing code to make new changes. As every line of updated code goes through a quality gate, old code gets progressively remediated in the process.

Technical debt is represented as a large hill of code that gradually steps down as the clean as you code methodology is used as part of the development cycle.
A powerful approach

maximum impact, without the pain

Dealing with low-quality code is frustrating for developers, but businesses don't want to invest in fixing legacy debt. Fortunately, you can avoid both. Clean as You Code is the only approach that guarantees results without extra effort.

Issues with code are revealed within the developers platform while guidance for remediation is provided from Sonar

Used and loved by 300,000+ organizations

  • Barclays logo
  • Air France logo
  • IBM Logo
  • Nasa logo
  • Microsoft Logo
  • alphabet logo
  • dyson logo
  • vm ware logo
Background image of bits of code connecting to each other

try a better way to code

Start with open source -->Explore all editions -->
  • Sonar Solutions
    • Clean Code
    • Clean as You Code
    • Commitment to open source
    • For developers
    • For teams
    • For enterprise
    • Federal Government
  • Follow SonarSource on Twitter
  • Follow SonarSource on Linkedin

© 2008-2022, SonarSource S.A, Switzerland. All content is copyright protected. SONAR, SONARSOURCE, SONARLINT, SONARQUBE and SONARCLOUD are trademarks of SonarSource SA. All other trademarks and copyrights are the property of their respective owners. All rights are expressly reserved.