Looking at comparison matrix it looks like IDEA CE does not support code coverage at all. Bu there are lots of code coverage tools available, so perhaps it's possible to incorporate something into IDEA CE?
Coverage in the Coverage tool window If you want to reopen the Coverage tool window, select Run | Show Code Coverage Data from the main menu, or press Ctrl+Alt+F6 . The report shows the percentage of the code that has been executed or covered by tests. You can see the coverage result for classes, methods, and lines.
If the plugin is disabled, the code coverage tabs will not be visible in the run/debug configuration dialogs. Try opening Settings > Build, Execution, Deployment > Coverage and check the "Activate Coverage View" checkbox. After that run another test with Coverage.
To disable code coverage highlighting In the IDEA IDE, on the Analyze menu, click Show Code Coverage Data, or use the Ctrl+Alt+F6 keyboard shortcut. In the Code Coverage Suites dialog, choose No coverage.
In IntelliJ to add "branch coverage" to the coverage window, you can go to Run/EditConfiguration then proceed to Modify options/coverage setting and enable use tracing.
Information for people visiting this question in 2014+.
Starting with Idea 14 (currently available only in Early Access Program released in November 2014) that feature is also available in a Community Edition.
We think you’ll also appreciate the fact that Code Coverage tool, Structural Search and Replace, and Type Migration refactoring have become available in IntelliJ IDEA Community Edition.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With