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:
|
2014-12-22 05:26:05 -05:00
|
|
|
enabled: false
|
2015-05-31 16:44:09 -04:00
|
|
|
# Buggy smell detector
|
2012-07-23 10:37:44 -04:00
|
|
|
IrresponsibleModule:
|
2015-05-31 16:44:09 -04:00
|
|
|
enabled: false
|
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:
|
2015-05-31 16:44:09 -04:00
|
|
|
- Mutant::Matcher::Method::Instance#self.build
|
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
|
2014-10-24 17:42:46 -04:00
|
|
|
- Mutant::Isolation::Fork#self.call
|
2014-06-06 19:05:27 -04:00
|
|
|
- Mutant::Mutator::Node::Arguments#emit_argument_mutations
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Mutator::Node::Resbody#mutate_captures
|
|
|
|
- Mutant::Mutator::Util::Array::Element#dispatch
|
|
|
|
- Mutant::Parallel::Master#run
|
2015-06-06 18:29:47 -04:00
|
|
|
- Mutant::RequireHighjack#self.call
|
2014-12-22 10:42:21 -05:00
|
|
|
- Mutant::Selector::Expression#call
|
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-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-24 17:18:44 -04:00
|
|
|
- Mutant::Mutator # 4 vars
|
2014-12-08 19:10:31 -05:00
|
|
|
- Mutant::Parallel::Master # 4 vars
|
2013-04-17 22:41:11 -04:00
|
|
|
max_instance_variables: 3
|
|
|
|
TooManyMethods:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
|
|
|
- Mutant::CLI
|
2014-06-09 10:59:52 -04:00
|
|
|
- Mutant::Meta::Example::Verification
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Mutator::Node
|
2014-12-08 19:10:31 -05:00
|
|
|
- Mutant::Parallel::Master
|
2013-04-17 22:41:11 -04:00
|
|
|
max_methods: 10
|
|
|
|
TooManyStatements:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::CLI#add_debug_options
|
|
|
|
- Mutant::CLI#add_environment_options
|
2014-10-24 17:54:41 -04:00
|
|
|
- Mutant::Isolation::Fork#self.call
|
2014-07-17 11:43:25 -04:00
|
|
|
- Mutant::Reporter::CLI::Printer::Config#run
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Reporter::CLI::Printer::EnvProgress#run
|
2014-12-12 16:27:10 -05:00
|
|
|
- Mutant::Runner#run_driver
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Zombifier::File#self.find
|
2014-06-15 11:54:26 -04:00
|
|
|
max_statements: 7
|
2013-04-17 22:41:11 -04:00
|
|
|
UncommunicativeMethodName:
|
|
|
|
enabled: true
|
|
|
|
exclude:
|
2014-06-29 17:25:17 -04:00
|
|
|
- Mutant::AST::Sexp#s
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Mutation#sha1
|
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
|
2014-11-27 11:34:08 -05: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:
|
2014-07-03 17:16:12 -04:00
|
|
|
- Mutant::AST::Sexp#s
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Actor::Env#new_mailbox
|
2013-04-20 20:48:58 -04:00
|
|
|
- Mutant::CLI#reporter
|
2015-01-24 18:12:15 -05:00
|
|
|
- Mutant::Integration::Null#call
|
2014-11-27 11:34:08 -05:00
|
|
|
- Mutant::Integration::Rspec#parse_example
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Integration::Rspec#parse_expression # intentional, private
|
2014-12-08 13:13:49 -05:00
|
|
|
- Mutant::Meta::Example::Verification#format_mutation
|
2014-08-10 19:28:41 -04:00
|
|
|
- Mutant::Reporter::CLI::Format::Progressive#new_buffer
|
2014-12-08 13:13:49 -05:00
|
|
|
- Mutant::Reporter::CLI::Printer::StatusProgressive#object # False positive calls super
|
2015-07-28 16:18:19 -04:00
|
|
|
- Mutant::Repository::Diff#tracks? # intentional, private
|
|
|
|
- Mutant::Repository::Diff#within_working_directory? # intentional, private
|
2013-04-17 22:41:11 -04:00
|
|
|
max_helper_calls: 0
|