Percentage | Lines | ||
---|---|---|---|
ChangesState |
|
100 % | 7 |
InvokableListener |
|
100 % | 25 |
ReportsTransitionFailures |
|
100 % | 16 |
FlyweightState |
|
100 % | 74 |
StateMaintainer |
|
100 % | 59 |
Exception |
|
100 % | 25 |
StateTransitionFailed |
|
100 % | 103 |
CreatesFromPattern |
|
100 % | 52 |
DefaultTransition |
|
100 % | 50 |
InvalidPattern |
|
100 % | 14 |
CRAP Score | Lines | ||
---|---|---|---|
Statemachine::emitEvents() | 4 | 15 | |
Statemachine::__construct() | 3 | 23 | |
CreatesFromPattern::new() | 3 | 15 | |
FlyweightState::named() | 2 | 8 | |
FlyweightState::any() | 2 | 8 | |
StateMaintainer::assertHasCurrentState() | 2 | 7 | |
CreatesFromPattern::usePattern() | 2 | 8 | |
FlyweightInput::named() | 2 | 8 | |
FlyweightInput::any() | 2 | 8 | |
DefaultTransitionTable::__construct() | 2 | 7 | |