In this section
Parasoft supports the Go language by integrating with GoReporter, an open source tool for Go language projects that concurrently runs linters for static analysis, unit testing, and code review. GoReporter normalizes the linters' output into a single quality report. Refer to the GoReporter documentation for additional information: https://github.com/360EntSecGroup-Skylar/goreporter
The Parasoft GoReporter Extension processes the result file output from GoReporter, generate reports showing static analysis violations and severities for the code authors, and sends the data to Parasoft DTP. DTP presents the data in widgets, reports, and other interfaces that enable you to prioritize violations, place them into remediation workflows, and monitor progress toward improving the code quality.
-f json
parameter during GoReporter execution to specify JSON output. Example:goreporter -p C:\sample\sampleProjectFolder -f json
multilanguage-pack.bat -tool goreporter -results.file "C:\sample\goreporter-results.json" -source.dir "C:\sample\sampleProjectFolder" |
Internal technical log files from the Multi-Language Pack execution are generated in the <INSTALL>/.mlp subdirectory.
This setting specifies the Parasoft extension to execute. Use -tool
goreporter
to run the GoReporter extension.
Specifies the path to the GoReporter analysis results file.
Specifies the path to the folder containing the analyzed GoReporter source code. This is used to collect source control metadata (e.g., authorship, last updated, etc.) for DTP reporting and processing.