Open JamesMGreene opened 10 years ago
Maybe take a look at FlashDevelop's FlexPMD plugin code: http://www.libspark.org/browser/csharp/FlashDevelop/plugin/FlexPMDPlugin/trunk/Pmd/FlexPMD.cs?rev=3089http://www.libspark.org/browser/csharp/FlashDevelop/plugin/FlexPMDPlugin/trunk/Pmd/FlexPMD.cs
Sometimes when running FlexPMD over multiple files, I don't receive any violations. However, if a single violation is added, I receive other unrelated violations that existed before but didn't show up.
I suspect that perhaps they are "warnings" vs. "errors"/"violations" or something like that, so the code that does handles consuming the report may need to be updated to consider more conditions in the XML.
If that's not the case, then perhaps FlexPMD is just unreliable and needs to be run on a single file instead of against a whole directory, i.e. so make a temporary dir for each file and run
flexpmd
against each one individually internally.