RubyMine 5.4.0 Web Help

3.0+

Viewing code coverage helps you detect pieces of your source code that are not affected by simulation.

To view code coverage results
  • To find out how many times a line has been hit, click the line in the gutter area.

    ruby_viewHits

    The pop-up window that opens shows the statistic for the line at caret. For lines with conditions, the pop-up window also provides statistic on the number of true and false hits.

    Use the following toolbar buttons:

    • arrowUparrowDown: jump to the next/previous groups of covered or uncovered lines.
    • settingsCoverage: open the General page of the Colors and Fonts settings, with the line Full line coverage highlighted.
    • close.png: hide coverage information.

See Also

Procedures:

Web Resources: