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

Metrics - Public API

Language

Note

Java

Public classes, interfaces, methods, constructors, annotations and attributes.

The following objects are excluded:

  • static final attribute

  • method with @Override annotation

  • empty constructor with no parameters

COBOL

Paragraph:

  • that does not only contain an EXIT statement

  • that is not the last paragraph in a module (ex: PERFORM FOO THRU BAR, BAR is not considered as an API)

A paragraph is considered as being documented if there is a comment right before or right after the paragraph name