| Percentage | Lines | ||
|---|---|---|---|
| Extension |
|
0 % | 31 |
| Stopwatch |
|
75 % | 34 |
| TestStart |
|
100 % | 10 |
| TimingCollector |
|
100 % | 96 |
| ResetForTestClassSetUp |
|
100 % | 10 |
| ResetForTestClassTearDown |
|
100 % | 10 |
| ReportTestClassTearDown |
|
100 % | 14 |
| ResetForTest |
|
100 % | 10 |
| ReportTest |
|
100 % | 14 |
| TestStop |
|
100 % | 11 |
| CRAP Score | Lines | ||
|---|---|---|---|
| DefaultReporter::report() | 8 | 44 | |
| TimingCollector::getTiming() | 3 | 11 | |
| TimingCollector::start() | 3 | 21 | |
| TimingCollector::stop() | 3 | 20 | |
| TimingCollector::getTotalTiming() | 3 | 11 | |
| Stopwatch::start() | 3 | 8 | |
| Stopwatch::stop() | 2 | 7 | |
| TimingCollector::reset() | 2 | 6 | |
| Stopwatch::__construct() | 2 | 2 | |
| DefaultReporter::measureString() | 2 | 7 | |