summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-04-04 21:06:28 +0300
committerFelipe Contreras <felipe.contreras@gmail.com>2009-04-04 21:13:35 +0300
commitb3941ea131db2d85d339a6bcf500a58bd63df0d5 (patch)
tree345aa7d29bdfb6104787599e8c1c004a261a5955 /coverage
parentd0ea89e0ec3d8742c3247098ab550578c3fe2b9c (diff)
Whitespace cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'coverage')
-rw-r--r--coverage/coverage-report-entry.pl1
-rw-r--r--coverage/coverage-report.pl4
2 files changed, 2 insertions, 3 deletions
diff --git a/coverage/coverage-report-entry.pl b/coverage/coverage-report-entry.pl
index 8f653af..51c506c 100644
--- a/coverage/coverage-report-entry.pl
+++ b/coverage/coverage-report-entry.pl
@@ -58,7 +58,6 @@ while (<>) {
my $class = $1 > 0 ? "perfect" : "terrible";
$_ = "<span class=\"$class\">$_</span>";
}
-
print;
}
diff --git a/coverage/coverage-report.pl b/coverage/coverage-report.pl
index 046bc37..ed30f8d 100644
--- a/coverage/coverage-report.pl
+++ b/coverage/coverage-report.pl
@@ -38,7 +38,7 @@ while (<>) {
$type = "file";
$name = $1;
$coverage{$type}->{$name} = {};
-
+
foreach my $func (@functions) {
$coverage{"function"}->{$func}->{file} = $name;
}
@@ -112,7 +112,7 @@ foreach my $type ("function", "file") {
}
print " </entry>\n";
}
-
+
printf " <summary>\n";
printf " <lines count=\"%s\" coverage=\"%s\"/>\n", $summary{$type}->{lines}, $summary{$type}->{linesCoverage};
printf " <branches count=\"%s\" coverage=\"%s\"/>\n", $summary{$type}->{branches}, $summary{$type}->{branchesCoverage};