Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A UnitOfWork::determineConflicts() 0 10 6 42 1 0 0
A CommandHandlerTest::testHandleNewAggregate() 0 36 1 1 9 0 2
A EventSourcing\EventStore\UnitOfWork::commit() 0 19 4 20 6 2 1
A AggregateRootTest::testReconstituteFromHistory() 0 16 1 1 2 1 0
A AggregateRootTest::testReconstituteWithUnexpectedId() 0 14 1 1 1 0 0
A AggregateRootTest::testReconstituteWithUnexpectedRevision() 0 13 1 1 2 0 0
A EventStore\Commit\Commit::fromNative() 0 12 1 2 4 1 0
A EventStore\UnitOfWork::checkout() 0 10 3 12 2 0 0
A EventStore\Commit\CommitSequence::push() 0 10 3 12 1 0 0
A EventStore\UnitOfWork::getTrackedStream() 0 10 3 12 1 0 0
A AggregateRootTest::testStartAggregateRootLifecycle() 0 9 1 1 1 0 1
A Event\DomainEventSequence::push() 0 9 3 3.58 0 0 0
A Aggregate\AggregateRoot::getIdentifier() 0 1 1 1 0 0 0
A ConcurrencyRaceLost::getAggregateId() 0 1 1 2 0 0 0
A EventSourcing\CommandTest::testToNative() 0 5 1 1 0 0 0