free_mutant/config/reek.yml

169 lines
4.2 KiB
YAML
Raw Normal View History

---
Attribute:
enabled: false
exclude: []
BooleanParameter:
enabled: true
exclude: []
ClassVariable:
enabled: true
exclude: []
ControlParameter:
enabled: true
exclude:
- Mutant::Expression#match_length
2014-07-17 09:59:25 -04:00
- Mutant::Reporter::CLI::Printer::SubjectProgress#print_mutation_result
DataClump:
enabled: true
exclude: []
max_copies: 2
min_clump_size: 2
DuplicateMethodCall:
enabled: false
exclude: []
max_calls: 1
allow_calls: []
FeatureEnvy:
enabled: true
exclude:
# Nature of OptionParser :(
- Mutant::CLI#add_environment_options
- Mutant::Env#scope_name
- Mutant::Integration::Rspec#run
2014-07-12 17:49:12 -04:00
- Mutant::Integration::Rspec::Rspec2#full_description
- Mutant::Integration::Rspec::Rspec3#full_description
2013-07-28 15:20:01 -04:00
- Mutant::Matcher::Method::Instance#match?
- Mutant::Matcher::Method::Singleton#receiver?
- Mutant::Mutation::Evil#success?
- Mutant::Mutation::Neutral#success?
# False positive, its a utility
- Mutant::Meta::Example::Verification#format_mutation
- Mutant::Reporter::CLI#subject_results
- Mutant::Runner#run_mutation_test
2014-07-17 09:59:25 -04:00
- Mutant::Runner#kill_mutation
- Mutant::Runner#finish
IrresponsibleModule:
enabled: true
exclude: []
LongParameterList:
enabled: true
exclude:
- Mutant::Matcher::Method::Instance#self.build?
2014-07-17 09:59:25 -04:00
- Mutant::Runner#finish # API client of parallel, one gets _ignored.
- Mutant::Runner#self.run
max_params: 2
LongYieldList:
enabled: true
exclude: []
max_params: 2
NestedIterators:
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
- Mutant::Integration::Rspec#run
- Mutant::Mutator::Util::Array::Element#dispatch
- Mutant::Mutator::Node::Resbody#mutate_captures
- Mutant::Mutator::Node::Arguments#emit_argument_mutations
2014-04-04 10:18:45 -04:00
- Mutant::RequireHighjack#infect
- Mutant::RequireHighjack#desinfect
- Mutant::Subject#tests
2014-04-22 13:55:58 -04:00
- Parser::Lexer#self.new
max_allowed_nesting: 1
ignore_iterators: []
NilCheck:
enabled: false
RepeatedConditional:
enabled: true
exclude:
- Mutant::Mutator
- Mutant::Reporter::CLI
- Mutant::Meta::Example::DSL
max_ifs: 1
TooManyInstanceVariables:
enabled: true
exclude:
2013-06-24 17:18:44 -04:00
- Mutant::Mutator # 4 vars
2014-07-17 09:59:25 -04:00
- Mutant::Runner # 4 vars
max_instance_variables: 3
TooManyMethods:
enabled: true
exclude:
- Mutant::CLI
- Mutant::Subject
2013-09-09 01:37:44 -04:00
- Mutant::Mutator::Node
- Mutant::Reporter::CLI
2014-06-09 10:59:52 -04:00
- Mutant::Meta::Example::Verification
max_methods: 10
TooManyStatements:
enabled: true
exclude:
2013-07-28 15:20:01 -04:00
- Mutant#self.singleton_subclass_instance
- Mutant::Integration::Rspec#run
2014-06-28 19:09:59 -04:00
- Mutant::Reporter::CLI#colorized_diff
2014-07-17 09:59:25 -04:00
- Mutant::Reporter::CLI::Printer::EnvProgress#run
2014-07-17 11:43:25 -04:00
- Mutant::Reporter::CLI::Printer::Config#run
2014-06-28 19:09:59 -04:00
- Mutant::RequireHighjack#infect
- Mutant::Rspec::Killer#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
2014-03-26 17:20:52 -04:00
- Mutant::CLI#add_debug_options
- Mutant::CLI#add_environment_options
2014-06-15 11:54:26 -04:00
max_statements: 7
UncommunicativeMethodName:
enabled: true
exclude:
- Mutant::Mutation#sha1
- Mutant::AST::Sexp#s
reject:
- !ruby/regexp /^[a-z]$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
accept: []
UncommunicativeModuleName:
enabled: true
exclude:
- Rspec2
- Rspec3
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
accept: []
UncommunicativeParameterName:
enabled: true
exclude: []
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
accept: []
UncommunicativeVariableName:
enabled: true
exclude: []
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
2014-04-22 13:55:58 -04:00
accept: ['force_utf32']
UnusedParameters:
enabled: true
exclude: []
UtilityFunction:
enabled: true
exclude:
- Mutant::AST::Sexp#s
2013-04-20 20:48:58 -04:00
- Mutant::CLI#reporter
2014-06-28 19:09:59 -04:00
- Mutant::Integration::Rspec#configuration
- Mutant::Integration::Rspec#options
2014-07-12 17:49:12 -04:00
- Mutant::Integration::Rspec::Rspec2#full_description
- Mutant::Integration::Rspec::Rspec2#new_reporter
- Mutant::Integration::Rspec::Rspec3#full_description
2014-06-28 19:09:59 -04:00
- Mutant::Meta::Example::Verification#format_mutation
- Mutant::Mutation::Evil#success?
- Mutant::Mutation::Neutral#success?
2014-08-10 19:28:41 -04:00
- Mutant::Reporter::CLI::Format::Progressive#new_buffer
- Mutant::Runner#run_mutation_test
max_helper_calls: 0