FlexPMDPDF - A ColdFusion PDF report generator for Flex PMD!
I have been using Flex PMD on a project recently to validate Flex code and am really digging it. I have used Adobe's PMD viewer to view the violations. I needed to print out a report and there was no apparent way to do this from the Adobe tool, so I went ahead and made my own using ColdFusion!
FlexPMDPDF is the result! It's available for download on RIA Forge!
FlexPMDPDF takes a pmd xml file output by Flex PMD and creates a PDF report with several formatting and filtering options. You can choose to group the report by rules, files or priority. You further filter the rule and file groupings by priority. FlexPMDPDF ColdFusion 8 or later.
Here is a sample call grouped by rule and only showing errors and warnings.
<cfset byRule =
flexPMDPDF.generateReport(
"C:\ColdFusion9\wwwmroot\FlexPMDPDF\pmd.xml",
"C:\ColdFusion9\wwwroot\FlexPMDPDF\pmd.pdf",
"byRule",
"ERRORS,WARNINGS" )
/>
I've got complete documentation for the arguments in the CFC.
Give it a shot and let me know what you think. If you have a feature request, let me know. And should you find a bug, please let me know and I'll get it fixed!


Could attach a PDF sample to see how it looks like.
Xavier