If you download FindBugs (in my case, version 2.0.1) and run gui from the included batch file, it limits the types of files that you can put into the project for analysis: inside the "New Project" dialog box, to "jar, war, ear supposedly sar. " So, in my opinion, zipping your .class files will be enough - after all, .jar is just the zip of your .class files in their folder structure, plus the manifest file.
However, if you open a folder with unencrypted source files, FindBugs will still try to perform the analysis.
[Refresh. I finally got the FindBugs ant task to work on my system. It definitely works on class files. It was a certain job to make it work, as there are some complex problems that require reading the source code to solve. For example, it is difficult to include your own banks, for example. To use log4j logging, some parameters that will help you are undocumented, and the minimum rank for an error message is quite high and cannot be reduced until I have tested it. If you have any problems, let me know, I am happy to help. ]
source share