|
1 | 1 | spec/snaky_hash/snake_spec.rb -- 1 warning:
|
2 | 2 | [4]:IrresponsibleModule: TheSnakedHash has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md]
|
3 |
| -lib/snaky_hash/snake.rb -- 12 warnings: |
4 |
| - [31, 33]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'define_method(:convert_key)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
5 |
| - [31, 33]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'key.respond_to?(:to_sym)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
6 |
| - [31, 33]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'key.to_s' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
7 |
| - [43, 47]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'self.class' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
8 |
| - [31, 33]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'underscore_string(key.to_s)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
9 |
| - [44, 46]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#self.to_mod calls 'val.dup' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 3 | +lib/snaky_hash/extensions.rb -- 2 warnings: |
| 4 | + [4]:InstanceVariableAssumption: SnakyHash::Extensions assumes too much for instance variable '@extensions' [https://github.com/troessner/reek/blob/v6.5.0/docs/Instance-Variable-Assumption.md] |
| 5 | + [4]:IrresponsibleModule: SnakyHash::Extensions has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 6 | +lib/snaky_hash/serializer.rb -- 11 warnings: |
| 7 | + [7]:IrresponsibleModule: SnakyHash::Serializer has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 8 | + [52]:IrresponsibleModule: SnakyHash::Serializer::BackportedInstanceMethods has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 9 | + [32]:IrresponsibleModule: SnakyHash::Serializer::Modulizer has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 10 | + [72]:NilCheck: SnakyHash::Serializer#blank? performs a nil-check [https://github.com/troessner/reek/blob/v6.5.0/docs/Nil-Check.md] |
| 11 | + [115]:TooManyStatements: SnakyHash::Serializer#load_value has approx 6 statements [https://github.com/troessner/reek/blob/v6.5.0/docs/Too-Many-Statements.md] |
| 12 | + [57]:TooManyStatements: SnakyHash::Serializer::BackportedInstanceMethods#transform_values has approx 7 statements [https://github.com/troessner/reek/blob/v6.5.0/docs/Too-Many-Statements.md] |
| 13 | + [34]:TooManyStatements: SnakyHash::Serializer::Modulizer#to_extended_mod has approx 7 statements [https://github.com/troessner/reek/blob/v6.5.0/docs/Too-Many-Statements.md] |
| 14 | + [88]:UncommunicativeVariableName: SnakyHash::Serializer#dump_hash has the variable name 'v' [https://github.com/troessner/reek/blob/v6.5.0/docs/Uncommunicative-Variable-Name.md] |
| 15 | + [101]:UncommunicativeVariableName: SnakyHash::Serializer#dump_value has the variable name 'v' [https://github.com/troessner/reek/blob/v6.5.0/docs/Uncommunicative-Variable-Name.md] |
| 16 | + [128]:UncommunicativeVariableName: SnakyHash::Serializer#load_value has the variable name 'v' [https://github.com/troessner/reek/blob/v6.5.0/docs/Uncommunicative-Variable-Name.md] |
| 17 | + [71]:UtilityFunction: SnakyHash::Serializer#blank? doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v6.5.0/docs/Utility-Function.md] |
| 18 | +lib/snaky_hash/snake.rb -- 13 warnings: |
| 19 | + [8]:BooleanParameter: SnakyHash::Snake#initialize has boolean parameter 'serializer' [https://github.com/troessner/reek/blob/v6.5.0/docs/Boolean-Parameter.md] |
| 20 | + [36, 38]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'define_method(:convert_key)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 21 | + [36, 38]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'key.respond_to?(:to_sym)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 22 | + [36, 38]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'key.to_s' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 23 | + [48, 52]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'self.class' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 24 | + [36, 38]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'underscore_string(key.to_s)' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
| 25 | + [49, 51]:DuplicateMethodCall: SnakyHash::Snake::SnakyModulizer#to_mod calls 'val.dup' 2 times [https://github.com/troessner/reek/blob/v6.5.0/docs/Duplicate-Method-Call.md] |
10 | 26 | [7]:IrresponsibleModule: SnakyHash::Snake has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md]
|
11 |
| - [18]:IrresponsibleModule: SnakyHash::Snake::SnakyModulizer has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
12 |
| - [31, 33]:ManualDispatch: SnakyHash::Snake::SnakyModulizer#self.to_mod manually dispatches method call [https://github.com/troessner/reek/blob/v6.5.0/docs/Manual-Dispatch.md] |
13 |
| - [49]:NestedIterators: SnakyHash::Snake::SnakyModulizer#self.to_mod contains iterators nested 2 deep [https://github.com/troessner/reek/blob/v6.5.0/docs/Nested-Iterators.md] |
14 |
| - [19]:TooManyStatements: SnakyHash::Snake::SnakyModulizer#self.to_mod has approx 17 statements [https://github.com/troessner/reek/blob/v6.5.0/docs/Too-Many-Statements.md] |
15 |
| - [49]:UncommunicativeVariableName: SnakyHash::Snake::SnakyModulizer#self.to_mod has the variable name 'e' [https://github.com/troessner/reek/blob/v6.5.0/docs/Uncommunicative-Variable-Name.md] |
16 |
| -lib/snaky_hash/string_keyed.rb -- 1 warning: |
17 |
| - [2]:IrresponsibleModule: SnakyHash::StringKeyed has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
18 |
| -lib/snaky_hash/symbol_keyed.rb -- 1 warning: |
19 |
| - [2]:IrresponsibleModule: SnakyHash::SymbolKeyed has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 27 | + [22]:IrresponsibleModule: SnakyHash::Snake::SnakyModulizer has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
| 28 | + [36, 38]:ManualDispatch: SnakyHash::Snake::SnakyModulizer#to_mod manually dispatches method call [https://github.com/troessner/reek/blob/v6.5.0/docs/Manual-Dispatch.md] |
| 29 | + [54]:NestedIterators: SnakyHash::Snake::SnakyModulizer#to_mod contains iterators nested 2 deep [https://github.com/troessner/reek/blob/v6.5.0/docs/Nested-Iterators.md] |
| 30 | + [24]:TooManyStatements: SnakyHash::Snake::SnakyModulizer#to_mod has approx 17 statements [https://github.com/troessner/reek/blob/v6.5.0/docs/Too-Many-Statements.md] |
| 31 | + [54]:UncommunicativeVariableName: SnakyHash::Snake::SnakyModulizer#to_mod has the variable name 'e' [https://github.com/troessner/reek/blob/v6.5.0/docs/Uncommunicative-Variable-Name.md] |
| 32 | +lib/snaky_hash.rb -- 1 warning: |
| 33 | + [16]:IrresponsibleModule: SnakyHash::Error has no descriptive comment [https://github.com/troessner/reek/blob/v6.5.0/docs/Irresponsible-Module.md] |
20 | 34 | .yard_gfm_support.rb -- 1 warning:
|
21 | 35 | [9, 9]:FeatureEnvy: KramdownGfmDocument#initialize refers to 'options' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v6.5.0/docs/Feature-Envy.md]
|
22 |
| -16 total warnings |
| 36 | +29 total warnings |
0 commit comments