The -r option in CLI provides the ability to export project results in metric, control flow graph, and VPES data formats.

Usage

For the required options to export analysis information, the workspace, project name, and export path must be specified.

[-r] [-w path] [-p name] [-o path]

Export Execution Results

  1. -r -w "%workspace path%" -p "%project name%" -o "%export path%" --cfg --metric --exportvpes" Using commands, the project execution results are exported.
    • Select the desired output format for export using the cfg, metric, uploadvpes, and exportvpes options.
    • Export will not be worked if none of the four options are selected.
      Item Description
      -r --report (Required) Export execution results
      -w, --workspace (Required) Workspace
      -p, --project (Required) Project name
      -o, --output (Required) Specify the path to export the results
      --cfg, --callgraph Export control flow graph images
      --metric Export metric reports
      --uploadvpes Upload data to VPES
      --exportvpes Export data to VPES
  1. --cfg, --callgraph sub-options
    Example: -r -w "%workspace path%" -p "%project name%" -o "%export path%" --cfg --idPath
    Item Description
    --idPath Include only ID in the exported image path and name
  1. --metric sub-options
    Example: -r -w "%workspace path%" -p "%project name%" -o "%export path%" --metric -O "-f example-cli -e html -t module"
    Item Description
    -f , --fileNameSuffix Specify the export file name
    -e, --extension Specify the export file format (html, pdf, doc, xls, ppt)
    -t, --type Specify the export file model type(module, file, class, function)
  1. --uploadvpes sub-options
    Example: -r -w "%workspace path%" -p "%project name%" --uploadvpes -O "%CT 2023.12 install path\plugins\com.codescroll.gp.cli\ini\vpes_access.info%"

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.