From ff937cbee6880d7bfa6cc4712de381c9b87e2379 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Fri, 21 Nov 2003 20:36:42 +0000 Subject: [PATCH] Made target thing a bit nicer git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2413 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-web/src/webpmd.pl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pmd-web/src/webpmd.pl b/pmd-web/src/webpmd.pl index 749977185a..a6edbe36d1 100644 --- a/pmd-web/src/webpmd.pl +++ b/pmd-web/src/webpmd.pl @@ -52,9 +52,15 @@ sub loadProjectList() { } @newprojects = sort { $a->getPctg() cmp $b->getPctg() } @projects; - #my $result = $query->param("target"); + + my $prev2name = "header"; + my $count = 0; my $result=""; + $result="${result}getUnixName(); + } my $target =$query->param("target"); my $jobLink=$project->getTitle(); if (-e $project->getRptFile()) { @@ -67,7 +73,10 @@ sub loadProjectList() { } $result="${result}"; $result="${result}"; - $result="${result}"; + $result="${result}"; $result="${result}"; my $pctg = $project->getPctg(); my $color="red"; @@ -88,6 +97,7 @@ sub loadProjectList() { $cpdLink="getCPDRptURL]}\">@{[$project->getCPDLines()]}"; } $result = "${result}\n"; + $count += 1; } $result="${result}
ProjectHome pageNCSSProblemsPercentage
Unused Code
Duplicate
Code
${jobLink}getUnixName()]}\">@{[$project->getHomePage()]}"; + $result="${result}"; + $result="${result}getUnixName()]}\">"; + $result="${result}@{[$project->getHomePage()]}@{[$project->getNCSS()]}$cpdLink
"; return $result;