| Percentage | Lines | ||
|---|---|---|---|
| InvoiceLine |
|
63 % | 55 |
| MoneyFormatter |
|
75 % | 70 |
| BillService |
|
97 % | 263 |
| InvoiceService |
|
98 % | 261 |
| InvoiceReferenceGenerator |
|
100 % | 12 |
| InvoiceScope |
|
100 % | 12 |
| BillScope |
|
100 % | 12 |
| Bill |
|
100 % | 37 |
| Invoice |
|
100 % | 38 |
| InvoiceServiceProvider |
|
100 % | 43 |
| CRAP Score | Lines | ||
|---|---|---|---|
| InvoiceService::pdf() | 3 | 14 | |
| BillService::pdf() | 3 | 14 | |
| BillService::addAmountInclTax() | 3 | 27 | |
| BillService::addAmountExclTax() | 3 | 21 | |
| InvoiceService::addAmountExclTax() | 3 | 21 | |
| InvoiceService::addAmountInclTax() | 3 | 26 | |
| Bill::boot() | 2 | 19 | |
| Invoice::boot() | 2 | 19 | |
| BillService::getLines() | 2 | 3 | |
| InvoiceLine::invoiceable() | 2 | 3 | |