Percentage | Lines | ||
---|---|---|---|
Costs |
|
63 % | 18 |
InputAbstract |
|
85 % | 68 |
SimilarityAbstract |
|
89 % | 81 |
Similarity |
|
93 % | 73 |
Decorator |
|
100 % | 50 |
InputNumber |
|
100 % | 10 |
InputString |
|
100 % | 30 |
SimilarNumber |
|
100 % | 55 |
SimilarText |
|
100 % | 110 |
CRAP Score | Lines | ||
---|---|---|---|
SimilarityAbstract::getInput() | 3 | 10 | |
SimilarityAbstract::__construct() | 3 | 10 | |
SimilarNumber::hasSimilarity() | 3 | 12 | |
SimilarText::hasSimilarity() | 3 | 12 | |
SimilarText::getProximityCalculation() | 3 | 22 | |
Costs::__construct() | 2 | 15 | |
InputAbstract::__construct() | 2 | 16 | |
InputAbstract::setFirst() | 2 | 4 | |
InputAbstract::setSecond() | 2 | 4 | |
InputAbstract::constructCosts() | 2 | 6 | |