Need to understand how to read the actual test file where I have written code for coving the main code

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Hi Team,

Need to understand: I go to code coverage and see how many lines coverd !! How can I see where exactly the code written for this coverage and where I can modify so the code coverage can be 100%

Hi,

There’s no direct trace in SonarQube anymore from covered lines to the tests that cover them.

 
:woman_shrugging:
Ann

Thanks Ann. any other way or do we need to write some customize code for the same??

Hi,

I’m not sure you can address this in a plugin. I don’t think any endpoints are exposed for that. I would look instead directly at your execution reports.

 
HTH,
Ann