Percentage | Lines | ||
---|---|---|---|
AddHumanresourceCalendarLink |
|
50 % | 26 |
Appointment |
|
65 % | 816 |
Humanresource |
|
71 % | 47 |
CreateUsersTable |
|
73 % | 28 |
CreateBusinessUserPivotTable |
|
73 % | 28 |
CreateCategoriesTable |
|
77 % | 30 |
CreateBusinessContactPivotTable |
|
77 % | 31 |
Business |
|
77 % | 294 |
CreateServiceTypesTable |
|
79 % | 31 |
CreatePreferencesTable |
|
79 % | 32 |
CRAP Score | Lines | ||
---|---|---|---|
Appointment::canCancel() | 30 | 6 | |
Appointment::isSelfIssued() | 20 | 14 | |
Appointment::isConfirmableBy() | 12 | 7 | |
Appointment::shouldConfirmBy() | 12 | 4 | |
Business::getSubscriptionsCountAttribute() | 12 | 12 | |
Addressbook::sanitizeDate() | 8 | 18 | |
Preferenceable::cast() | 7 | 26 | |
Concierge::takeReservation() | 6 | 57 | |
Concierge::timetable() | 6 | 8 | |
Appointment::getStatusLabelAttribute() | 6 | 13 | |