This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
DuplicatedBlocksBySonarCube
Antonin Abherve edited this page Nov 23, 2017
·
1 revision
Number of duplicated blocks of lines.
For a block of code to be considered as duplicated:
Non-Java projects:
There should be at least 100 successive and duplicated tokens.
Those tokens should be spread at least on:
30 lines of code for COBOL
20 lines of code for ABAP
10 lines of code for other languages
Java projects:
There should be at least 10 successive and duplicated statements whatever the number of tokens and lines.
Differences in indentation as well as in string literals are ignored while detecting duplications.
Value | Type | Default | Description |
---|---|---|---|
ServerURL | string | ||
Login | STRING | ||
Password | PASSWORD | ||
ProjectKey | string |
Value | Type | Description |
---|---|---|
value | double |
This metric is a proxy for the SonarCube 4.5 tool