Merge branch 'pr-669'
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user