| Percentage | Lines | ||
|---|---|---|---|
| Holiday |
|
100 % | 102 |
| AbstractProvider |
|
100 % | 207 |
| Denmark |
|
100 % | 111 |
| Poland |
|
100 % | 98 |
| HolidayFactory |
|
100 % | 108 |
| CRAP Score | Lines | ||
|---|---|---|---|
| AbstractProvider::getHolidays() | 7 | 38 | |
| HolidayFactory::createProvider() | 6 | 36 | |
| AbstractProvider::prepareHolidaysByYear() | 5 | 17 | |
| HolidayFactory::unregisterProvider() | 3 | 17 | |
| Holiday::__construct() | 2 | 14 | |
| AbstractProvider::getHolidaysByYear() | 2 | 16 | |
| Holiday::getName() | 1 | 4 | |
| Holiday::setName() | 1 | 6 | |
| Holiday::getType() | 1 | 4 | |
| Holiday::setType() | 1 | 6 | |