Percentage | Lines | ||
---|---|---|---|
LanguageNegotiator |
|
93 % | 37 |
AcceptLanguage |
|
95 % | 43 |
Negotiator |
|
95 % | 85 |
AbstractNegotiator |
|
99 % | 158 |
Accept |
|
100 % | 40 |
BaseAccept |
|
100 % | 150 |
CharsetNegotiator |
|
100 % | 10 |
EncodingNegotiator |
|
100 % | 10 |
Match |
|
100 % | 58 |
CRAP Score | Lines | ||
---|---|---|---|
Negotiator::match() | 23 | 55 | |
AbstractNegotiator::getBest() | 8 | 38 | |
LanguageNegotiator::match() | 7 | 23 | |
AbstractNegotiator::getOrderedElements() | 7 | 39 | |
Accept::__construct() | 5 | 17 | |
Match::compare() | 5 | 12 | |
AcceptLanguage::__construct() | 4 | 20 | |
AbstractNegotiator::findMatches() | 4 | 13 | |
AbstractNegotiator::match() | 3 | 15 | |
BaseAccept::__construct() | 3 | 16 | |