In this section
Parasoft supports Objective-C by integrating with OCLint, an open source tool that performs static analysis on C, C++, and Objective-C code. OCLint reports possible bugs, unused code, complicated code, code smells, bad practices, and other issues. Refer to the OCLint website for additional information: http://oclint.org
The Parasoft OCLint 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.
-report-type json
option, e.g.:oclint -report-type json -o oclint-results.json <source>
oclint-json-compilation-database – -report-type json -o oclint-results.json
multilanguage-pack.bat -tool oclint -results.file "/sample/oclint-results.json" -source.dir "/sample/sampleProjectFolder" |
The following settings are required.
This setting specifies the Parasoft extension to execute. Use -tool
oclint
to run the OCLint extension.
Specifies the path to the OCLint analysis results file.
Specifies the path to the folder containing the analyzed OCLint source code. This is used to collect source control metadata (e.g., authorship, last updated, etc.) for DTP reporting and processing.