SQ Official Doc Link: https://docs.sonarqube.org/display/SONAR/Metrics+-+Statements
Language | Notes |
---|---|
Cobol | move, if, accept, add, alter, call, cancel, close, compute, continue, delete, display, divide, entry, evaluate, exitProgram, goback, goto, initialize, inspect, merge, multiply, open, perform, read, release, return, rewrite, search, set, sort, start, stop, string, subtract, unstring, write, exec, ibmXmlParse, ibmXmlGenerate, readyReset, mfCommit, mfRollback |
Java | Number of statements as defined in the Java Language Specification but without block definitions. Statements counter gets incremented by one each time a following keyword is encountered: Statements counter is not incremented by a class, method, field, annotation definition, package declaration and import declaration. |
PL/SQL | Only includes SQL statements used within PL/SQL blocks, but not outside. |
Add Comment