Merge branch 'pr-669'

This commit is contained in:
Juan Martín Sotuyo Dodero
2017-11-04 19:40:14 -03:00
80 changed files with 1785 additions and 1345 deletions

View File

@ -43,8 +43,10 @@ public class CyclomaticComplexityRule extends AbstractPLSQLRule {
private static final Logger LOGGER = Logger.getLogger(CyclomaticComplexityRule.class.getName());
private static final String CLASS_NAME = CyclomaticComplexityRule.class.getName();
public static final IntegerProperty REPORT_LEVEL_DESCRIPTOR = new IntegerProperty("reportLevel",
"Cyclomatic Complexity reporting threshold", 1, 30, 10, 1.0f);
public static final IntegerProperty REPORT_LEVEL_DESCRIPTOR
= IntegerProperty.named("reportLevel")
.desc("Cyclomatic Complexity reporting threshold")
.range(1, 30).defaultValue(10).uiOrder(1.0f).build();
public static final BooleanProperty SHOW_CLASSES_COMPLEXITY_DESCRIPTOR = new BooleanProperty(
"showClassesComplexity", "Add class average violations to the report", true, 2.0f);