Percentage | Lines | ||
---|---|---|---|
Validator |
|
100 % | 173 |
Neighborhood |
|
100 % | 97 |
ConfigBuilder |
|
100 % | 179 |
Png |
|
100 % | 12 |
Gif |
|
100 % | 12 |
Colors |
|
100 % | 42 |
AnimatedGif |
|
100 % | 44 |
Coordinate |
|
100 % | 45 |
GridFactory |
|
100 % | 48 |
CCAFactory |
|
100 % | 5 |
CRAP Score | Lines | ||
---|---|---|---|
Grid::__toString() | 5 | 29 | |
Validator::validate() | 4 | 16 | |
Validator::validateImageColors() | 4 | 13 | |
Validator::validateImageHue() | 4 | 11 | |
Neighborhood::isValidNeighbor() | 4 | 15 | |
Neighborhood::getNeighbors() | 4 | 17 | |
Cell::computeNextState() | 4 | 12 | |
Runner::getFirstLoop() | 4 | 25 | |
Image::createImage() | 4 | 13 | |
Validator::validateNonNegativeInteger() | 3 | 11 | |