| Percentage | Lines | ||
|---|---|---|---|
| AppController |
|
60 % | 30 |
| SmsReporter |
|
81 % | 49 |
| Test |
|
96 % | 335 |
| ToRespondHttpExpectation |
|
97 % | 59 |
| TestsRunCommand |
|
97 % | 115 |
| ApiController |
|
100 % | 23 |
| ExpectationNotFoundException |
|
100 % | 11 |
| ExpectationManager |
|
100 % | 86 |
| ResultCleanupCommand |
|
100 % | 152 |
| ApiController |
|
100 % | 115 |
| CRAP Score | Lines | ||
|---|---|---|---|
| User::shouldBeAlerted() | 11 | 38 | |
| TestGroupVoter::vote() | 10 | 41 | |
| ToRespondHttpExpectation::run() | 9 | 42 | |
| TestRepository::findTests() | 7 | 28 | |
| TestsRunCommand::execute() | 6 | 37 | |
| ExpectationManager::run() | 6 | 34 | |
| ToResolveToExpectation::run() | 6 | 23 | |
| ApiAuthenticator::createToken() | 6 | 28 | |
| SmsReporter::notify() | 6 | 19 | |
| ToContainTextExpectation::run() | 5 | 37 | |