scitools.com

← Metric catalog

Useful Comment Lines (CBRI) is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Useful Comment Lines (CBRI)

API ID: CBRIUsefulComments
Languages: Any
Targets: Architectures, Files, Project

The number of comments that do not appear to be licensing or commented out code

CBR-Insight is a program that grades project quality. (Ludwig, Jeremy, Devin Cline, and Aaron Novstrup. "A case study using CBR-insight to visualize source code quality." 2020 IEEE Aerospace Conference. IEEE, 2020.). One of the three areas graded is clarity which is built using the useful comments.

See also the Project Quality solution.