Percentage | Lines | ||
---|---|---|---|
CMYK |
|
100 % | 49 |
Converter |
|
100 % | 20 |
Transition |
|
100 % | 52 |
Factory |
|
100 % | 69 |
HEX |
|
100 % | 43 |
HSVToRGBConverter |
|
100 % | 62 |
RGB |
|
100 % | 38 |
RGBToHEXConverter |
|
100 % | 26 |
HSVTransition |
|
100 % | 22 |
RGBToCMYKConverter |
|
100 % | 31 |
CRAP Score | Lines | ||
---|---|---|---|
RGBToHSVConverter::convert() | 11 | 33 | |
RGBToHSLConverter::convert() | 11 | 35 | |
CMYK::__construct() | 9 | 22 | |
HSVToRGBConverter::convert() | 7 | 50 | |
RGB::__construct() | 7 | 17 | |
HSL::__construct() | 7 | 17 | |
HSV::__construct() | 7 | 17 | |
HSLToRGBConverter::convert() | 7 | 47 | |
HEX::__construct() | 4 | 17 | |
RGBToCMYKConverter::convert() | 4 | 19 | |