Percentage | Lines | ||
---|---|---|---|
Factory |
|
65 % | 117 |
Year |
|
71 % | 43 |
Belgium |
|
100 % | 18 |
AllSaints |
|
100 % | 18 |
ArmisticeDay |
|
100 % | 18 |
AscensionDay |
|
100 % | 18 |
AssumptionOfMary |
|
100 % | 18 |
ChristmasDay |
|
100 % | 18 |
EasterMonday |
|
100 % | 17 |
IndependenceDay |
|
100 % | 18 |
CRAP Score | Lines | ||
---|---|---|---|
Factory::guardThatTheseAreTranslators() | 18 | 26 | |
Factory::guardThatTheseAreCalendars() | 7 | 15 | |
Year::assertValidYear() | 6 | 11 | |
Factory::getTranslator() | 3 | 12 | |
Factory::getCalendar() | 2 | 8 | |
TranslatorAbstract::getName() | 2 | 10 | |
functions.php ➔ getNewYearsEve() | 1 | 6 | |
functions.php ➔ getEasterMonday() | 1 | 11 | |
functions.php ➔ getEndOfDay() | 1 | 4 | |
Belgium::getHolidays() | 1 | 15 | |