HAROS version: 3.10.20
Below are the steps I followed:
Install deps
sudo apt-get install -y cppcheck cccc python-is-python3 && pip3 install clang==10.0.1 haros
define project.yaml
%YAML 1.1
---
packages:
- package_a
- package_b
- package_c
Init
/root/.haros/configs.yaml (running in a docker container)
%YAML 1.1
---
workspace: "/workspace"
environment: null
plugin_blacklist: []
cpp:
parser_lib: "/usr/lib/llvm-10/lib"
std_includes: "/usr/lib/llvm-10/lib/clang/10.0.0/include"
compile_db: "/workspace/build"
analysis:
ignore:
tags: []
rules: []
metrics: []
full run
haros full -p /haros.yaml
Output
[HAROS] Running setup operations...
[HAROS] Check news updates with:
$ haros news
[HAROS] Running setup operations...
[HAROS] Loading common definitions...
[HAROS] Loading plugins...
> Loaded haros_plugin_cccc
> Loaded haros_plugin_ccd
> Loaded haros_plugin_cppcheck
> Loaded haros_plugin_cpplint
> Loaded haros_plugin_lizard
> Loaded haros_plugin_mi_calculator
> Loaded haros_plugin_pylint
> Loaded haros_plugin_radon
[HAROS] Reading project and indexing source code...
[HAROS] Running analysis...
WARNING:haros.analysis_manager:Could not import pyflwor. Skipping query execution.
ERROR:haros.analysis_manager:Plugin haros_plugin_radon ran into an error.
[HAROS] Saving analysis results...
[HAROS] Serving visualisation at localhost:8080
[HAROS] Press enter to shutdown the viz server:127.0.0.1 - - [17/Jun/2024 14:02:25] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/css/font-awesome.min.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/css/pure-min.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/css/grids-responsive-min.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /css/type.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /css/color.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /css/style.css HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/js/jquery-2.2.1.min.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/js/underscore.min.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/js/backbone.min.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/js/d3.min.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /lib/js/dagre.min.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/app.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/models.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/packages.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/issues.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/general.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/dashboard.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/ros.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/views/help.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /js/routes.js HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] code 404, message File not found
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /favicon.png HTTP/1.1" 404 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /data/projects.json HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /data/default/rules.json HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /data/default/packages.json HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /data/default/summary.json HTTP/1.1" 200 -
127.0.0.1 - - [17/Jun/2024 14:02:25] "GET /data/default/configurations.json HTTP/1.1" 200 -
The dashboard populates some issues including code metrics, but the model viz is empty.
HAROS version: 3.10.20
Below are the steps I followed:
Install deps
sudo apt-get install -y cppcheck cccc python-is-python3 && pip3 install clang==10.0.1 harosdefine
project.yamlInit
/root/.haros/configs.yaml (running in a docker container)
full run
Output
The dashboard populates some issues including code metrics, but the model viz is empty.