| Percentage | Lines | ||
|---|---|---|---|
| ScoreService |
|
100 % | 21 |
| GolfCourse |
|
100 % | 202 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ScoreService::calculateScoreToPar() | 3 | 14 | |
| GolfCourse::getName() | 2 | 4 | |
| GolfCourse::setName() | 2 | 4 | |
| GolfCourse::getWebsite() | 2 | 4 | |
| GolfCourse::setWebsite() | 2 | 4 | |
| GolfCourse::getComment() | 2 | 4 | |
| GolfCourse::setComment() | 2 | 4 | |
| GolfCourse::getCountry() | 2 | 4 | |
| GolfCourse::setCountry() | 2 | 4 | |
| GolfCourse::getLogo() | 2 | 4 | |