2012-07-23 10:37:44 -04:00
|
|
|
---
|
|
|
|
UncommunicativeParameterName:
|
|
|
|
accept: []
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
|
|
|
LargeClass:
|
2012-07-26 13:25:23 -04:00
|
|
|
max_methods: 10
|
|
|
|
exclude:
|
2012-12-12 16:45:47 -05:00
|
|
|
- "Mutant::Reporter::CLI" # 16 methods TODO Reduce!
|
2013-01-04 16:16:03 -05:00
|
|
|
- "Mutant::Reporter::Stats" # 6 ivars TODO Reduce!
|
2012-12-29 14:12:48 -05:00
|
|
|
- "Mutant::CLI" # 19 methods and 7 ivars, TODO Reduce!
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2012-07-26 13:25:23 -04:00
|
|
|
max_instance_variables: 3
|
2012-07-23 10:37:44 -04:00
|
|
|
UncommunicativeMethodName:
|
2013-01-04 16:16:03 -05:00
|
|
|
accept:
|
|
|
|
- sha1
|
2012-07-23 10:37:44 -04:00
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^[a-z]$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
|
|
|
LongParameterList:
|
|
|
|
max_params: 2
|
2012-07-26 13:25:23 -04:00
|
|
|
exclude:
|
2013-01-04 16:16:03 -05:00
|
|
|
- "Mutant::Mutator::Node#new_send_with_arguments" # 3 params
|
2012-07-26 13:25:23 -04:00
|
|
|
- "Mutant::Context::Constant#initialize" # 3 params
|
2013-01-04 16:16:03 -05:00
|
|
|
- "Mutant::Subject#initialize" # 3 params
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
overrides: {}
|
|
|
|
FeatureEnvy:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
ClassVariable:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
BooleanParameter:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
IrresponsibleModule:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
UncommunicativeModuleName:
|
2012-12-12 16:45:47 -05:00
|
|
|
accept:
|
2013-01-04 16:16:03 -05:00
|
|
|
- Mutant::Mutator::Node::Iter19
|
2012-12-12 16:45:47 -05:00
|
|
|
- Mutant::Strategy::Rspec::DM2
|
2012-07-23 10:37:44 -04:00
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
NestedIterators:
|
|
|
|
ignore_iterators: []
|
2012-12-29 14:12:48 -05:00
|
|
|
exclude:
|
|
|
|
- Mutant#self.define_singleton_subclass
|
2013-01-04 16:16:03 -05:00
|
|
|
- Mutant::Mutator::Util::Array::Element#dispatch
|
|
|
|
- Mutant::Mutator::Node::ReceiverCase#emit_when_branch_mutation
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
max_allowed_nesting: 1
|
|
|
|
LongMethod:
|
|
|
|
max_statements: 6
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
Duplication:
|
|
|
|
allow_calls: []
|
2013-01-04 16:16:03 -05:00
|
|
|
exclude:
|
|
|
|
- Mutant::Mutator::Node::Literal::Hash#emit_element_presence
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
max_calls: 1
|
|
|
|
UtilityFunction:
|
|
|
|
max_helper_calls: 0
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
Attribute:
|
|
|
|
exclude: []
|
|
|
|
enabled: false
|
|
|
|
UncommunicativeVariableName:
|
|
|
|
accept: []
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
|
|
|
SimulatedPolymorphism:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
max_ifs: 1
|
|
|
|
DataClump:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
max_copies: 2
|
|
|
|
min_clump_size: 2
|
|
|
|
ControlCouple:
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|
|
|
|
LongYieldList:
|
|
|
|
max_params: 1
|
|
|
|
exclude: []
|
|
|
|
enabled: true
|