Read analysis results and create interactive diagram, saving it as image for easy visualization.
Use the help option to see all available options:
python3 cha.py summarize --helpRequired: Specify one or more paths to source directories. Directories should contain analysis results in the form of .data files.
By default, the there is no source directory specified, that is why this option is required.
# Use specific source directories
python3 cha.py summarize --src-dirs "dir1" "dir2"Specify a custom directory to save the summary results. By default, results will be saved in the summarize directory. If the specified directory does not exist, it will be created. And, if the directory is not empty, the existing files will be removed, and overwritten with the new summary results.
Specified directory will contain summary results in the form of .data file and a graph as graph.png.
# Save summary results in "outputDir" directory
python3 cha.py summarize --out-dir "outputDir"Optionally don't show a graph with summary result. By default, the graph will be shown.
# Do not show the graph
python3 cha.py summarize --no-show-graphOptionally don't save a graph with summary result as graph.png. By default, the graph will be saved.
# Do not save the graph
python3 cha.py summarize --no-save-graphControl the verbosity of log messages by setting the log level. The default level is WARNING. Choose from the following options:
DEBUG: Shows detailed information, typically useful for diagnosing problems. Use this level for development and debugging purposesINFO: Provides confirmation that things are working as expected. This level is generally used to inform users about the progress and state of the applicationWARNING: Indicates that something unexpected happened, or a potential problem is detected, but the application is still running as expected. This level helps to highlight issues that might need attention in the futureERROR: Signifies that a serious problem has occurred, and the application has not been able to perform some function. This level is used to indicate errors that prevent the program from continuing some operationCRITICAL: Represents a very serious error, indicating that the program itself may be unable to continue running. This level is used for critical issues that require immediate attention
Pass the desired log level using the --log-level option. For example, to set the log level to INFO:
python3 cha.py summarize --log-level INFO