To deploy from test to cgi-bin:

Change PMD/Project.pm:
-change ../../htdocs to ../ in getRptFile()
-remove "test" from getRptFile() and getRptURL()

Change processor.rb:
-change the chdir

Change pmd.rb:
-change reportFile() method from ../../ to ../ and remove the "test"