如何对多个文件进行pmd分析?这里假设有多个.cls文件,那么我如何在单个时间内对多个文件运行分析?
"$(Build.SourcesDirectory)\code\build\MyApexRule.xml“-reportfile pmd.xml的xml pmd.bat -d -f -R -reportfile pmd.xml
发布于 2020-08-19 15:07:29
您还可以指定完整的目录,PMD将搜索扩展名为"*.cls“的任何文件:
pmd.bat -d "$(Build.SourcesDirectory)\code\src" -f xml ^
-R "$(Build.SourcesDirectory)\code\build\MyApexRule.xml" ^
-reportfile pmd.xml有关https://pmd.github.io/latest/pmd_userdocs_cli_reference.html标志的完整文档,另请参阅CLI。
https://stackoverflow.com/questions/63468067
复制相似问题