私は、コマンドラインとして、このようなものを使用しています:1500 -nested -textui -userPrefs edu.umd.cs.findbugs.core.prefs -progress -maxHeap
./findbugs:偽-output結果/ outputfile.html -effort:max -low -sortByClass -html:fancy.xsl -auxclasspath servlet-api.jar -auxclasspath selenium-server-standalone-2.43.0.jar -auxclasspath commons-lang-2.6.jar〜/Downloads/bodgeit-master
太字のオプションは、HTML出力を生成するために使用できます。
unionBugsという簡単なユーティリティを使用して、さまざまなサブプロジェクトで見つかったすべてのバグを収集することもできます。引数には、出力ファイル名に "-output"スイッチを指定し、その後に任意の数のxmlファイルを指定します。 ステップ:
1. FindBugsのディレクトリ内のbinサブディレクトリ
2. ./unionBugs -output inputfile1 inputfile2 ... inputfilen
3.後で実行する、にXMLを変換するために、コマンドを実行しますconvertXmlToText HTMLファイル。
./convertXmlToText -longBugCodes -html <input_file1.xml> <output_file.html>
ありがとうございます。これは私のために働いた。 –
助けてくれることを嬉しく思います@AdilAliyev –