| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 3 | public function process(ReportInterface $report): string |
|
| 19 | { |
||
| 20 | 3 | if ($report instanceof ProfilerReport) { |
|
| 21 | return |
||
| 22 | 2 | sprintf( |
|
| 23 | 2 | '%s %s %s', |
|
| 24 | 2 | $this->countersStrings($report), |
|
| 25 | 2 | $this->timersStrings($report), |
|
| 26 | 2 | $this->elapsed |
|
| 27 | ); |
||
| 28 | } |
||
| 29 | 1 | $this->wrongReportType(ProfilerReport::class, $report); |
|
| 30 | // @codeCoverageIgnoreStart |
||
| 31 | return ''; |
||
| 32 | // @codeCoverageIgnoreEnd |
||
| 70 |