2012-07-23 10:37:44 -04:00
|
|
|
---
|
2013-04-17 22:41:11 -04:00
|
|
|
Attribute:
|
2013-06-15 11:16:57 -04:00
|
|
|
enabled: false
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
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
|
2014-06-02 08:57:14 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Expression#match_length
|
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:
|
2013-06-15 11:16:57 -04:00
|
|
|
enabled: false
|
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
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:
|
2013-07-28 15:20:01 -04:00
|
|
|
- Mutant::Matcher::Method::Instance#match?
|
|
|
|
- Mutant::Matcher::Method::Singleton#receiver?
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Mutation::Evil#success?
|
|
|
|
- Mutant::Mutation::Neutral#success?
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::Reporter::CLI#subject_results
|
2014-01-17 16:59:22 -05:00
|
|
|
- Mutant::Rspec::Strategy#options
|
2014-01-18 18:35:56 -05:00
|
|
|
# Nature of OptionParser :(
|
|
|
|
- Mutant::CLI#add_environmental_options
|
|
|
|
- Mutant::CLI#parse
|
2014-06-02 08:57:14 -04:00
|
|
|
# False positive, its a utility
|
|
|
|
- Mutant::Meta::Example::Verification#format_mutation
|
2012-07-23 10:37:44 -04:00
|
|
|
IrresponsibleModule:
|
|
|
|
enabled: true
|
2013-06-15 11:16:57 -04:00
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
LongParameterList:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-07-04 18:54:50 -04:00
|
|
|
exclude:
|
|
|
|
- Mutant::Matcher::Method::Instance#self.build?
|
2014-05-22 23:15:36 -04:00
|
|
|
- Mutant::Runner#self.run
|
2013-04-17 22:41:11 -04:00
|
|
|
max_params: 2
|
|
|
|
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:
|
2013-05-15 04:36:35 -04:00
|
|
|
- Mutant#self.singleton_subclass_instance
|
2013-07-28 15:20:01 -04:00
|
|
|
- Mutant::CLI#parse
|
2013-01-04 16:16:03 -05:00
|
|
|
- Mutant::Mutator::Util::Array::Element#dispatch
|
2014-05-23 14:55:54 -04:00
|
|
|
- Mutant::Mutator::Node::Resbody#mutate_captures
|
2014-06-06 19:05:27 -04:00
|
|
|
- Mutant::Mutator::Node::Arguments#emit_argument_mutations
|
2014-05-22 21:09:57 -04:00
|
|
|
- Mutant::Reporter::CLI::Report::Config#generic_stats
|
2014-04-04 10:18:45 -04:00
|
|
|
- Mutant::RequireHighjack#infect
|
|
|
|
- Mutant::RequireHighjack#desinfect
|
2014-05-22 21:09:57 -04:00
|
|
|
- Mutant::Reporter::CLI::Registry#included
|
2014-04-28 15:17:25 -04:00
|
|
|
- Mutant::Strategy#tests
|
2014-04-22 13:55:58 -04:00
|
|
|
- Parser::Lexer#self.new
|
2012-07-23 10:37:44 -04:00
|
|
|
max_allowed_nesting: 1
|
2013-04-17 22:41:11 -04:00
|
|
|
ignore_iterators: []
|
|
|
|
NilCheck:
|
2013-06-28 19:07:58 -04:00
|
|
|
enabled: false
|
2013-04-17 22:41:11 -04:00
|
|
|
RepeatedConditional:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
2013-06-15 11:16:57 -04:00
|
|
|
- Mutant::Mutator
|
2014-04-28 15:17:25 -04:00
|
|
|
- Mutant::Rspec::Strategy
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Reporter::CLI
|
2014-06-02 08:57:14 -04:00
|
|
|
- Mutant::Meta::Example::DSL
|
2013-04-17 22:41:11 -04:00
|
|
|
max_ifs: 1
|
|
|
|
TooManyInstanceVariables:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-04-17 22:41:11 -04:00
|
|
|
exclude:
|
2013-06-15 11:16:57 -04:00
|
|
|
- Mutant::CLI # 4 vars
|
|
|
|
- Mutant::Killer # 4 vars
|
2013-06-24 17:18:44 -04:00
|
|
|
- Mutant::Mutator # 4 vars
|
2013-07-15 05:43:10 -04:00
|
|
|
- Mutant::Runner # 4 vars
|
2013-04-17 22:41:11 -04:00
|
|
|
max_instance_variables: 3
|
|
|
|
TooManyMethods:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant::CLI
|
2013-09-09 01:37:44 -04:00
|
|
|
- Mutant::Mutator::Node
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Reporter::CLI
|
2014-06-09 10:59:52 -04:00
|
|
|
- Mutant::Meta::Example::Verification
|
2013-04-17 22:41:11 -04:00
|
|
|
max_methods: 10
|
|
|
|
TooManyStatements:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
2013-07-28 15:20:01 -04:00
|
|
|
- Mutant#self.singleton_subclass_instance
|
2014-06-08 19:28:19 -04:00
|
|
|
- Mutant::Isolation#self.call
|
2014-01-17 16:59:22 -05:00
|
|
|
- Mutant::Rspec::Killer#run
|
2013-04-17 22:41:11 -04:00
|
|
|
- Mutant::Reporter::CLI#colorized_diff
|
2014-05-22 21:09:57 -04:00
|
|
|
- Mutant::Reporter::CLI::Report::Config#run
|
2014-05-11 14:46:20 -04:00
|
|
|
- Mutant::Runner#visit_collection
|
2014-05-30 20:10:02 -04:00
|
|
|
- Mutant::Runner#initialize
|
|
|
|
- Mutant::Runner::Mutation#run
|
2014-04-04 10:18:45 -04:00
|
|
|
- Mutant::Zombifier::File#self.find
|
|
|
|
- Mutant::RequireHighjack#infect
|
2014-05-22 21:09:57 -04:00
|
|
|
- Mutant::Reporter::CLI::Registry#included
|
2014-05-22 23:15:36 -04:00
|
|
|
- Mutant::Rspec::Strategy#new_reporter
|
|
|
|
- Mutant::Rspec::Strategy#run
|
2014-01-18 18:35:56 -05:00
|
|
|
# How mutant does CLI parsing is shit
|
|
|
|
- Mutant::CLI#parse
|
|
|
|
- Mutant::CLI#initialize
|
2014-03-26 17:20:52 -04:00
|
|
|
- Mutant::CLI#add_debug_options
|
2013-06-15 11:16:57 -04:00
|
|
|
max_statements: 6
|
2013-04-17 22:41:11 -04:00
|
|
|
UncommunicativeMethodName:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant::Mutation#sha1
|
2013-06-15 11:16:57 -04:00
|
|
|
- Mutant::NodeHelpers#s
|
2013-04-17 22:41:11 -04:00
|
|
|
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-07-17 13:48:18 -04:00
|
|
|
exclude: []
|
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]/
|
2014-04-22 13:55:58 -04:00
|
|
|
accept: ['force_utf32']
|
2013-04-17 22:41:11 -04:00
|
|
|
UnusedParameters:
|
2012-07-23 10:37:44 -04:00
|
|
|
enabled: true
|
2013-06-15 11:16:57 -04:00
|
|
|
exclude: []
|
2013-04-17 22:41:11 -04:00
|
|
|
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::Mutation::Evil#success?
|
|
|
|
- Mutant::Mutation::Neutral#success?
|
2013-07-28 15:20:01 -04:00
|
|
|
- Mutant::NodeHelpers#s
|
2014-01-17 16:59:22 -05:00
|
|
|
- Mutant::Rspec::Strategy#configuration
|
2014-05-22 23:15:36 -04:00
|
|
|
- Mutant::Rspec::Strategy#example_groups
|
2014-01-17 16:59:22 -05:00
|
|
|
- Mutant::Rspec::Strategy#options
|
|
|
|
- Mutant::Rspec::Strategy#world
|
2014-03-05 14:14:52 -05:00
|
|
|
- Mutant::Rspec::Strategy#rspec2
|
2014-06-02 08:57:14 -04:00
|
|
|
- Mutant::Meta::Example::Verification#format_mutation
|
2013-04-17 22:41:11 -04:00
|
|
|
max_helper_calls: 0
|