Percentage | Lines | ||
---|---|---|---|
FilmSpeedAwareTrait |
|
0 % | 12 |
FilmSpeedProviderTrait |
|
0 % | 18 |
FilmSpeedAbstract |
|
50 % | 45 |
AsaFilmSpeed |
|
70 % | 109 |
DinFilmSpeed |
|
78 % | 108 |
FilmSpeed |
|
80 % | 67 |
CRAP Score | Lines | ||
---|---|---|---|
FilmSpeed::__construct() | 3 | 14 | |
AsaFilmSpeed::__construct() | 2 | 5 | |
AsaFilmSpeed::calculateDin() | 2 | 5 | |
DinFilmSpeed::__construct() | 2 | 5 | |
DinFilmSpeed::calculateAsa() | 2 | 3 | |
FilmSpeed::__toString() | 2 | 4 | |
FilmSpeed::getDin() | 2 | 5 | |
FilmSpeed::getAsa() | 2 | 5 | |
FilmSpeedAbstract::getIso() | 2 | 7 | |
FilmSpeedAwareTrait::setFilmSpeed() | 2 | 4 | |