Sonarcloud cannot read coverage report for nodejs project

Hello, I am using sonarcloud for a test project but I can’t find a way to get the coverage report. Here I have the sonarcloud config file with all the code (I set both sonar.javascript.lcov.reportPaths and sonar.testExecutionReportPaths according to tutorials), but the project page doesn’t show coverage at all. Am I doing something wrong? Thank you for your help.


Hello @daniele123321,
Please attach the analysis logs in debug mode so we can have a look at what the coverage sensor logs.

Thank you for your response. I cannot find anywhere the analysis logs, I already put sonar.log.level=debug in the file, but the only “logs” I can see are under administration > background tasks > show sonarscanner context (I included it below, but they don’t seem to contain anything relevant).
Are these logs only accessible when running sonarqube locally? I’m using only the website.

SonarCloud plugins:

  • SonarCSS (cssfamily)
  • PL/SQL Code Quality and Security (plsql)
  • Scala Code Quality and Security (sonarscala)
  • C# Code Quality and Security (csharp)
  • Vulnerability Analysis 8.6.0-M1.5425 (security)
  • Java Code Quality and Security (java)
  • HTML Code Quality and Security (web)
  • Flex Code Quality and Security (flex)
  • SonarXML (xml)
  • VB.NET Code Quality and Security (vbnet)
  • Swift Code Quality and Security (swift)
  • CFamily Code Quality and Security (cpp)
  • Python Code Quality and Security (python)
  • Go Code Quality and Security (go)
  • JaCoCo (jacoco)
  • Kotlin Code Quality and Security (kotlin)
  • Mercurial 1.1.2 (scmmercurial)
  • T-SQL Code Quality and Security (tsql)
  • Apex Code Quality and Security (sonarapex)
  • JavaScript/TypeScript Code Quality and Security (javascript)
  • Ruby Code Quality and Security (ruby)
  • Vulnerability Rules for C# 8.6.0-M1.5425 (securitycsharpfrontend)
  • Vulnerability Rules for Java 8.6.0-M1.5425 (securityjavafrontend)
  • License for SonarLint (license)
  • Vulnerability Rules for JS 8.6.0-M1.5425 (securityjsfrontend)
  • COBOL Code Quality (cobol)
  • Vulnerability Rules for Python 8.6.0-M1.5425 (securitypythonfrontend)
  • Git (scmgit)
  • PHP Code Quality and Security (php)
  • ABAP Code Quality and Security (abap)
  • Vulnerability Rules for PHP 8.6.0-M1.5425 (securityphpfrontend)
    Global server settings:
  • email.fromName=SonarCloud
  • email.prefix=[SonarCloud]
  • sonar.auth.bitbucket.enabled=true
  • sonar.core.serverBaseURL=
  • sonar.core.startTime=2020-11-17T10:58:35+0100
  • sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=480
  • sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=4
  • sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=1
  • sonar.feature_flag.bbc_code_reports.enabled=true
  • sonar.lf.enableGravatar=true
  • sonar.lf.logoWidthPx=105
  • sonar.organizations.anyoneCanCreate=true
  • sonar.organizations.createPersonalOrg=true
  • sonar.plsql.file.suffixes=sql,tab,pkb
  • sonar.tsql.file.suffixes=.tsql
    Project server settings:
  • sonar.autoscan.enabled=true
    Project scanner properties:
  • sonar.analysisUuid=AXXagCoqbzAwuilCumVp
  • sonar.coverage.exclusions=**/*
  • sonar.exclusions=/*.cs,/.c,**/.h,/*.cc,/.cpp,**/.cxx,/*.c++,/.hh,**/.hpp,/*.hxx,/.h++,**/.ipp,/*.m,/.java,**/.jav,/*sql,/tab,/*pkb,/.vb
  • sonar.login=******
  • sonar.organization=se2team8
  • sonar.password=******
  • sonar.projectBaseDir=/tmp/clone16472405942814524072
  • sonar.projectKey=s269731_PULSeBS-Team8
  • sonar.scanner.appVersion=
  • sonar.scm.provider=git
  • sonar.sourceEncoding=UTF-8
  • sonar.sources=./server/src,./client/src
  • sonar.test.exclusions=/*.cs,/.c,**/.h,/*.cc,/.cpp,**/.cxx,/*.c++,/.hh,**/.hpp,/*.hxx,/.h++,**/.ipp,/*.m,/.java,**/.jav,/*sql,/tab,/*pkb,/.vb

Where is the analysis ran from ? The analysis logs should be located there.

It’s ran automatically by Sonarcloud, I don’t manually trigger the analysis.

@daniele123321 as you can read in the automatic scan documentation limitations, coverage informations is not supported for the moment. This is why you do not see your coverage data in SonarCloud.

Thank you for your help, I managed to solve this issue by disabling automatic scanning.

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