Open alex-kuzmin-hg opened 2 months ago
There are example finding bu Java analyzer that must be integrated into GH-action
I'm suggesting SpotBugs: spotbugs -textui -workHard -effort:max -exclude exclude.xml -progress -html -output reportNew.html -debug find hedera-node/data/lib hedera-node/data/apps -type f \( -iname 'app-*.jar' -o -iname '*hedera*.jar' -o -iname 'hapi*.jar' -o -iname '*pbj*.jar' -o -iname '*swirlds*.jar' \) -a ! -name '*-javadoc.jar' -a ! -name '*-sources.jar'
find hedera-node/data/lib hedera-node/data/apps -type f \( -iname 'app-*.jar' -o -iname '*hedera*.jar' -o -iname 'hapi*.jar' -o -iname '*pbj*.jar' -o -iname '*swirlds*.jar' \) -a ! -name '*-javadoc.jar' -a ! -name '*-sources.jar'
exclude.xml.zip
.. with attached exclude.xml temaplte the number of warnings is <500
Problem
There are example finding bu Java analyzer that must be integrated into GH-action
Solution
I'm suggesting SpotBugs: spotbugs -textui -workHard -effort:max -exclude exclude.xml -progress -html -output reportNew.html -debug
find hedera-node/data/lib hedera-node/data/apps -type f \( -iname 'app-*.jar' -o -iname '*hedera*.jar' -o -iname 'hapi*.jar' -o -iname '*pbj*.jar' -o -iname '*swirlds*.jar' \) -a ! -name '*-javadoc.jar' -a ! -name '*-sources.jar'