Previous Topic Next topic Print topic


Code Analysis

Support is provided for running code analysis of COBOL projects at the command line usingusing Ant and for including code analysis in your frameworks (such as CruiseControl or Jenkins) for a continuous build process. Features include:

  • Support for performing code analysis at the command line using the project's .cobolBuild Ant script and specifying a target.
  • New Ant targets for code analysis - analyze and build.and.analyze. These enable you to only run analysis and produce analysis data or to build and produce build artifacts as well as analysis data.
  • New Micro Focus Ant task, analysis, for the .cobolBuild file. A parameter for this task enables you to specify whether the build fails or continues when code analysis results are received.
  • New parameters for code analysis for the cobol Ant task - analysisData, analysisDataDir.
  • New Ant type, ruleList, for the .cobolBuild file - enables you to specify the rules to execute.
  • Support for running analysis using a custom .cobolBuild file from outside of the project directory or the workspace.

See the Micro Focus Ant User Manual in the Micro Focus Infocenter for more details on the new task, types and parameters.

Previous Topic Next topic Print topic