1

We use SCCT to get code coverage for our Play Framework project. It works great, but doesn't make it particularly easy to find where most of the missing lines are. It shows the percentage of each file covered, but doesn't give any idea of how big those files are. I'm more worried about the 70%-covered 1000-line file than the 50%-covered 30-line file.

Ideally, I'd like a list of all files, sorted by the number of uncovered lines. Any idea how to get that information from SCCT's output?

Edit: Some commenters think I'm worried about tracking the absolute number of uncovered lines. Rather, I just want to be able to find hotspots of uncovered functionality by using SCCT's line coverage as a heuristic. Any help would be appreciated.

4

0 回答 0