| Percentage | Lines | ||
|---|---|---|---|
| Agent |
|
100 % | 19 |
| AttributesTrait |
|
100 % | 43 |
| ItemEnvelope |
|
100 % | 87 |
| Item |
|
100 % | 55 |
| OcrTools |
|
100 % | 62 |
| Invoice |
|
100 % | 162 |
| InvoiceBuilder |
|
100 % | 221 |
| ItemBasket |
|
100 % | 176 |
| CRAP Score | Lines | ||
|---|---|---|---|
| OcrTools::validateOcr() | 6 | 16 | |
| ItemBasket::getVatRates() | 4 | 27 | |
| ItemBasket::addItem() | 3 | 13 | |
| OcrTools::createOcr() | 3 | 11 | |
| InvoiceBuilder::__construct() | 2 | 5 | |
| InvoiceBuilder::buildInvoice() | 2 | 19 | |
| InvoiceBuilder::getSerial() | 2 | 8 | |
| ItemBasket::__construct() | 2 | 6 | |
| ItemBasket::createCurrencyObject() | 2 | 8 | |
| ItemBasket::getIterator() | 2 | 6 | |