Code

Rating   Name Duplication Size Complexity Changes Bugs Features
D Mock\MockTrait::mockClassMethods() 0 48 13 6 0 4
C ArgumentMatcher::checkMatchingArguments() 0 17 8 3 1 1
B ShortifyPunit\Mock\MockTrait::mockClass() 0 25 6 5 1 2
B ShortifyPunit\Stub\WhenCase::__call() 0 17 5 5 0 1
B Verify\Verify::getChainedMockCounter() 0 15 6 2 0 0
B ShortifyPunit::_createChainResponse() 0 21 3 7 0 2
A ShortifyPunit::_createResponse() 0 8 4 8 1 2
A Mock\MockTrait::generateResponse() 0 8 4 1 0 0
A ShortifyPunit::getMockReflection() 0 7 4 2 0 0
A ShortifyPunit\Stub\WhenChainCase::__call() 0 11 3 2 0 0
A WhenChainCase::addChainedMethodResponse() 0 12 2 3 0 0
A WhenChainCase::createChainArrayOfReturnValues() 0 35 3 7 1 0
A ShortifyPunit\ShortifyPunit::mock() 0 6 1 11 0 0
A ShortifyPunit\Stub\WhenCase::setMethod() 0 8 1 2 0 0
A ShortifyPunit\Verify\Verify::lessThan() 0 3 1 2 0 0