When it comes to test coverage, context is king. Knowing a file’s overall coverage percentage is certainly helpful, but it’s not necessarily actionable. What you really want to know is which individual lines of code aren’t covered by any tests.
Code Climate can help here, as our recently released Coverage page now links to line-by-line coverage breakdowns for each file.
Within the breakdown, green lines are covered by at least one test, while red lines aren’t covered at all. Unshaded lines are not testable.
If you’re not already sending us your test coverage data, now’s a great time to start! Just follow the set up instructions in our help doc. If you run into any trouble, or have any feedback, let us know.