| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 75 | public function executionInformationGenerator()  | 
            ||
| 76 |     { | 
            ||
| 77 |         foreach ($this->executionTimes as $stepName => $executionTimes) { | 
            ||
| 78 | $totalExecutions = count($executionTimes);  | 
            ||
| 79 | $avgExecutionTime = round(array_sum($executionTimes) / $totalExecutions, 5);  | 
            ||
| 80 | |||
| 81 | yield $stepName => [  | 
            ||
| 82 | 'avg_execution_time' => $avgExecutionTime,  | 
            ||
| 83 | 'total_executions' => $totalExecutions,  | 
            ||
| 84 | 'total_cost' => $avgExecutionTime * $totalExecutions  | 
            ||
| 85 | ];  | 
            ||
| 89 |