Comments (%)

CachéQuality release 
CachéQuality 1.0.0
Domain 
Documentation
Scope 
Project
File
Class

Density of comment lines, with such a formula:

  • 50% means that the number of lines of code equals the number of comment lines
  • 100% means that the file only contains comment lines

Method of calculation

Density of comment lines = Comment lines / (Lines of code + Comment lines) * 100