Percentage | Lines | ||
---|---|---|---|
ColorGradient |
|
100 % | 288 |
HeatMap |
|
100 % | 80 |
PngImage |
|
100 % | 43 |
Color |
|
100 % | 58 |
RainbowVis |
|
100 % | 124 |
CRAP Score | Lines | ||
---|---|---|---|
HeatMap::createWithPercentileLimits() | 6 | 25 | |
RainbowVis::colorAt() | 6 | 18 | |
HeatMap::createWithAbsoluteLimits() | 5 | 27 | |
PngImage::setPixel() | 5 | 12 | |
RainbowVis::setColors() | 4 | 28 | |
ColorGradient::colorAt() | 3 | 16 | |
ColorGradient::calcHex() | 3 | 14 | |
ColorGradient::getHexColor() | 3 | 12 | |
HeatMap::isData2d() | 3 | 3 | |
Color::__construct() | 2 | 1 | |