To run your code with coverage, open the Run menu and click Run with Coverage.
Results are displayed in the Coverage tool window, in the Project tool window, and in the editor.
To configure, open Settings/Preferences | Build, Execution, Deployment | Coverage.]]>