[IOS,Azure devops ]Code coverage not appear on a workspace

Hi everybody,

I contact you because after few search, try, i don’t arrive to understand how to resolve my problem.
i have few ios projects which use sonarcloud for code quality but for one on them the code coverage don’t appear in sonarcloud.

  • ALM used Bitbucket Cloud
  • CI system used Azure DevOps
  • Languages of the repository Swift
  • Not Error observe

INFO: Reading type hierarchy from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
INFO: No UCFGs have been included for analysis.
INFO: Sensor PythonSecuritySensor [security] (done) | time=1ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=221ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 1 source file to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with ‘git fetch --unshallow’.
INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=4ms
WARN: Missing blame information for the following files:
WARN: * sonarqube-generic-coverage.xml
WARN: This may lead to missing/broken features in SonarCloud
INFO: CPD Executor 182 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 450 files
INFO: CPD Executor CPD calculation finished (done) | time=182ms
INFO: SCM writing changed lines
WARN: Could not find ref: develop in refs/heads, refs/remotes/upstream or refs/remotes/origin
INFO: SCM writing changed lines (done) | time=5ms
INFO: Analysis report generated in 697ms, dir size=16 MB
INFO: Analysis report compressed in 2104ms, zip size=2 MB
INFO: Analysis report uploaded in 1000ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=groupemedia_pfu-qub-toolkit-ios&branch=feature%2Ftest_coverage&resolved=false
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=AXSSgQD7RsvTzmf4NQWp
INFO: Analysis total time: 40.644 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS

but i don’t find the line :
INFO: Imported coverage data for 9 files

and i don’t find the reason why.
if u have any idea of this and why i have not code coverage ?

Thanks for you help

Hi @julien404,

would you be able to post the entire log please?

Thanks for you answer. the Log

INFO: Reading type hierarchy from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
INFO: No UCFGs have been included for analysis.
INFO: Sensor PythonSecuritySensor [security] (done) | time=1ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=221ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 1 source file to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with ‘git fetch --unshallow’.
INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=4ms
WARN: Missing blame information for the following files:
WARN: * sonarqube-generic-coverage.xml
WARN: This may lead to missing/broken features in SonarCloud
INFO: CPD Executor 182 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 450 files
INFO: CPD Executor CPD calculation finished (done) | time=182ms
INFO: SCM writing changed lines
WARN: Could not find ref: develop in refs/heads, refs/remotes/upstream or refs/remotes/origin
INFO: SCM writing changed lines (done) | time=5ms
INFO: Analysis report generated in 697ms, dir size=16 MB
INFO: Analysis report compressed in 2104ms, zip size=2 MB
INFO: Analysis report uploaded in 1000ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=groupemedia_pfu-qub-toolkit-ios&branch=feature%2Ftest_coverage&resolved=false
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=AXSSgQD7RsvTzmf4NQWp
INFO: Analysis total time: 40.644 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:13.224s
INFO: Final Memory: 42M/147M
INFO: -----------------------------------------------------------------------
Finishing: Run Code Analysis

Hi @julien404,

you posted the same log of the previous post, it’s not the entire log, there is something before that log.

2020-09-15T16:01:28.3987360Z ##[section]Starting: Run Code Analysis
2020-09-15T16:01:28.3996430Z ==============================================================================
2020-09-15T16:01:28.3996840Z Task : Run Code Analysis
2020-09-15T16:01:28.3997210Z Description : Run scanner and upload the results to the SonarCloud server.
2020-09-15T16:01:28.3997630Z Version : 1.15.0
2020-09-15T16:01:28.3997910Z Author : sonarsource
2020-09-15T16:01:28.3998590Z Help : Version: 1.15.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

More Information
2020-09-15T16:01:28.3999350Z ==============================================================================
2020-09-15T16:01:28.6218210Z [command]/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/1.15.0/sonar-scanner/bin/sonar-scanner
2020-09-15T16:01:29.4064810Z INFO: Scanner configuration file: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/1.15.0/sonar-scanner/conf/sonar-scanner.properties
2020-09-15T16:01:29.4067040Z INFO: Project root configuration file: NONE
2020-09-15T16:01:29.4960500Z INFO: SonarScanner 4.4.0.2170
2020-09-15T16:01:29.4962750Z INFO: Java 11.0.8 AdoptOpenJDK (64-bit)
2020-09-15T16:01:29.4963410Z INFO: Mac OS X 10.15.6 x86_64
2020-09-15T16:01:30.2113180Z INFO: User cache: /Users/runner/.sonar/cache
2020-09-15T16:01:33.4289870Z INFO: Scanner configuration file: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/1.15.0/sonar-scanner/conf/sonar-scanner.properties
2020-09-15T16:01:33.4293270Z INFO: Project root configuration file: NONE
2020-09-15T16:01:33.4309770Z INFO: Analyzing on SonarCloud
2020-09-15T16:01:33.4312230Z INFO: Default locale: “en_US”, source code encoding: “UTF-8” (analysis is platform dependent)
2020-09-15T16:01:34.0709730Z INFO: Load global settings
2020-09-15T16:01:34.7153220Z INFO: Load global settings (done) | time=645ms
2020-09-15T16:01:34.7267870Z INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
2020-09-15T16:01:34.7335020Z INFO: User cache: /Users/runner/.sonar/cache
2020-09-15T16:01:34.7373450Z INFO: Load/download plugins
2020-09-15T16:01:34.7374470Z INFO: Load plugins index
2020-09-15T16:01:34.9114520Z INFO: Load plugins index (done) | time=174ms
2020-09-15T16:02:01.4848400Z INFO: Load/download plugins (done) | time=26748ms
2020-09-15T16:02:01.9523880Z INFO: Loaded core extensions: developer-scanner
2020-09-15T16:02:02.8010900Z INFO: Process project properties
2020-09-15T16:02:02.8112300Z INFO: Execute project builders
2020-09-15T16:02:02.8131940Z INFO: Execute project builders (done) | time=2ms
2020-09-15T16:02:02.8147490Z INFO: Project key: …
2020-09-15T16:02:02.8148590Z INFO: Base dir: /Users/runner/work/1/s
2020-09-15T16:02:02.8149170Z INFO: Working dir: /Users/runner/work/1/s/.scannerwork
2020-09-15T16:02:02.8931430Z INFO: Load project settings for component key: ‘…’
2020-09-15T16:02:03.1087560Z INFO: Load project settings for component key: ‘…’ (done) | time=216ms
2020-09-15T16:02:03.1974640Z INFO: Found an active CI vendor: ‘Azure DevOps’
2020-09-15T16:02:03.1995780Z INFO: Load project branches
2020-09-15T16:02:03.3622640Z INFO: Load project branches (done) | time=162ms
2020-09-15T16:02:03.3648380Z INFO: Check ALM binding of project ‘…’
2020-09-15T16:02:03.4771620Z INFO: Detected project binding: BOUND
2020-09-15T16:02:03.4775890Z INFO: Check ALM binding of project ‘…’ (done) | time=113ms
2020-09-15T16:02:03.4808610Z INFO: Load project pull requests
2020-09-15T16:02:03.6404210Z INFO: Load project pull requests (done) | time=159ms
2020-09-15T16:02:03.6481540Z INFO: Load branch configuration
2020-09-15T16:02:03.6483610Z INFO: Load branch configuration (done) | time=3ms
2020-09-15T16:02:03.7040050Z INFO: Load quality profiles
2020-09-15T16:02:03.8949000Z INFO: Load quality profiles (done) | time=190ms
2020-09-15T16:02:03.9035130Z INFO: Load active rules
2020-09-15T16:02:07.5764080Z INFO: Load active rules (done) | time=3673ms
2020-09-15T16:02:07.5990420Z INFO: Organization key: numeriq
2020-09-15T16:02:07.6012800Z INFO: Branch name: feature/test_coverage, type: short living
2020-09-15T16:02:07.6369720Z INFO: SCM collecting changed files in the branch
2020-09-15T16:02:07.8877550Z WARN: Could not find ref: develop in refs/heads, refs/remotes/upstream or refs/remotes/origin
2020-09-15T16:02:07.9033540Z INFO: SCM collecting changed files in the branch (done) | time=266ms
2020-09-15T16:02:07.9549720Z INFO: Indexing files…
2020-09-15T16:02:07.9555500Z INFO: Project configuration:
2020-09-15T16:02:07.9567790Z INFO: Excluded sources: **/.framework, **/.modulemap, **/.h, **/.m, /pfu-qub-test-ios/, /Generated/, Tests/, /Pods/, /…/, /…/, **/.py, /…/Stream/, **/.podspec, /Ressources/, /build/
2020-09-15T16:02:08.5870080Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/Firebase/Firebase.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5882230Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAITrackedViewController.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5920560Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAI.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5922050Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAILogger.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5924910Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIEcommerceProductAction.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5927580Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIEcommerceProduct.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5929230Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAITracker.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5930950Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIDictionaryBuilder.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5932650Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIEcommerceFields.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5939600Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIEcommercePromotion.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5943340Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Public/GoogleAnalytics/GAIFields.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5945630Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/Firebase/Firebase.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5947830Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAITrackedViewController.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5950010Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAI.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5952610Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAILogger.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5954860Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIEcommerceProductAction.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5957180Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIEcommerceProduct.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5959510Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAITracker.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5961780Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIDictionaryBuilder.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5964210Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIEcommerceFields.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5966410Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIEcommercePromotion.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:08.5968700Z WARN: File ‘/Users/runner/work/1/s/pfu-qub-test-ios/Pods/Headers/Private/GoogleAnalytics/GAIFields.h’ is ignored. It is a symbolic link targeting a file not located in project basedir.
2020-09-15T16:02:09.1709940Z INFO: 665 files indexed
2020-09-15T16:02:09.1720070Z INFO: 2250 files ignored because of inclusion/exclusion patterns
2020-09-15T16:02:09.1721410Z INFO: 0 files ignored because of scm ignore settings
2020-09-15T16:02:09.1745830Z INFO: Quality profile for swift: Sonar way
2020-09-15T16:02:09.1752050Z INFO: Quality profile for xml: Sonar way
2020-09-15T16:02:09.1754450Z INFO: ------------- Run sensors on module pfu-qub-toolkit-ios
2020-09-15T16:02:09.3642670Z INFO: Load metrics repository
2020-09-15T16:02:09.4877900Z INFO: Load metrics repository (done) | time=124ms
2020-09-15T16:02:10.9686820Z WARNING: An illegal reflective access operation has occurred
2020-09-15T16:02:10.9689870Z WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/Users/runner/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)
2020-09-15T16:02:10.9691820Z WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
2020-09-15T16:02:10.9694260Z WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2020-09-15T16:02:10.9695780Z WARNING: All illegal access operations will be denied in a future release
2020-09-15T16:02:12.7781470Z INFO: Sensor SonarCSS Rules [cssfamily]
2020-09-15T16:02:12.7800310Z INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
2020-09-15T16:02:12.7802980Z INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=2ms
2020-09-15T16:02:12.7807660Z INFO: Sensor JavaXmlSensor [java]
2020-09-15T16:02:12.7863300Z INFO: 1 source files to be analyzed
2020-09-15T16:02:13.1222190Z INFO: Load project repositories
2020-09-15T16:02:13.2692410Z INFO: Load project repositories (done) | time=147ms
2020-09-15T16:02:18.2273630Z INFO: Sensor JavaXmlSensor [java] (done) | time=5446ms
2020-09-15T16:02:18.2278430Z INFO: 1/1 source files have been analyzed
2020-09-15T16:02:18.2282260Z INFO: Sensor HTML [web]
2020-09-15T16:02:18.2373580Z INFO: Sensor HTML [web] (done) | time=9ms
2020-09-15T16:02:18.2382320Z INFO: Sensor XML Sensor [xml]
2020-09-15T16:02:18.2416010Z INFO: 1 source files to be analyzed
2020-09-15T16:02:22.9344270Z INFO: Sensor XML Sensor [xml] (done) | time=4695ms
2020-09-15T16:02:22.9346510Z INFO: 1/1 source files have been analyzed
2020-09-15T16:02:22.9349250Z INFO: Sensor SonarSwift [swift]
2020-09-15T16:02:22.9612400Z INFO: 637 source files to be analyzed
2020-09-15T16:02:33.0941960Z INFO: 344/637 files analyzed, current file: pfu-qub-common-ios/QubCommon/Analytics/IAnalyticsService.swift
2020-09-15T16:02:37.7102120Z INFO: 637/637 source files have been analyzed
2020-09-15T16:02:37.7503850Z INFO: Parse coverage report (/Users/runner/work/1/s/sonarqube-generic-coverage.xml)
2020-09-15T16:02:37.8918980Z INFO: Sensor SonarSwift [swift] (done) | time=14957ms
2020-09-15T16:02:37.8920430Z INFO: Sensor JaCoCo XML Report Importer [jacoco]
2020-09-15T16:02:37.8969390Z INFO: ‘sonar.coverage.jacoco.xmlReportPaths’ is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
2020-09-15T16:02:37.8977840Z INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
2020-09-15T16:02:37.8979500Z INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=6ms
2020-09-15T16:02:37.8981330Z INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
2020-09-15T16:02:37.9013630Z INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=3ms
2020-09-15T16:02:37.9015350Z INFO: Sensor JavaSecuritySensor [security]
2020-09-15T16:02:37.9018090Z INFO: Reading type hierarchy from: /Users/runner/work/1/s/.scannerwork/ucfg2/java
2020-09-15T16:02:37.9019930Z INFO: Read 0 type definitions
2020-09-15T16:02:37.9055010Z INFO: Reading UCFGs from: /Users/runner/work/1/s/.scannerwork/ucfg2/java
2020-09-15T16:02:37.9065340Z INFO: No UCFGs have been included for analysis.
2020-09-15T16:02:37.9069260Z INFO: Sensor JavaSecuritySensor [security] (done) | time=5ms
2020-09-15T16:02:37.9070130Z INFO: Sensor CSharpSecuritySensor [security]
2020-09-15T16:02:37.9070920Z INFO: Reading type hierarchy from: /Users/runner/work/1/s/ucfg_cs2
2020-09-15T16:02:37.9071650Z INFO: Read 0 type definitions
2020-09-15T16:02:37.9072350Z INFO: Reading UCFGs from: /Users/runner/work/1/s/ucfg_cs2
2020-09-15T16:02:37.9082520Z INFO: No UCFGs have been included for analysis.
2020-09-15T16:02:37.9083510Z INFO: Sensor CSharpSecuritySensor [security] (done) | time=0ms
2020-09-15T16:02:37.9084290Z INFO: Sensor PhpSecuritySensor [security]
2020-09-15T16:02:37.9085080Z INFO: Reading type hierarchy from: /Users/runner/work/1/s/.scannerwork/ucfg2/php
2020-09-15T16:02:37.9085900Z INFO: Read 0 type definitions
2020-09-15T16:02:37.9086650Z INFO: Reading UCFGs from: /Users/runner/work/1/s/.scannerwork/ucfg2/php
2020-09-15T16:02:37.9087420Z INFO: No UCFGs have been included for analysis.
2020-09-15T16:02:37.9088160Z INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms
2020-09-15T16:02:37.9088880Z INFO: Sensor PythonSecuritySensor [security]
2020-09-15T16:02:37.9089640Z INFO: Reading type hierarchy from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
2020-09-15T16:02:37.9090550Z INFO: Read 0 type definitions
2020-09-15T16:02:37.9090950Z INFO: Reading UCFGs from: /Users/runner/work/1/s/.scannerwork/ucfg2/python
2020-09-15T16:02:37.9091350Z INFO: No UCFGs have been included for analysis.
2020-09-15T16:02:37.9092230Z INFO: Sensor PythonSecuritySensor [security] (done) | time=1ms
2020-09-15T16:02:37.9149770Z INFO: ------------- Run sensors on project
2020-09-15T16:02:37.9317910Z INFO: Sensor Zero Coverage Sensor
2020-09-15T16:02:38.1531040Z INFO: Sensor Zero Coverage Sensor (done) | time=221ms
2020-09-15T16:02:38.1586290Z INFO: SCM Publisher SCM provider for this project is: git
2020-09-15T16:02:38.1597340Z INFO: SCM Publisher 1 source file to be analyzed
2020-09-15T16:02:38.1633830Z WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with ‘git fetch --unshallow’.
2020-09-15T16:02:38.1639190Z INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=4ms
2020-09-15T16:02:38.1641060Z WARN: Missing blame information for the following files:
2020-09-15T16:02:38.1643150Z WARN: * sonarqube-generic-coverage.xml
2020-09-15T16:02:38.1648010Z WARN: This may lead to missing/broken features in SonarCloud
2020-09-15T16:02:38.2053520Z INFO: CPD Executor 182 files had no CPD blocks
2020-09-15T16:02:38.2054980Z INFO: CPD Executor Calculating CPD for 450 files
2020-09-15T16:02:38.3883880Z INFO: CPD Executor CPD calculation finished (done) | time=182ms
2020-09-15T16:02:39.0809840Z INFO: SCM writing changed lines
2020-09-15T16:02:39.0857340Z WARN: Could not find ref: develop in refs/heads, refs/remotes/upstream or refs/remotes/origin
2020-09-15T16:02:39.0861840Z INFO: SCM writing changed lines (done) | time=5ms
2020-09-15T16:02:39.1579720Z INFO: Analysis report generated in 697ms, dir size=16 MB
2020-09-15T16:02:41.2624680Z INFO: Analysis report compressed in 2104ms, zip size=2 MB
2020-09-15T16:02:42.2634180Z INFO: Analysis report uploaded in 1000ms
2020-09-15T16:02:42.2694190Z INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/d
2020-09-15T16:02:42.2695220Z INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
2020-09-15T16:02:42.2695890Z INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=
2020-09-15T16:02:42.5966640Z INFO: Analysis total time: 40.644 s
2020-09-15T16:02:42.6107130Z INFO: ------------------------------------------------------------------------
2020-09-15T16:02:42.6107800Z INFO: EXECUTION SUCCESS
2020-09-15T16:02:42.6108590Z INFO: ------------------------------------------------------------------------
2020-09-15T16:02:42.6109050Z INFO: Total time: 1:13.224s
2020-09-15T16:02:42.8522500Z INFO: Final Memory: 42M/147M
2020-09-15T16:02:42.8524460Z INFO: ------------------------------------------------------------------------
2020-09-15T16:02:42.9376920Z ##[section]Finishing: Run Code Analysis

Hi @julien404,

thank you for the log. How are you passing the coverage report to sonar-scanner? Which property are you setting?

i use this
sonar.swift.coverage.reportPaths = $(Build.Repository.LocalPath)/sonarqube-generic-coverage.xml

Hi @julien404,

this property is for llvm-cov reports.

If you want to use generic coverage format you should use sonar.coverageReportPaths instead.

See the documentation page: Test coverage overview.

i try and i come back you

Thanks it works :slight_smile:

1 Like

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