| Percentage | Lines | ||
|---|---|---|---|
| BasicDriver |
|
100 % | 13 |
| Doorman |
|
100 % | 7 |
| CleanupCommand |
|
100 % | 39 |
| Doorman |
|
100 % | 111 |
| BaseInvite |
|
100 % | 31 |
| Generator |
|
100 % | 144 |
| DoormanManager |
|
100 % | 33 |
| Invite |
|
100 % | 114 |
| DoormanServiceProvider |
|
100 % | 41 |
| DoormanRule |
|
100 % | 40 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Doorman::validateInvite() | 5 | 14 | |
| Generator::make() | 4 | 18 | |
| Doorman::check() | 2 | 10 | |
| UuidDriver::code() | 2 | 12 | |
| Invite::hasExpired() | 2 | 8 | |
| Invite::isFull() | 2 | 8 | |
| Invite::isUseless() | 2 | 4 | |
| Doorman::lookupInvite() | 2 | 8 | |
| Generator::for() | 2 | 10 | |
| Invite::setForAttribute() | 2 | 8 | |