In this section:
Parasoft supports JavaScript by integrating with JSHint, an open-source tool that performs static analysis on JavaScript and HTML code and reports issues related to documentation, readability, and maintainability. Visit the JSHint website for additional information.
The Parasoft JSHint extension processes the result file output from your open-source static analysis tool, generates reports showing 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.
--reporter=checkstyle
setting). See the JSHint documentation for details. multilanguage-pack.bat -tool JSHint -results.file "c:\sample\jshint-results.xml" -source.dir "C:\sample\sampleProjectFolder" |
Internal technical log files from the Multi-Language Pack execution are generated in the <INSTALL>/.mlp subdirectory.
The following settings are required.
This setting specifies the Parasoft extension to execute. Use -tool
JSHint
to run the JSHint extension.
The path to the JSHint XML results file.
Specifies the path to the JavaScript/HTML source code. This is used to collect source control metadata (e.g., authorship, last updated, etc.) for DTP reporting and processing.