...
| Name | Key | Description | ||||
New violations | new_violations | Number of new violations. | ||||
New xxxxx violations | new_xxxxx_violations | Number of new violations with severity xxxxx, xxxxx being Blocker, Critical, Major, Minor or Info. | ||||
Violations | violations | Number of violations. | ||||
xxxxx violations | xxxxx_violations | Number of violations with severity xxxxx, xxxxx being Blocker, Critical, Major, Minor or Info. | ||||
| weighted_violations | Sum of the violations weighted by the coefficient associated to each severity (Sum(xxxxx_violations * xxxxx_weight)). | ||||
Rules compliance | violations_density | Rules compliance index (RCI) = 100 - (Weighted violations / Lines of code * 100) |
SCM
| Name | Key | Qualitative | Description |
|---|---|---|---|
| Authors by line | authors_by_line | no | The last committer on each line of code. |
Note that this metric is made available by the SCM Activity plugin.
SQALE
| Metric | Key | Description |
|---|---|---|
| Blocker Remediation Cost | blocker_remediation_cost | Remediation cost (in days) to fix all blocker violations. |
| Critical and over Remediation Cost | critical_remediation_cost | Remediation cost (in days) to fix all critical and blocker violations. |
| Effort to grade X | sqale_effort_to_grade_X (X = a or b or c or d) | Effort (in days) to reach grade X. |
| Major and over Remediation Cost | major_remediation_cost | Remediation cost (in days) to fix all major and critical and blocker violations. |
| Minor and over Remediation Cost | minor_remediation_cost | Remediation cost (in days) to fix all minor and major and critical and blocker violations. |
| SQALE Rating | sqale_rating | SQALE rating from A to E. |
| SQALE Remediation Cost | sqale_index | Remediation cost (in days) to fix all violations. |
Note that these metrics are made available by the SQALE plugin.
Size
| Metric | Key | Description | ||||
|---|---|---|---|---|---|---|
| accessors | Number of getter and setter methods used to get (reading) or set (writing) a class property. | ||||
| classes | Number of classes (including nested classes, interfaces, enums and annotations). | ||||
| directories | Number of directories. | ||||
| files | Number of files. | ||||
| Generated Lines | generated_lines | Number of lines generated by Cobol code generators like CA-Telon. | ||||
| Generated lines of code | generated_ncloc | Number of lines of code generated by Cobol code generators like CA-Telon. | ||||
| Inside Control Flow Statements | cobol_inside_ctrlflow_statements | Number of inside (intra program) control flow statements (GOBACK, STOP RUN, DISPLAY, CONTINUE, EXIT, RETURN, PERFORM paragraph1 THRU paragraph2). Cobol only. | ||||
| lines | Number of physical lines (number of carriage returns). | ||||
| ncloc | Number of physical lines that contain at least one character which is neither a whitespace or a tabulation or part of a comment. | ||||
| LOCs in Data Divisions | cobol_data_division_ncloc | Number of lines of code in Data divisions. Generated lines of code are excluded. Cobol only. | ||||
| LOCs in Procedure Divisions | cobol_procedure_division_ncloc | Number of lines of code in Procedure divisions. Generated lines of code are excluded. Cobol only. | ||||
| functions | Number of methods/functions. | ||||
| Outside Control Flow Statements | cobol_outside_ctrlflow_statements | Number of outside (inter programs) control flow statements (CALL, EXEC CICS LINK, EXEC CICS XCTL, EXEC SQL, EXEC CICS RETURN). Cobol only. | ||||
| packages | Number of packages. | ||||
| projects | Number of projects in a view. | ||||
| public_api | Number of public Classes + number of public Methods + number of public Properties | ||||
| statements | Number of statements. |
...

