';
$html .= '| '.$key.' | ';
$html .= ' | ';
- $html .= ''.(empty($val['Files']) ? '' : formatNumber($val['Files'])).' | ';
- $html .= ''.(empty($val['Lines']) ? '' : formatNumber($val['Lines'])).' | ';
- $html .= ''.(empty($val['Blanks']) ? '' : formatNumber($val['Blanks'])).' | ';
- $html .= ''.(empty($val['Comments']) ? '' : formatNumber($val['Comments'])).' | ';
- $html .= ''.(empty($val['Code']) ? '' : formatNumber($val['Code'])).' | ';
+ $html .= ''.(empty($val['Files']) ? '' : formatNumber($val['Files'])).' | ';
+ $html .= ''.(empty($val['Lines']) ? '' : formatNumber($val['Lines'])).' | ';
+ $html .= ''.(empty($val['Blanks']) ? '' : formatNumber($val['Blanks'])).' | ';
+ $html .= ''.(empty($val['Comments']) ? '' : formatNumber($val['Comments'])).' | ';
+ $html .= ''.(empty($val['Code']) ? '' : formatNumber($val['Code'])).' | ';
//$html .= ''.(empty($val['Complexity']) ? '' : $val['Complexity']).' | ';
- $html .= 'TODO graph here... | ';
+ $html .= 'TODO graph here... | ';
$html .= '
';
}
}
@@ -311,16 +345,17 @@ foreach (array('proj', 'dep') as $source) {
$html .= '';
$html .= '| Total | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Bytes'] + $arrayofmetrics['dep']['Bytes']).' | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Files'] + $arrayofmetrics['dep']['Files']).' | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Lines'] + $arrayofmetrics['dep']['Lines']).' | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Blanks'] + $arrayofmetrics['dep']['Blanks']).' | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Comments'] + $arrayofmetrics['dep']['Comments']).' | ';
-$html .= ''.formatNumber($arrayofmetrics['proj']['Code'] + $arrayofmetrics['dep']['Code']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Bytes'] + $arrayofmetrics['dep']['Bytes']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Files'] + $arrayofmetrics['dep']['Files']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Lines'] + $arrayofmetrics['dep']['Lines']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Blanks'] + $arrayofmetrics['dep']['Blanks']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Comments'] + $arrayofmetrics['dep']['Comments']).' | ';
+$html .= ''.formatNumber($arrayofmetrics['proj']['Code'] + $arrayofmetrics['dep']['Code']).' | ';
//$html .= ''.$arrayofmetrics['Complexity'].' | ';
$html .= ' | ';
$html .= '
';
$html .= '