Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | formatters\IntlFormatter::format() | 0 | 42 | 14 | ? | 0 | 0 | 0 |
A | units\tree\TreeConverter::findNode() | 0 | 24 | 5 | 5.31 | 0 | 0 | 0 |
A | php\units\tests\UnitTest::setUp() | 0 | 25 | 1 | ? | 0 | 0 | 0 |
A | console\UnitsController::prepareUnits() | 0 | 21 | 4 | ? | 0 | 0 | 0 |
A | php\units\tree\RootUnit::convert() | 0 | 20 | 4 | 4 | 0 | 0 | 0 |
A | units\tests\UnitTest::testConvert() | 0 | 20 | 1 | ? | 0 | 0 | 0 |
A | UnitsController::actionPrepare() | 0 | 16 | 2 | ? | 0 | 0 | 0 |
A | tests\QuantityTest::testConvert() | 0 | 13 | 3 | ? | 0 | 0 | 0 |
A | units\tree\NodeUnit::__construct() | 0 | 12 | 2 | 2.04 | 0 | 0 | 0 |
A | php\units\tree\RootUnit::isAlias() | 0 | 11 | 4 | 4 | 0 | 0 | 0 |
A | units\tree\TreeConverter::findData() | 0 | 11 | 2 | 2 | 0 | 0 | 0 |
A | hiqdev\php\units\Quantity::findUnit() | 0 | 11 | 3 | 3.04 | 0 | 0 | 0 |
A | units\tree\TreeConverter::getNode() | 0 | 10 | 3 | 3 | 0 | 0 | 0 |
A | tests\QuantityTest::testEquals() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | SimpleFormatterTest::quantitiesProvider() | 0 | 10 | 1 | ? | 0 | 0 | 0 |