LanguageNote
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
  • accessors (getters and setters) if the "sonar.squid.analyse.property.accessors" property is set to "true" (default value)
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