Closed melnarte closed 2 months ago
Output seems normal, with a few key points (1).
It should have opened a web browser with the visualizer, after displaying the last couple lines of output. If it did not open the browser, I will have to look into it and ask that you share some details about your environment.
(1) About the error messages.
WARNING:haros.extractor:C++ AST parser not found.
Expected. Only needed if you want to extract models from source code. Requires libclang
in your system and clang
in Python, both with equal versions. More details:
WARNING:haros.analysis_manager:Could not import pyflwor. Skipping query execution.
Expected. Only needed if you want to write/run queries over extracted models. More details:
ERROR:haros.analysis_manager:Plugin haros_plugin_cccc ran into an error. ERROR:haros.analysis_manager:Plugin haros_plugin_cppcheck ran into an error.
Probably missing the corresponding tools. The HAROS plugins for these are just wrappers that call the tools cccc
and cppcheck
respectively.
[sudo] apt-get install cppcheck
[sudo] apt-get install cccc
CCCC is used for metrics, such as complexity and coupling, in C++ code.
CppCheck detects bugs, undefined behaviour and dangerous coding constructs in C++ code.
Haros is installed with
pip install haros
no other actions were taken.After yaml file was created to scan only one custom package
Launching was not successful:
Any ideas what should I install also?