mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
110 lines
1.8 KiB
Text
110 lines
1.8 KiB
Text
|
---
|
||
|
Attribute:
|
||
|
enabled: false
|
||
|
exclude: []
|
||
|
BooleanParameter:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
ClassVariable:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
ControlParameter:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
DataClump:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_copies: 2
|
||
|
min_clump_size: 2
|
||
|
DuplicateMethodCall:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_calls: 1
|
||
|
allow_calls: []
|
||
|
FeatureEnvy:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
IrresponsibleModule:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
LongParameterList:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_params: 3
|
||
|
overrides:
|
||
|
initialize:
|
||
|
max_params: 5
|
||
|
LongYieldList:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_params: 3
|
||
|
NestedIterators:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_allowed_nesting: 1
|
||
|
ignore_iterators: []
|
||
|
NilCheck:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
PrimaDonnaMethod:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
RepeatedConditional:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_ifs: 2
|
||
|
TooManyInstanceVariables:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_instance_variables: 9
|
||
|
TooManyMethods:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_methods: 25
|
||
|
TooManyStatements:
|
||
|
enabled: true
|
||
|
exclude:
|
||
|
- initialize
|
||
|
max_statements: 7
|
||
|
UncommunicativeMethodName:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
reject:
|
||
|
- !ruby/regexp /^[a-z]$/
|
||
|
- !ruby/regexp /[0-9]$/
|
||
|
- !ruby/regexp /[A-Z]/
|
||
|
accept: []
|
||
|
UncommunicativeModuleName:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
reject:
|
||
|
- !ruby/regexp /^.$/
|
||
|
- !ruby/regexp /[0-9]$/
|
||
|
accept:
|
||
|
- Inline::C
|
||
|
UncommunicativeParameterName:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
reject:
|
||
|
- !ruby/regexp /^.$/
|
||
|
- !ruby/regexp /[0-9]$/
|
||
|
- !ruby/regexp /[A-Z]/
|
||
|
- !ruby/regexp /^_/
|
||
|
accept: []
|
||
|
UncommunicativeVariableName:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
reject:
|
||
|
- !ruby/regexp /^.$/
|
||
|
- !ruby/regexp /[0-9]$/
|
||
|
- !ruby/regexp /[A-Z]/
|
||
|
accept:
|
||
|
- _
|
||
|
UnusedParameters:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
UtilityFunction:
|
||
|
enabled: true
|
||
|
exclude: []
|
||
|
max_helper_calls: 1
|