2012-07-23 10:37:44 -04:00
|
|
|
---
|
2013-04-17 22:41:11 -04:00
|
|
|
Attribute:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 23:31:21 -04:00
|
|
|
exclude:
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::CLI::Classifier
|
|
|
|
- Mutant::Context
|
|
|
|
- Mutant::Context::Scope
|
|
|
|
- Mutant::Killer
|
|
|
|
- Mutant::Killer::Forking
|
|
|
|
- Mutant::Matcher::Chain
|
|
|
|
- Mutant::Matcher::Method
|
|
|
|
- Mutant::Matcher::Methods
|
|
|
|
- Mutant::Matcher::Namespace
|
|
|
|
- Mutant::Mutation
|
|
|
|
- Mutant::Mutation::Filter::Code
|
|
|
|
- Mutant::Mutation::Filter::Whitelist
|
|
|
|
- Mutant::Mutator
|
|
|
|
- Mutant::Reporter
|
|
|
|
- Mutant::Reporter::CLI
|
|
|
|
- Mutant::Reporter::Stats
|
|
|
|
- Mutant::Reporter::Stats::Counter
|
|
|
|
- Mutant::Runner
|
|
|
|
- Mutant::Runner::Config
|
|
|
|
- Mutant::Runner::Mutation
|
|
|
|
- Mutant::Runner::Subject
|
|
|
|
- Mutant::Strategy
|
|
|
|
- Mutant::Strategy::Rspec::DM2::Lookup
|
|
|
|
- Mutant::Subject
|
|
|
|
BooleanParameter:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
ClassVariable:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
ControlParameter:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
DataClump:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
max_copies: 2
|
|
|
|
min_clump_size: 2
|
|
|
|
DuplicateMethodCall:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::Runner#initializ # Time.new
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::CLI::Classifier::Method#method
|
|
|
|
- Mutant::Killer#run_with_benchmark
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::DefaultMutations#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
|
|
|
- Mutant::Mutator::Node::Literal::Hash#emit_element_presence
|
|
|
|
- Mutant::Mutator::Node::Send::WithArguments#emit_argument_mutations
|
|
|
|
- Mutant::Reporter::CLI#colorized_diff
|
|
|
|
- Mutant::Reporter::CLI#report_killer
|
|
|
|
- Mutant::Runner::Config#run
|
|
|
|
max_calls: 1
|
|
|
|
allow_calls: []
|
|
|
|
FeatureEnvy:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Matcher::Method::Instance#match?
|
|
|
|
- Mutant::Matcher::Namespace#emit_scope_matches
|
|
|
|
- Mutant::Mutation::Evil#success?
|
|
|
|
- Mutant::Mutation::Neutral#success?
|
|
|
|
- Mutant::Mutator::Node::DefaultArguments#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19#emit_required_mutations
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::DefaultMutations#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
|
|
|
- Mutant::Mutator::Node::PatternArguments#allow?
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::Reporter::CLI#subject_results
|
2013-04-27 12:25:22 -04:00
|
|
|
- Mutant::Matcher::Methods#candidate_names
|
2012-07-23 10:37:44 -04:00
|
|
|
IrresponsibleModule:
|
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Matcher::Methods::Instance
|
|
|
|
- Mutant::Mutator::Node::Define
|
|
|
|
- Mutant::Mutator::Node::DefineSingleton
|
|
|
|
- Mutant::Strategy::Rspec::DM2::Lookup::Method
|
|
|
|
- Mutant::Strategy::Rspec::DM2::Lookup::Method::Instance
|
|
|
|
- Mutant::Strategy::Rspec::DM2::Lookup::Method::Singleton
|
|
|
|
LongParameterList:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Mutator::Node#new_send_with_arguments
|
|
|
|
max_params: 2
|
|
|
|
overrides:
|
|
|
|
initialize:
|
|
|
|
max_params: 3
|
|
|
|
LongYieldList:
|
|
|
|
enabled: true
|
|
|
|
exclude: []
|
|
|
|
max_params: 2
|
2012-07-23 10:37:44 -04:00
|
|
|
NestedIterators:
|
2013-04-17 22:41:11 -04:00
|
|
|
enabled: true
|
2013-04-17 23:31:21 -04:00
|
|
|
exclude:
|
2012-12-29 14:12:48 -05:00
|
|
|
- Mutant#self.define_singleton_subclass
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Mutator::Node::FormalArguments19::PatternArgumentExpansion#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
|
|
|
- Mutant::Mutator::Node::ReceiverCase#emit_when_branch_mutations
|
2013-01-04 16:16:03 -05:00
|
|
|
- Mutant::Mutator::Util::Array::Element#dispatch
|
2012-07-23 10:37:44 -04:00
|
|
|
max_allowed_nesting: 1
|
2013-04-17 22:41:11 -04:00
|
|
|
ignore_iterators: []
|
|
|
|
NilCheck:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 23:31:21 -04:00
|
|
|
exclude:
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Matcher::Method#skip?
|
|
|
|
RepeatedConditional:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Reporter::CLI
|
|
|
|
max_ifs: 1
|
|
|
|
TooManyInstanceVariables:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::CLI
|
|
|
|
- Mutant::Killer
|
|
|
|
max_instance_variables: 3
|
|
|
|
TooManyMethods:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant::CLI
|
|
|
|
- Mutant::Matcher::Method
|
|
|
|
- Mutant::Reporter::CLI
|
|
|
|
max_methods: 10
|
|
|
|
TooManyStatements:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant#self.define_singleton_subclass
|
|
|
|
- Mutant::CLI#self.run
|
|
|
|
- Mutant::Differ#diff
|
|
|
|
- Mutant::Killer::Forked#run
|
|
|
|
- Mutant::Mutator::Node#emit_attribute_mutations
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::DefaultMutations#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::PatternArgumentExpansion#dispatch
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
|
|
|
- Mutant::Mutator::Node::If#dispatch
|
|
|
|
- Mutant::Reporter::CLI#colorized_diff
|
|
|
|
- Mutant::Reporter::CLI#report_killer
|
|
|
|
- Mutant::Reporter::CLI#start
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::Reporter::CLI#config_results
|
|
|
|
- Mutant::Reporter::CLI#subject_results
|
2013-04-17 22:41:11 -04:00
|
|
|
- each
|
|
|
|
max_statements: 5
|
|
|
|
UncommunicativeMethodName:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant::Mutation#sha1
|
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^[a-z]$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
2012-07-23 10:37:44 -04:00
|
|
|
accept: []
|
2013-04-17 22:41:11 -04:00
|
|
|
UncommunicativeModuleName:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Mutator::Node::FormalArguments19
|
|
|
|
- Mutant::Mutator::Node::Iter19
|
|
|
|
- Mutant::Strategy::Rspec::DM2
|
2012-07-23 10:37:44 -04:00
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
2013-04-17 22:41:11 -04:00
|
|
|
accept: []
|
|
|
|
UncommunicativeParameterName:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
|
|
|
accept: []
|
|
|
|
UncommunicativeVariableName:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
reject:
|
|
|
|
- !ruby/regexp /^.$/
|
|
|
|
- !ruby/regexp /[0-9]$/
|
|
|
|
- !ruby/regexp /[A-Z]/
|
|
|
|
accept: []
|
|
|
|
UnusedParameters:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Mutation::Filter#match?
|
|
|
|
- Mutant::Mutation::Filter#self.handle
|
|
|
|
- Mutant::Mutator#allow?
|
|
|
|
- Mutant::Strategy::Rspec::Full#spec_files
|
|
|
|
- Mutant::Strategy::Rspec::Integration#spec_files
|
|
|
|
- Mutant::Strategy::Rspec::Unit#spec_files
|
|
|
|
UtilityFunction:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::CLI#reporter
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Matcher::Namespace#emit_scope_matches
|
|
|
|
- Mutant::Mutation::Evil#success?
|
|
|
|
- Mutant::Mutation::Neutral#success?
|
|
|
|
- Mutant::Mutator::Node::PatternArguments#allow?
|
|
|
|
- Mutant::Strategy::Rspec::DM2#spec_files
|
|
|
|
- Mutant::Strategy::Rspec::Full#spec_files
|
|
|
|
- Mutant::Strategy::Rspec::Integration#spec_files
|
|
|
|
- Mutant::Strategy::Rspec::Unit#spec_files
|
|
|
|
max_helper_calls: 0
|