Skip to content

Commit 4f0b99b

Browse files
committed
Fixed: Disable the unused CrapMetric rule.
The incomplete definition of this rule was causing warning messages during CodeNarc execution: "The Cobertura XML file [null] is not accessible; skipping this rule"
1 parent 5d98de3 commit 4f0b99b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/codenarc/codenarc.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ ruleset {
368368
// rulesets/size.xml
369369
// TODO : need refactoring AbcMetric // Requires the GMetrics jar
370370
ClassSize
371-
CrapMetric // Requires the GMetrics jar and a Cobertura coverage file
371+
// CrapMetric // Requires the GMetrics jar and a Cobertura coverage file
372372
// TODO : need refactoring CyclomaticComplexity // Requires the GMetrics jar
373373
MethodCount
374374
// TODO : need refactoring MethodSize

0 commit comments

Comments
 (0)