Android code coverage For fragment and activity?

What do you suggest to have a good coverage code for Android code knowing that we have two type of code testing in andoid (unit test and ui-test).
How can we improve the code coverage of ui-test using SonarQube?

Hey there.

Provided that you’re importing coverage reports to SonarQube, SonarQube can tell you where you’re missing coverage (and make sure new code you’re adding to your codebase is covered), but it won’t specifically help you improve the code coverage. Is that what you mean?