This is an archived version of the documentation for SonarQube-7.3.
See the Latest Documentation for current functionality.

Metrics - Comment lines

Language

Note

Cobol

Lines containing the following instructions are counted both as comments and lines of code: AUTHOR, INSTALLATION, DATE-COMPILED, DATE-WRITTEN, SECURITY.

Java

File headers are not counted as comment lines (as they usually define the license).

Web

Server side + Client side comments.