Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Question / ProblemAnswer / Possible Resolution
In don't see any violations after running a analysis

The c++ plugin does not run any static analysis tools, be sure that reports are generated before the analyses see How to generate Reports

Be sure the properties are correctly set and the used paths are relative to the project root

Be sure that the tools are run in the same location as the analysis. And that you dont move reports between locations with different paths.

I cant see any cppcheck violationsBe sure that the report xml version of cppcheck is version 1

If you can cannot find your problem described here please follow the these instructions.

  • Run analysis with debug information (mvn sonar:sonar -X > log or sonar-runner -X > log)
  • Analyse the debug log and try to find obvious errors
  • If you cannot find the problem, please use the sonar forum mailing list and describe your problem using the debug log as reference

...