Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
C GS1Parser\Parser\Parser::parse() 0 81 13 13 0 0 0
B GS1Parser\Validator\Validator::validate() 16 57 9 9 0 0 0
A GS1Parser\Parser\Parser::fetchFixedAI() 0 16 3 3 0 0 0
A GS1Parser\Parser\Parser::fetchKnownAI() 0 11 3 3 0 0 0
A Parser\Parser::fetchFNC1Prefix() 0 10 3 3 0 0 0
A InvalidBarcodeException::becauseNotEnoughDataFoAI() 0 9 1 ? 0 0 0
A InvalidBarcodeException::becauseValueContainsInvalidCharacters() 0 9 1 ? 0 0 0
A InvalidBarcodeException::becauseFNC1SequenceIsNotFound() 0 4 1 ? 0 0 0
A Validator\Resolution::getErrors() 0 4 1 1 0 0 0
A Lamoda\GS1Parser\Barcode::ai() 0 4 1 1 0 0 0
A Parser\ParserConfig::setKnownAIs() 0 5 1 1 0 0 0
A GS1Parser\Barcode::__construct() 0 8 1 1 0 0 0
A ParserConfig::getFnc1PrefixMap() 0 4 1 1 0 0 0
A ValidatorConfig::setForbiddenAIs() 0 5 1 1 0 0 0
A InvalidBarcodeException::becauseNoDataPresent() 0 4 1 ? 0 0 0