SonarQube Report Shows Uncovered Conditions for Minimal Vue.js Extension File Changes

I’m encountering an issue with my SonarQube report generated locally for a Vue.js extension file. Despite making only three lines of code changes, the report is indicating 22 uncovered conditions, adversely affecting my overall coverage report percentage. Can someone help me figure out this issue?

import Emitter from "tiny-emitter/instance"

mount() {
    Emitter.on(event1, value => {
    Emitter.on(event2, (value) => {
    Emitter.on(event3, value => {


  • SonarQube version: 9.3
  • Vue.js version: 3
  • Jest version: 29

Steps to Reproduce:

  1. Make the provided code changes in a Vue.js extension file.
  2. Generate a SonarQube report on the local machine.

Expected Result:
The SonarQube report should accurately reflect the minimal changes made, with the correct coverage percentage.

Actual Result:
The report is showing 22 uncovered conditions, even though the code changes are limited to three lines.


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.3 → 9.9.2 → 10.2.1 (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.

If your error persists after upgrade, please come back to us.