Documentation Coverage

Percentage

Measures the extent to which the codebase is documented. Adequate documentation is essential for maintainability and ease of understanding.

Formula

(Lines of Documentation / Total Lines of Code) * 100

Example

If there are 500 lines of documentation for 2,000 lines of code, the documentation coverage is (500/2000)*100 = 25%.

Other Code Quality KPIs