Code Coverage is not visible

Sonar Cube version - 9.9.2
Java 8 project scanned on java 11
Sonar Cube deployment - Not sure but I am using web application
Trying to get Code Coverage on website

I have checked logs, Sonar is only scanning test files.
Do I need to add any settings to scan code as well?

I am only scanning one package and I am using default value for paths

File Structure
/package/src
/package/test

Hi,

Welcome to the community!

Please share your analysis configuration and your analysis logs.

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann