| Percentage | Lines | ||
|---|---|---|---|
| Barcode |
|
100 % | 80 |
| ParserConfig |
|
100 % | 69 |
| Resolution |
|
100 % | 38 |
| Validator |
|
100 % | 76 |
| ValidatorConfig |
|
100 % | 39 |
| Parser |
|
100 % | 253 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Parser::parse() | 13 | 81 | |
| Validator::validate() | 9 | 57 | |
| Parser::fetchFNC1Prefix() | 3 | 10 | |
| Parser::fetchFixedAI() | 3 | 16 | |
| Parser::fetchKnownAI() | 3 | 11 | |
| Parser::assertValueIsValid() | 2 | 8 | |
| Barcode::__construct() | 1 | 8 | |
| Barcode::type() | 1 | 4 | |
| Barcode::ais() | 1 | 4 | |
| Barcode::buffer() | 1 | 4 | |