Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cccc_plugin ran into an error. #9

Closed
droter opened this issue Nov 24, 2018 · 2 comments
Closed

cccc_plugin ran into an error. #9

droter opened this issue Nov 24, 2018 · 2 comments
Assignees
Labels

Comments

@droter
Copy link

droter commented Nov 24, 2018

I am getting an error with cccc_plugin:

$ ./haros-runner.py analyse -p my_project.yaml -d temp
[HAROS] Loading common definitions...
[HAROS] Loading plugins...

Loaded mi_calculator
Loaded cpplint_plugin
Loaded cppcheck_plugin
Loaded pylint_plugin
Loaded lizard_plugin
Loaded ccd_plugin
Loaded radon_plugin
Loaded cccc_plugin
[HAROS] Reading project and indexing source code...
[HAROS] Running analysis...
ERROR:haros.analysis_manager:Plugin cccc_plugin ran into an error.
[HAROS] Saving analysis results...

Any ideas?

Thanks in advance,

Matt

@git-afsantos
Copy link
Owner

git-afsantos commented Nov 24, 2018

That is a relatively recent plugin, for which I also forgot to add the dependency on the README of HAROS.

If you need the metrics provided by CCCC, install it. It is available on Ubuntu Trusty, Xenial and Bionic, so a simple apt-get should suffice.

apt-get install cccc

If you do not need the metrics provided by CCCC, or you do not want to install it, just disable the plugin.

./haros-runner.py analyse -b cccc_plugin -p my_project.yaml -d temp

I will fix the README for this as well.

@git-afsantos
Copy link
Owner

Fixed with git-afsantos/haros@a62d3b4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants