Avoid classes with a very low comment/code ratio (JEE) | CAST Appmarq

Avoid classes with a very low comment/code ratio (JEE)


Rule Definition
Classes should have at least a ratio comment / code > 5%. The threshold is a parameter and can be changed at will.

Related Technologies

Health Factor

  Total Quality Index


Technical Criterion
Documentation - Volume of Comments

About CAST Appmarq

CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.

Benchmark Statistics

Global Compliance

75.37%

Total Violations
103,512
Total Opportunities
420,266
Average Violations / App.
222.13
The compliance score represents 1 minus the ratio between the number of times a rule has been violated compared to the number of opportunities in a set of applications that the rule could have been violated.

Industry Insights

Financial Services

64.82%

Telecommunications

75.43%

Retail

73.96%