| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 13 | 
| 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 = array_sum($executionTimes) / $totalExecutions;  | 
            ||
| 80 | |||
| 81 | yield $stepName => [  | 
            ||
| 82 | 'avg_execution_time' => $avgExecutionTime,  | 
            ||
| 83 | 'total_executions' => $totalExecutions,  | 
            ||
| 84 | 'total_cost' => $avgExecutionTime * $totalExecutions  | 
            ||
| 85 | ];  | 
            ||
| 86 | }  | 
            ||
| 87 | }  | 
            ||
| 88 | }  | 
            ||
| 89 |