File tree Expand file tree Collapse file tree 9 files changed +24
-16
lines changed Expand file tree Collapse file tree 9 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 11# source " scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
2+
23# FindBugs is dead, so this specifies the specific (last) version of findbugs. Its version is not defined in the pom.xml file.
34# The buildtime elements when invoking the findbugs-maven-plugin leverage the buildtime extension specified in: .mvn/extensions.xml
4- CALL mvn compile org.codehaus.mojo:findbugs-maven-plugin:3.0.5:findbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
5- CALL mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=findbugs
5+ call mvn compile org.codehaus.mojo:findbugs-maven-plugin:3.0.5:findbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
6+ call mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=findbugs
67
Original file line number Diff line number Diff line change 11# source " scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
2- # The buildtime elements when invoking the findbugs-maven-plugin leverage the buildtime extension specified in: .mvn/extensions.xml
3- CALL mvn compile -Pfindsecbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
4- CALL mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=findsecbugs
2+
3+ # The buildtime elements when invoking the findbugs-maven-plugin thru the findsecbugs profile leverage the
4+ # buildtime extension specified in: .mvn/extensions.xml
5+ call mvn compile -Pfindsecbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
6+ call mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=findsecbugs
57
Original file line number Diff line number Diff line change 11source " scripts/verifyBenchmarkPluginAvailable.sh"
2- # The buildtime elements when invoking the findbugs-maven-plugin leverage the buildtime extension specified in: .mvn/extensions.xml
2+ # The buildtime elements when invoking the findbugs-maven-plugin thru the findsecbugs profile leverage the
3+ # buildtime extension specified in: .mvn/extensions.xml
34mvn compile -Pfindsecbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
45mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=findsecbugs
56
Original file line number Diff line number Diff line change 11# source " scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
2- # The buildtime elements when invoking the findbugs-maven- plugin leverage the buildtime extension specified in: .mvn/extensions.xml
3- CALL mvn compile pmd:pmd -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
4- CALL mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=pmd
2+ # The buildtime elements when invoking the PMD plugin leverage the buildtime extension specified in: .mvn/extensions.xml
3+ call mvn compile pmd:pmd -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
4+ call mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=pmd
55
Original file line number Diff line number Diff line change 11source " scripts/verifyBenchmarkPluginAvailable.sh"
2- # The buildtime elements when invoking the findbugs-maven- plugin leverage the buildtime extension specified in: .mvn/extensions.xml
2+ # The buildtime elements when invoking the PMD plugin leverage the buildtime extension specified in: .mvn/extensions.xml
33mvn compile pmd:pmd -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
44mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=pmd
55
Original file line number Diff line number Diff line change 11# Install Snyk per: https://docs.snyk.io/snyk-cli/install-or-update-the-snyk-cli
2+ # Before running this, you must first run: snyk auth (and then authenticate) so snyk code is authorized to run.
3+
24benchmark_version=$( scripts/getBenchmarkVersion.sh)
35Snyk_version=$( snyk -v)
46
5- snyk code --sarif-file-output=results/Benchmark_$benchmark_version -snykCodeCli-v$Snyk_version .sarif
7+ snyk code test --sarif-file-output=results/Benchmark_$benchmark_version -snykCodeCli-v$Snyk_version - $SECONDS .sarif
68
Original file line number Diff line number Diff line change 11# Install Snyk per: https://docs.snyk.io/snyk-cli/install-or-update-the-snyk-cli
2+ # Before running this, you must first run: snyk auth (and then authenticate) so snyk code is authorized to run.
3+
24benchmark_version=$( scripts/getBenchmarkVersion.sh)
35Snyk_version=$( snyk-win -v)
46
5- snyk-win code test --sarif-file-output=results/Benchmark_$benchmark_version -snykCodeCli-v$Snyk_version .sarif
7+ snyk-win code test --sarif-file-output=results/Benchmark_$benchmark_version -snykCodeCli-v$Snyk_version - $SECONDS .sarif
68
Original file line number Diff line number Diff line change 11# source " scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
2- # The buildtime elements when invoking the findbugs-maven- plugin leverage the buildtime extension specified in: .mvn/extensions.xml
3- CALL mvn compile spotbugs:spotbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
4- CALL mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=spotbugs
2+ # The buildtime elements when invoking the Spotbugs plugin leverage the buildtime extension specified in: .mvn/extensions.xml
3+ call mvn compile spotbugs:spotbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
4+ call mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=spotbugs
55
Original file line number Diff line number Diff line change 11source " scripts/verifyBenchmarkPluginAvailable.sh"
2- # The buildtime elements when invoking the findbugs-maven- plugin leverage the buildtime extension specified in: .mvn/extensions.xml
2+ # The buildtime elements when invoking the Spotbugs plugin leverage the buildtime extension specified in: .mvn/extensions.xml
33mvn compile spotbugs:spotbugs -Dbuildtime.output.csv=true -Dbuildtime.output.csv.file=../data/out.csv
44mvn org.owasp:benchmarkutils-maven-plugin:append-time -DtoolName=spotbugs
55
You can’t perform that action at this time.
0 commit comments