Now RPA Code Analyzer is a powerful command-line tool designed to analyze .iBot
files used in Now RPA (Robotic Process Automation) development. It performs comprehensive checks on diagnostics, framework compliance, and code quality, providing valuable insights to improve your RPA implementations.
Parse and analyze iBot XAML files Generate detailed CSV reports with analysis results Supports both interactive terminal UI and command-line execution Multiple rule sets: Diagnostics, Framework, and Code Quality Easy-to-use command-line interface and interactive menu system
The rule sets can be configured by modifying the JSON configuration files located in the Config
directory:
Diagnostics.json
Framework.json
CodeQuality.json
Run the application directly without any arguments to start in interactive mode: Follow the on-screen prompts to analyze your iBot files.
To use the command-line mode, run the application with the following arguments:
CodeAnalyzer.exe --input <path-to-ibot-file> [--output <path-to-output-csv>]
Options:
--input
or -i
: (Required) The path to the .iBot file you want to analyze.
--output
or -o
: (Optional) The path where you want to save the CSV report. If not specified, it will be saved in the same directory as the input file.
Example:
CodeAnalyzer.exe --input C:\MyBot.iBot --output C:\Analysis\MyBotAnalysis.csv
The tool generates a CSV file containing the results of various rule checks. Each row in the CSV represents a single rule check result, including information such as:
Rule category Rule name Status (Pass/Fail/Warning) Source (location in the iBot file) Comments or additional details
In case emojis are not visible in the Code Analyzer interface:
- Use a terminal that supports emoji display.
- Consider installing Windows Terminal app from the Microsoft Store for better emoji support.
- Enable system-wide UTF-8 support:
These steps ensure proper display of emojis and Unicode characters, enhancing the visual experience of the Code Analyzer tool.
Build the project:
dotnet build