Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
D Currenz\AbstractCurrency::__construct() 0 19 9 9 0 0 0
C Tests\TestTrait::assertCurrency() 0 22 7 ? 0 0 0
B Currenz\Utility\Utility::xmlToArray() 0 21 5 5 0 0 0
A CurrenzTest::provideCurrencies() 0 4 3 ? 0 0 0
A CurrencyTest::testExceptionWhenNegativeDigits() 0 3 1 ? 0 0 0
A CurrenzTest::testSpecificCurrency() 0 4 1 ? 0 0 0
A CurrencyTest::testExceptionWhenEmptyNumber() 0 3 1 ? 0 0 0
A CurrencyTest::testExceptionWhenEmptyName() 0 3 1 ? 0 0 0
A CurrenzTest::testInvalidCodeException() 0 3 1 ? 0 0 0
A CurrencyTest::testExceptionWhenInvalidCode() 0 3 1 ? 0 0 0
A CurrenzTest::testInvalidCodeInNamedConstructorException() 0 3 1 ? 0 0 0
A Tests\CurrenzTest::testClasses() 0 3 2 ? 0 0 0
A CurrencyTest::testExceptionWhenEmptyCountryName() 0 3 1 ? 0 0 0
A CurrencyTest::testExceptionWhenInvalidCountryName() 0 3 1 ? 0 0 0
A Currenz\AbstractCurrency::hasNumber() 0 2 1 1 0 0 0