| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | public static function getModuleStats($configurator, $moduleStats)  | 
            ||
| 20 |     { | 
            ||
| 21 |         if (count($configurator->moduleStats) > 0) { | 
            ||
| 22 |             foreach (array_keys($configurator->moduleStats) as $i) { | 
            ||
| 23 | $moduleStats[$i] = $configurator->moduleStats[$i];  | 
            ||
| 24 | }  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | //print_r($moduleStats);  | 
            ||
| 28 | return $moduleStats;  | 
            ||
| 29 | }  | 
            ||
| 31 |