| Percentage | Lines | ||
|---|---|---|---|
| BenchmarkFactory |
|
0 % | 10 |
| AbstractTime |
|
58 % | 76 |
| Time |
|
100 % | 56 |
| HrClock |
|
100 % | 7 |
| Benchmark |
|
100 % | 66 |
| Stopwatch |
|
100 % | 264 |
| Clock |
|
100 % | 7 |
| Duration |
|
100 % | 61 |
| StopwatchFactory |
|
100 % | 5 |
| CRAP Score | Lines | ||
|---|---|---|---|
| AbstractTime::convertTo() | 38 | 72 | |
| Stopwatch::checkpoint() | 4 | 19 | |
| Stopwatch::stop() | 3 | 13 | |
| Stopwatch::arrayFind() | 3 | 9 | |
| Stopwatch::getElapsed() | 2 | 14 | |
| Stopwatch::getDiffFromTo() | 2 | 21 | |
| Stopwatch::start() | 2 | 11 | |
| Stopwatch::getEvent() | 2 | 16 | |
| Stopwatch::getDiffs() | 2 | 24 | |
| Stopwatch::getStartTime() | 2 | 7 | |