Code coverage is not added with Automatic Analysis. You need to use the sonar-scanner to include the test coverage reports during a manual analysis (typically in CI)
what language & test framework are you using? the test framework is responsible for creating a coverage report, and sonar-scanner just expects the report file to be saved to the specified location, then it can do the work to display it on the web page