diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php
index b9cf1af1486..de8c10fbb8f 100755
--- a/dev/tools/apstats.php
+++ b/dev/tools/apstats.php
@@ -239,7 +239,7 @@ th,td {
display: none;
}
.trgroup {
- background-color: #EEE;
+ background-bottom: 1px solid #aaa;
}
.seedetail {
color: #000088;
@@ -327,6 +327,7 @@ $html .= '
Language | ';
$html .= 'Bytes | ';
$html .= 'Files | ';
$html .= 'Lines | ';
+$html .= ' | ';
$html .= 'Blanks | ';
$html .= 'Comments | ';
$html .= 'Code | ';
@@ -343,10 +344,11 @@ foreach (array('proj', 'dep') as $source) {
$html .= ''.formatNumber($arrayofmetrics[$source]['Bytes']).' | ';
$html .= ''.formatNumber($arrayofmetrics[$source]['Files']).' | ';
$html .= ''.formatNumber($arrayofmetrics[$source]['Lines']).' | ';
+ $html .= ' | ';
$html .= ''.formatNumber($arrayofmetrics[$source]['Blanks']).' | ';
$html .= ''.formatNumber($arrayofmetrics[$source]['Comments']).' | ';
$html .= ''.formatNumber($arrayofmetrics[$source]['Code']).' | ';
- $html .= ' | ';
+ //$html .= ' | ';
$html .= '';
if (!empty($arrayoflineofcode[$source])) {
foreach ($arrayoflineofcode[$source] as $key => $val) {
@@ -355,17 +357,23 @@ foreach (array('proj', 'dep') as $source) {
$html .= ' | ';
$html .= ''.(empty($val['Files']) ? '' : formatNumber($val['Files'])).' | ';
$html .= ''.(empty($val['Lines']) ? '' : formatNumber($val['Lines'])).' | ';
+ $html .= '';
+ $html .= round($val['Lines'] / $arrayofmetrics['Lines']).' %';
+ $html .= ' | ';
$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 .= '';
+ $html .= '';
+ $html .= ' | ';
+ */
$html .= '';
}
}
}
-$html .= '';
+$html .= '
';
$html .= '| Total | ';
$html .= ''.formatNumber($arrayofmetrics['proj']['Bytes'] + $arrayofmetrics['dep']['Bytes']).' | ';
$html .= ''.formatNumber($arrayofmetrics['proj']['Files'] + $arrayofmetrics['dep']['Files']).' | ';