| Conditions | 5 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 5 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 37 | 3 | protected function countersStrings(ProfilerReport $report): string |
|
| 38 | { |
||
| 39 | 3 | $r = ''; |
|
| 40 | 3 | foreach ($report->getCountersReports() as $counterReport) { |
|
| 41 | 3 | if ($counterReport instanceof AbstractCounterReport && DEFAULT_NAME === $counterReport->getName()) { |
|
| 42 | 3 | $r .= $counterReport->isStarted() ? $counterReport : ''; |
|
| 43 | } else { |
||
| 44 | 1 | $r .= $counterReport; |
|
| 45 | } |
||
| 46 | } |
||
| 47 | 3 | return $r; |
|
| 48 | } |
||
| 68 |