[sonar:sonar] Missing blame information for the following files:

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
    7.9.5

  • error observed (wrap logs/code around triple quote ``` for proper formatting)
    [sonar:sonar] Sensor CoberturaSensor [cobertura] (done) | time=62ms
    [sonar:sonar] Sensor JaCoCo XML Report Importer [jacoco]
    [sonar:sonar] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
    [sonar:sonar] Sensor SurefireSensor [java]
    [sonar:sonar] parsing [D:\trips\hybris\log\junit]
    [sonar:sonar] Sensor SurefireSensor [java] (done) | time=0ms
    [sonar:sonar] Sensor JaCoCoSensor [java]
    [sonar:sonar] Sensor JaCoCoSensor [java] (done) | time=16ms
    [sonar:sonar] Sensor JavaXmlSensor [java]
    [sonar:sonar] Sensor JavaXmlSensor [java] (done) | time=0ms
    [sonar:sonar] Sensor HTML [web]
    [sonar:sonar] Sensor HTML [web] (done) | time=0ms
    [sonar:sonar] ------------- Run sensors on module trips_new_demo
    [sonar:sonar] Sensor JaCoCo XML Report Importer [jacoco]
    [sonar:sonar] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms
    [sonar:sonar] Sensor JavaXmlSensor [java]
    [sonar:sonar] Sensor JavaXmlSensor [java] (done) | time=0ms
    [sonar:sonar] ------------- Run sensors on project
    [sonar:sonar] Sensor Zero Coverage Sensor
    [sonar:sonar] Sensor Zero Coverage Sensor (done) | time=140ms
    [sonar:sonar] Sensor Java CPD Block Indexer
    [sonar:sonar] Sensor Java CPD Block Indexer (done) | time=485ms
    [sonar:sonar] SCM provider for this project is: svn
    [sonar:sonar] 2115 files to be analyzed
    [sonar:sonar] 0/2115 files analyzed
    [sonar:sonar] Missing blame information for the following files:

  • steps to reproduce
    Uploading coverage.xml file to sonarqube and getting these error (not sure its a warning or an error)

  • potential workaround
    NO

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

Hi All,

I have the hits in coverage.xml and coverage is not there in SonarQube dashboard.

[sonar:sonar] Sensor Zero Coverage Sensor
[sonar:sonar] Sensor Zero Coverage Sensor (done) | time=12ms
[sonar:sonar] Sensor Java CPD Block Indexer
[sonar:sonar] Sensor Java CPD Block Indexer (done) | time=42ms
[sonar:sonar] SCM provider for this project is: svn
[sonar:sonar] 22 files to be analyzed
[sonar:sonar] 0/22 files analyzed
[sonar:sonar] Missing blame information for the following files:
[sonar:sonar] This may lead to missing/broken features in SonarQube
[sonar:sonar] 4 files had no CPD blocks
[sonar:sonar] Calculating CPD for 11 files
[sonar:sonar] CPD calculation finished
[sonar:sonar] Analysis report generated in 108ms, dir size=221 KB
[sonar:sonar] Analysis report compressed in 66ms, zip size=80 KB
[sonar:sonar] Analysis report generated in D:\master.scannerwork\scanner-report
[sonar:sonar] Analysis report uploaded in 17ms

any suggestion to get the coverage in sonar qube will be helpful

Coverage xml snippet










Below key and value has been passed and not getting this missing blame now.
-Dsonar.scm.provider=git -Dsonar.projectBaseDir=

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.