Dotnet-sonarscanner trying to get blame information for dotcover reports

  • Github
  • Github actions
  • Scanner command used:

/dotnet-sonarscanner begin -k:“xxxx” -o:“org” -d:sonar.token=“xxxx” -d:sonar.host.url=“https://sonarcloud.io” -d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html -d:sonar.coverage.exclusions=/*.Infrastructure//,**/.IoC//*,/Extensions//*,/Program.cs -d:sonar.cpd.exclusions=**/.Infrastructure/Migrations/

dotnet build --no-incremental

dotnet dotcover test --dcReportType=HTML

./.sonar/scanner/dotnet-sonarscanner end -d:sonar.token=“xxxx”

  • Languages of the repository: dotnet/C#
  • Only if the SonarCloud project is public, the URL: private repo
  • Error observed:

In PR to branch main, after processing html reports generated by dotcover,the scanner logs warnings of missing blame information for those files. This leads to all the file on the directory at the moment to be considered as part of the code and appears in sonarcloud project, including files that are normally ignored, as the folders dotCover.Output and .github/, files dotCover.Output.html and azure-pipelines.yml. After that, all these new files count as line of codes on the project.

This only occurs on main branch. The same code had early PRs to branches develop and release/* without that behavior.

Evidence:

Part of logs of successfull PR on branch release/v1.1.0 (last one before the PR on main)

INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/15/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/6/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/17/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/8/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/9/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/0/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/14/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/5/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/1/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/11/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/7/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/16/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/10/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/2/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/12/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/3/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/13/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/4/output-cs'
INFO: Importing 18 Roslyn reports
INFO: Found 9 MSBuild C# projects: 5 MAIN projects. 4 TEST projects.
INFO: Sensor C# [csharp] (done) | time=495ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=5ms
INFO: Sensor C# File Caching Sensor [csharp]
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=5ms
INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Aggregating the HTML reports from '/home/runner/work/webapi-callback/webapi-callback/./dotCover.Output.html'.
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2235_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2227_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2251_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/3_94.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2249_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/5_98.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2234_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2210_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2_94.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2270_534.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2238_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2244_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2252_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2222_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2266_528.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2268_534.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2248_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2257_248.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2229_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2214_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2226_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2208_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/4_98.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2224_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2240_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2241_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2269_534.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2213_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2255_248.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2211_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2228_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2217_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2209_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2243_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2253_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2267_533.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2242_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2256_248.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2220_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2246_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/8_98.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2245_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2254_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2271_534.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2221_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2236_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2232_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2231_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2223_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2212_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2237_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/6_98.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2239_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2215_245.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2272_534.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2218_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/1_94.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2225_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2219_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2233_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/7_98.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2216_246.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2247_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2250_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2230_247.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/9_98.html
INFO: Adding this code coverage report to the cache for later reuse: /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output.html
INFO: Coverage Report Statistics: 61 files, 51 main files, 51 main files with coverage, 10 test files, 0 project excluded files, 0 other language files.
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=93ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: CPD Executor 27 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 37 files
INFO: CPD Executor CPD calculation finished (done) | time=21ms
INFO: SCM writing changed lines
INFO: SCM writing changed lines (done) | time=7ms
INFO: Analysis report generated in 396ms, dir size=334 KB
INFO: Analysis report compressed in 151ms, zip size=113 KB
INFO: Analysis report uploaded in 474ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=xxxx_webapi-callback&pullRequest=9
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=xxxx
INFO: Time spent writing ucfgs 0ms
INFO: Analysis total time: 34.217 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
type or paste code here

Part of logs of PR on branch main with differente behavior:

INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/15/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/6/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/17/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/8/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/9/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/0/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/14/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/5/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/1/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/11/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/13/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/3/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/7/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/16/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/10/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/2/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/4/output-cs'
INFO: Importing results from 6 proto files in '/home/runner/work/webapi-callback/webapi-callback/.sonarqube/out/12/output-cs'
INFO: Importing 18 Roslyn reports
INFO: Found 9 MSBuild C# projects: 5 MAIN projects. 4 TEST projects.
INFO: Sensor C# [csharp] (done) | time=496ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=6ms
INFO: Sensor C# File Caching Sensor [csharp]
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=11ms
INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Aggregating the HTML reports from '/home/runner/work/webapi-callback/webapi-callback/./dotCover.Output.html'.
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2241_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2218_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2211_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2235_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2219_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2224_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2251_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2255_225.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2208_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2229_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/7_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2232_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2228_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2257_225.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2216_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2271_532.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/1_67.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2_67.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2220_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2254_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2231_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2230_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2266_527.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2247_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2250_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2239_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/4_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2238_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/6_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2253_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2256_225.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2215_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2217_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2213_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2269_532.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2252_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/5_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2222_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2240_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/3_67.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2214_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2245_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2212_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2246_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2210_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2236_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2209_222.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2225_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2267_532.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/9_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2268_532.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2227_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2233_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2234_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2223_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/8_71.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2272_533.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2237_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2243_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2270_532.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2249_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2242_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2226_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2248_224.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2221_223.html
INFO: Parsing the dotCover report /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output/src/2244_224.html
INFO: Adding this code coverage report to the cache for later reuse: /home/runner/work/webapi-callback/webapi-callback/./dotCover.Output.html
INFO: Coverage Report Statistics: 61 files, 51 main files, 51 main files with coverage, 10 test files, 0 project excluded files, 0 other language files.
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=91ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 136 source files to be analyzed
INFO: SCM Publisher 63/136 source files have been analyzed (done) | time=1075ms
WARN: Missing blame information for the following files:
WARN:   * dotCover.Output/src/2250_224.html
WARN:   * dotCover.Output.html
WARN:   * dotCover.Output/src/2223_223.html
WARN:   * dotCover.Output/src/2268_532.html
WARN:   * dotCover.Output/src/2232_224.html
WARN:   * dotCover.Output/src/2238_224.html
WARN:   * dotCover.Output/src/2271_532.html
WARN:   * dotCover.Output/src/2247_224.html
WARN:   * dotCover.Output/src/2241_224.html
WARN:   * dotCover.Output/src/2229_224.html
WARN:   * dotCover.Output/src/2240_224.html
WARN:   * dotCover.Output/src/2219_223.html
WARN:   * dotCover.Output/src/2256_225.html
WARN:   * dotCover.Output/src/2215_222.html
WARN:   * dotCover.Output/src/6_71.html
WARN:   * dotCover.Output/src/3_67.html
WARN:   * dotCover.Output/src/2246_224.html
WARN:   * dotCover.Output/src/2251_224.html
WARN:   * dotCover.Output/css/dotcover.report.gen.css
WARN:   * dotCover.Output/src/2228_224.html
WARN:   * dotCover.Output/src/2214_222.html
WARN:   * dotCover.Output/src/2239_224.html
WARN:   * dotCover.Output/src/2255_225.html
WARN:   * dotCover.Output/src/2224_223.html
WARN:   * dotCover.Output/src/2230_224.html
WARN:   * dotCover.Output/src/2225_223.html
WARN:   * dotCover.Output/src/2210_222.html
WARN:   * dotCover.Output/src/9_71.html
WARN:   * dotCover.Output/src/2216_223.html
WARN:   * dotCover.Output/src/2_67.html
WARN:   * dotCover.Output/src/2212_222.html
WARN:   * dotCover.Output/src/2243_224.html
WARN:   * dotCover.Output/src/2237_224.html
WARN:   * dotCover.Output/src/2222_223.html
WARN:   * dotCover.Output/src/5_71.html
WARN:   * dotCover.Output/src/2254_224.html
WARN:   * dotCover.Output/src/2227_223.html
WARN:   * dotCover.Output/src/2248_224.html
WARN:   * dotCover.Output/src/2226_223.html
WARN:   * dotCover.Output/src/2220_223.html
WARN:   * dotCover.Output/src/2253_224.html
WARN:   * dotCover.Output/src/2217_223.html
WARN:   * dotCover.Output/src/2235_224.html
WARN:   * dotCover.Output/src/2244_224.html
WARN:   * dotCover.Output/src/1_67.html
WARN:   * dotCover.Output/src/2209_222.html
WARN:   * dotCover.Output/src/8_71.html
WARN:   * dotCover.Output/src/2234_224.html
WARN:   * dotCover.Output/src/nosource.html
WARN:   * dotCover.Output/css/jquery.dynatree.css
WARN:   * dotCover.Output/src/2252_224.html
WARN:   * dotCover.Output/css/dotcover.report.css
WARN:   * dotCover.Output/js/dotcover.report.js
WARN:   * dotCover.Output/src/4_71.html
WARN:   * dotCover.Output/src/2218_223.html
WARN:   * dotCover.Output/src/2266_527.html
WARN:   * dotCover.Output/src/2245_224.html
WARN:   * dotCover.Output/src/2208_222.html
WARN:   * dotCover.Output/js/dotcover.sourceview.js
WARN:   * dotCover.Output/src/2257_225.html
WARN:   * dotCover.Output/src/2236_224.html
WARN:   * dotCover.Output/src/2272_533.html
WARN:   * dotCover.Output/src/2242_224.html
WARN:   * dotCover.Output/src/2233_224.html
WARN:   * dotCover.Output/src/2270_532.html
WARN:   * dotCover.Output/src/2267_532.html
WARN:   * dotCover.Output/src/2213_222.html
WARN:   * dotCover.Output/src/2269_532.html
WARN:   * dotCover.Output/src/2249_224.html
WARN:   * dotCover.Output/src/7_71.html
WARN:   * dotCover.Output/src/2211_222.html
WARN:   * dotCover.Output/src/2221_223.html
WARN:   * dotCover.Output/src/2231_224.html
WARN: This may lead to missing/broken features in SonarCloud
INFO: CPD Executor 27 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 105 files
INFO: CPD Executor CPD calculation finished (done) | time=143ms
INFO: Analysis report generated in 677ms, dir size=3 MB
INFO: Analysis report compressed in 495ms, zip size=664 KB
INFO: Analysis report uploaded in 1376ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=xxxx_webapi-callback&branch=main
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=xxxx
INFO: Sensor cache published successfully
INFO: Time spent writing ucfgs 59ms
INFO: Analysis total time: 44.274 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------

  • Steps to reproduce
  • Potential workaround

Hi there, @Evandro_Santin

This is one of the unwanted side effects of the scanner behavior in v8, and I apologize for that.
We are working on a new version that will be published soon. This version will automatically ignore this directory, as it obviously should not be analyzed.

In the meantime, if your are using scanner v8.0.3, you can also use the /d:sonar.exclusions property to exclude any unwanted folder like this one.

Denis

Hi @denis.troller

Understood. We’ll use the exclusions parameter for now.

Thanks for the kick response!