| Percentage | Lines | ||
|---|---|---|---|
| ClassroomApi |
|
78 % | 131 |
| Response |
|
87 % | 54 |
| Auth |
|
90 % | 97 |
| ClassroomTrait |
|
95 % | 123 |
| Teacher |
|
96 % | 159 |
| Gateway |
|
100 % | 43 |
| AddAttendees |
|
100 % | 33 |
| AddTeacher |
|
100 % | 26 |
| Cancel |
|
100 % | 28 |
| Create |
|
100 % | 26 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ClassroomApi::getAttendanceReport() | 9 | 23 | |
| ClassroomApi::addAttendeesToClass() | 6 | 11 | |
| ClassroomApi::getPresentersFromResponse() | 6 | 12 | |
| Auth::prepareValues() | 4 | 12 | |
| Classroom::toArray() | 3 | 30 | |
| Auth::getCurrentTime() | 2 | 8 | |
| Response::getErrorCode() | 2 | 8 | |
| Response::getErrorMessage() | 2 | 8 | |
| Auth::hmacsha1() | 2 | 13 | |
| ClassroomApi::createPermaClas() | 2 | 12 | |