| Conditions | 4 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 4 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 54 | 3 | protected function timersStrings(ProfilerReport $report): string |
|
| 55 | { |
||
| 56 | 3 | $r = ''; |
|
| 57 | 3 | foreach ($report->getTimersReports() as $timerReport) { |
|
| 58 | 3 | if ($timerReport instanceof TimerReport && DEFAULT_NAME === $timerReport->getName()) { |
|
| 59 | 3 | $this->elapsed = (string)$timerReport; |
|
| 60 | // $r .= $timerReport; |
||
| 61 | } else { |
||
| 62 | 1 | $r .= $timerReport; |
|
| 63 | } |
||
| 64 | } |
||
| 65 | 3 | return $r; |
|
| 66 | } |
||
| 68 |