Introduction

Thank you for choosing OpenRefactory’s Intelligent Code Repair (iCR). iCR combines source level static analysis and machine learning to examine programs to detect security, reliability, and compliance issues and combines that with behavior-enhancing code refactoring technology to create safe and reliable corrections for those flaws. This results in code free from many serious security vulnerabilities and programming errors.

iCR is typically offered as a full service using a browser visual interface to allow users to navigate among various source code repsitoroes, select projects and branches for analysis, and reviews results. However, some users may prefer to use a more direct approach to analyzing projects, and they may prefer to review the results using their own separate tools such as Static Analysis Results Interchange Format (SARIF) displays. In these cases a Command Line Interface (CLI) to perform analyses is provided.

This guide serves to outline how to use the CLI to perform an analysis on a project. To use the CLI, the source code for the project MUST be accessible through the file system of the machine where iCR has been installed. There is no interaction with any source code control systems.

Last updated