Code

Rating Name Duplication Size   Complexity CRAP Changes Bugs Features
A WMDE\Euro\Euro::newFromString() 0 8 3 3 2 0 0
A EuroTest::testEuroStringWithRoundingError_getsRoundedAppropriately() 0 14 1 ? 3 0 0
A EuroTest::getEurosDataProvider() 0 9 1 ? 1 0 0
A EuroTest::testFloatWithRoundingError_getsRoundedAppropriately() 0 9 1 ? 2 0 0
A WMDE\Euro\Euro::roundCentsToInt() 0 4 2 2 0 0 0
A EuroTest::testNewFromIntHandlesBigIntegers() 0 4 1 ? 1 0 0
A WMDE\Euro\Euro::centsFromString() 0 3 2 2 2 0 0
A Euro::assertMaximumValueNotExceeded() 0 2 2 2 0 0 0
A Tests\Unit\EuroTest::euroProvider() 0 6 1 ? 1 0 0
A WMDE\Euro\Euro::newFromFloat() 0 4 1 1 2 0 0
A WMDE\Euro\Euro::__construct() 0 3 2 2 1 0 0
A EuroTest::testNewFromStringThrowsExceptionWhenStringIsTooLong() 0 3 1 ? 1 0 0
A EuroTest::testEuroStringThatCausedRoundingError_doesNotCauseRoundingError() 0 2 1 ? 1 0 0
A EuroTest::testNewFromIntThrowsExceptionWhenIntegerIsTooHigh() 0 3 1 ? 1 0 0
A EuroTest::testNewFromFloatThrowsExceptionWhenFloatIsTooHigh() 0 3 1 ? 1 0 0