forked from troessner/transitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.todo.reek
85 lines (85 loc) · 2.5 KB
/
.todo.reek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
DuplicateMethodCall:
exclude:
- ActiveModel::Transitions#read_state
- ActiveModel::Transitions#reload
- ActiveModel::Transitions#set_initial_state
- ActiveModel::Transitions#set_initial_state
- Transitions::Event#error_message_for_invalid_transitions
- Transitions::Event#fire
- Transitions::Event#fire
- Transitions::Event#initialize
- Transitions::Event#initialize
- Transitions::Event#update
- Transitions::Machine#handle_event_success_callback
- Transitions::Machine#handle_event_success_callback
- Transitions::Machine#initial_state
- Transitions::State#define_state_query_method
IrresponsibleModule:
exclude:
- ActiveModel::Transitions
- Transitions::Machine
- Transitions::Presenter
- Transitions::State
- Transitions::StateTransition
- Transitions
- Transitions::ClassMethods
- Transitions::InvalidMethodOverride
- Transitions::InvalidTransition
NilCheck:
exclude:
- ActiveModel::Transitions#state_not_set?
- Transitions::Event#timestamp_defined?
- Transitions::StateTransition#execute
- Transitions#current_state
UncommunicativeVariableName:
exclude:
- ActiveModel::Transitions#state_included?
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#fire
- Transitions::Event#transitions
- Transitions::Event#transitions_from_state?
- Transitions::Machine#fire_event
- Transitions::StateTransition#executable?
FeatureEnvy:
exclude:
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#default_timestamp_name
- Transitions::Event#error_message_for_invalid_transitions
NestedIterators:
exclude:
- Transitions::Event#build_success_callback
TooManyInstanceVariables:
exclude:
- Transitions::Event
- Transitions::Machine
- Transitions::StateTransition
TooManyStatements:
exclude:
- Transitions::Event#build_success_callback
- Transitions::Event#fire
- Transitions::Machine#fire_event
- Transitions#current_state
Attribute:
exclude:
- Transitions::Machine#events
- Transitions::Machine#initial_state
- Transitions::Machine#state_index
- Transitions::Machine#states
DataClump:
exclude:
- Transitions::Machine
LongParameterList:
exclude:
- Transitions::Machine#fire_event
UtilityFunction:
exclude:
- Transitions::Machine#handle_event_failed_callback
- Transitions::Machine#handle_event_fired_callback
- Transitions::StateTransition#perform_guard
BooleanParameter:
exclude:
- Transitions#update_current_state
ControlParameter:
exclude:
- Transitions#update_current_state