3e1f9c408f
* Mutator and Generator where merged. * A single pass over all duplications was made. * It is clear a specific handles?(node) code for finding mutators is needed. Like virtus does for attributes, should also cache. * Does not pass on 1.9 mode currently as blocks are unexpectly parsed differend when it comes to a series of literal booleans.
26 lines
768 B
YAML
26 lines
768 B
YAML
---
|
|
AbcMetricMethodCheck:
|
|
score: 12.2
|
|
AssignmentInConditionalCheck: {}
|
|
CaseMissingElseCheck: {}
|
|
ClassLineCountCheck:
|
|
line_count: 324
|
|
ClassNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/
|
|
ClassVariableCheck: {}
|
|
CyclomaticComplexityBlockCheck:
|
|
complexity: 2
|
|
CyclomaticComplexityMethodCheck:
|
|
complexity: 4
|
|
EmptyRescueBodyCheck: {}
|
|
ForLoopCheck: {}
|
|
MethodLineCountCheck:
|
|
line_count: 9
|
|
MethodNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[a-z\d](?:_?[a-z\d])+[?!=]?|\[\]=?|==|<=>|<<|[+*&|-])\z/
|
|
ModuleLineCountCheck:
|
|
line_count: 327
|
|
ModuleNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/
|
|
ParameterNumberCheck:
|
|
parameter_count: 3
|