Set Control Coupling Options

You can set the options for Control Coupling to build your project in HCL OneTest Embedded Studio.

Execute a build with Control Coupling

  • In HCL OneTest Embedded Studio, open the Settings of the project and click the Configuration Properties > Build > Build options menu.
  • In the right panel, click on the Build options and edit the options by clicking on the button.
  • In the dialog window that shows up on the right, you can select the different tools that can be used for the build. Select Ctrl Coupling analysis to enable the control coupling feature.

Control Coupling options

Options for Control Coupling can be updated in the following menu of the settings: Configuration Properties > Runtime analysis > Control coupling

From this setting page, you can change the following choices:
  • Trace file name (.tgf): sets the name of the trace file dedicated to control coupling. By default, this name is the base name of the test with the extension .tgf.
  • Exclude libraries: Include or exclude the control couplings that end with a call to a function that is not part of the application (sets the -noccext option of the report generator if it is set to yes).
  • Report Template: changes the template of the report generator. By default, this template is ccreport.template.
  • Module as: Select the choice that corresponds the best to your definition of a module. A module can be a function or a compilation unit.