Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A StateMachine\Event::trigger() 0 4 3 3 1 0 0
A StateMachine\ArrayFactory::buildEvents() 0 10 2 2 0 0 0
A StateMachine\Event::__construct() 0 13 2 2 5 0 0
A StateMachine\State::__construct() 0 6 2 2 3 0 0
A StateMachine\PayloadEnvelope::changeState() 0 4 1 1 0 0 0
A Collection\Events::__construct() 0 3 2 2 1 0 0
A StateMachine\Process::__construct() 0 8 3 3 2 0 0
A StateMachine\Attributes::get() 0 4 2 2 1 0 0
A StateMachine\ArrayFactory::getProcess() 0 7 2 2 0 0 0
A StateMachine\Collection\Collection::get() 0 4 2 2 0 0 0
A Collection\States::__construct() 0 3 2 2 1 0 0
A StateMachine\StateMachine::triggerEvent() 0 10 3 3 4 0 0
A StateMachine\ArrayFactory::buildStates() 0 8 2 2 0 0 0
A InvalidStateException::missingInitialState() 0 6 1 1 0 0 0
A StateMachine::handleOnStateWasSet() 0 7 3 3 1 0 0