Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A WMDE\Euro\Euro::newFromString() 0 16 3 3 0 0 0
A EuroTest::testEuroStringWithRoundingError_getsRoundedAppropriately() 0 16 1 ? 0 0 0
A EuroErisTest::testNewFromString() 0 15 1 ? 0 0 0
A EuroTest::testFloatWithRoundingError_getsRoundedAppropriately() 0 11 1 ? 0 0 0
A EuroTest::testNewFromIntHandlesBigIntegers() 0 10 1 ? 0 0 0
A WMDE\Euro\Euro::newFromFloat() 0 9 1 1 0 0 0
A Euro::assertMaximumValueNotExceeded() 0 9 2 2 0 0 0
A Tests\Unit\EuroTest::euroProvider() 0 9 1 ? 0 0 0
A WMDE\Euro\Euro::roundCentsToInt() 0 9 2 2 0 0 0
A EuroTest::testHandlingOfLargeEuroString() 0 3 1 ? 0 0 0
A EuroTest::testGivenNegativeIntegerAmount_exceptionIsThrown() 0 4 1 ? 0 0 0
A EuroTest::testGivenOneCent_getEuroFloatReturnsPointZeroOne() 0 4 1 ? 0 0 0
A EuroTest::testHandlingOfLargeEuroFloat() 0 3 1 ? 0 0 0
A EuroTest::tooHighNumberProvider() 0 5 1 ? 0 0 0
A EuroTest::testGetCentsReturnsConstructorArgument() 0 4 1 ? 0 0 0