Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Controllers\LessonsController::store() | 34 | 20 | 5 | 30 | 1 | 0 | 1 |
B | Controllers\LessonsController::update() | 34 | 20 | 5 | 30 | 1 | 0 | 1 |
B | CreateLessonsTable::up() | 0 | 25 | 1 | ? | 0 | 0 | 0 |
B | Database\Seeds\LessonsSeeder::run() | 0 | 29 | 1 | 2 | 2 | 0 | 1 |
B | Database\Seeds\TimeslotsSeeder::run() | 0 | 27 | 1 | 2 | 1 | 0 | 0 |
A | TimetablesServiceProvider::publishTests() | 0 | 4 | 1 | 2 | 1 | 0 | 0 |
A | Database\Seeds\UsersSeeder::createUser() | 0 | 5 | 1 | 2 | 1 | 0 | 0 |
A | Seeds\ShiftsSeeder::createShift() | 0 | 4 | 1 | 2 | 1 | 0 | 0 |
A | LessonCreateRequest::authorize() | 8 | 4 | 2 | 6 | 1 | 0 | 1 |
A | CreateShiftsTable::up() | 0 | 11 | 1 | ? | 0 | 0 | 0 |
A | LessonsController::__construct() | 0 | 3 | 1 | 2 | 1 | 0 | 1 |
A | CreateTimeslotsTable::up() | 10 | 7 | 1 | ? | 0 | 0 | 0 |
A | CreateLessonsTable::down() | 0 | 4 | 1 | ? | 0 | 0 | 0 |
A | Seeds\LessonsSeeder::createLesson() | 0 | 2 | 1 | 2 | 2 | 0 | 1 |
A | Requests\LessonCreateRequest::rules() | 9 | 7 | 1 | 2 | 2 | 0 | 2 |