SCA and Code Coverage of Typescript applications having functional test cases

Hi Team,

We want to perform SCA and Code Coverage of typescript application using Azure YAML pipeline and we have successfully performed the SCA and I want some guidance in performing Code Coverage.

Used tools and technologies:
SonarQube 9.9
Typescript 5.8.2 and Webdrive 9.12.1
BBD Cucumber testing framework.

Please provide us the information related to generate the Code Coverage of Type script application having functional test cases.

Note: We don’t have a main source code on our repo. it is a testing repo where we write functional testcases only.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.9 → 2025.1.1-> 2025.2 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your question, if there is no source code in your repository, SonarQube can’t show “coverage” because there’s nothing to “cover”.

 
HTH,
Ann