I am trying to analyze my application, which is a C# project, with Sonar. Therefore I configured FxCop, Galileo (with OpenCover) and StyleCop.
Seeing code violation works fine but unfortunately I cannot see any code statistics, like lines of code and so on. The only thing I see is the number of files.
Here one can see my Sonar dashboard:
As you can see the right side is filled with some violations (created by StyleCop because there are just "sytle errors" which confuses me a little bit, because I do not think that I did not do any major mistakes like handling wrong exceptions or something like this)
The left side is empty, just the number of files are visible.
Does anyone know, why I cannot see lines of code and the rest of this page?
As requested I am going to tel you my plugin versions and the content of the sonar properties:
Plugin-Versions:
FxCop: 10.0
Gallio: 3.4.14.0
OpenCover: 4.0.1107
StyleCop: 4.7.44.0
Sonar: 3.4.1
Sonar-runner: 2.0
C-Sharp-Plugins- Ecosystem: 1.4 ==> Updated to 2.0 (copied / overwrite new files to C:\sonar\extensions\plugins)
Content of sonar-project.properties (Which is in the same folder as the project and therefore also the .sln file)
# optional description
sonar.projectDescription=Some description
# Project identification
sonar.projectKey=MyVendor:ProjectName
sonar.projectVersion= 1.0
sonar.projectName= ProjectName
# Info required for Sonar
sources=.
sonar.language=cs
#Core C# Settings
sonar.dotnet.visualstudio.solution.file=ProjectName.sln
Here is the list of all plugins that are located at C:\sonar\extensions\plugins: