| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 31 | protected function preformatFunction( |
||
| 32 | BenchmarkRelative $br, |
||
| 33 | BenchmarkFunction $function, |
||
| 34 | array $argumentsTypes |
||
| 35 | ): string { |
||
| 36 | return |
||
| 37 | sprintf( |
||
| 38 | '%s. %s (%s) %s(%s) %s', |
||
| 39 | (string)$br->getRank(), |
||
| 40 | $this->average($br->getAverage()), |
||
| 41 | $this->relativePercent($br->getRelative()), |
||
| 42 | $function->humanReadableName(), |
||
| 43 | $this->theme->dark(implode(', ', $argumentsTypes)), |
||
| 44 | $this->theme->yellow($function->comment()) |
||
| 45 | ); |
||
| 68 |