Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A InMemoryMessageRepository::retrieveAllAfterVersion() 0 7 5 5 1 0 0
A AggregateRootTestCase::setUpEventSauce() 0 15 1 ? 0 0 0
A EventSourcedAggregateRootRepository::persistEvents() 0 10 2 ? 1 0 1
A AggregateRootTestCase::assertScenario() 0 10 2 ? 0 0 0
A ConstructingMessageSerializer::serializeMessage() 0 10 2 2 2 0 0
A TestingAggregates\DummyCommandHandler::handle() 0 10 3 ? 3 0 0
A AggregateAlwaysAppliesEvents::apply() 0 3 1 ? 1 0 1
A AggregateRootTestCase::retrieveAggregateRoot() 0 1 1 ? 0 0 0
A TestUtilities\EventStager::__construct() 0 0 1 ? 0 0 0
A EventSourcing\Message::aggregateVersion() 0 4 2 2 0 0 0
A InMemoryMessageRepository::purgeLastCommit() 0 1 1 1 0 0 0
A ConstructingPayloadSerializer::unserializePayload() 0 1 1 1 0 0 0
A MessageConsumerTestCase::assertExpectedException() 0 4 4 ? 1 0 0
A Tests\LightSwitchWasFlipped::on() 0 1 1 1 1 0 0
A MessageDispatchingEventDispatcher::dispatch() 0 1 1 1 1 0 0