Product
2 lines
large long lasting projects
ephemeral projects
Good code
Perfect code
Continuous Code Quality
Fast
Reliable/Robust
Secure
Maintainable
Readable
Extendable
Replaceable
Reusable
Good code reads like a well-written manual and runs like a well oiled machine.
When you have to go back and add/modify a feature, is it difficult? Do you constantly break existing functionality when making changes?
Code Complete
Confucius, he says.
Scrum teams care very much about their code quality.
Ensure the quality is above accepted threshold.
Sonar (Cyclomatic Complexity, Cognitive complexity, Code smell, Bug, Vulnerability, etc)
https://www.sonarqube.org/
Categorization
https://www.sonarsource.com/docs/CognitiveComplexity.pdf
while it accurately calculates the minimum number of test cases required to fully cover a method, it is not a satisfactory measure of understandability.
A Cognitive Complexity score is assessed according to three basic rules:
Review Merge Request
Project Dashboard
Issues Dashboard
There are several categories of issues in Sonar: