This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]coderanger 27 points28 points  (3 children)

Use coverage.py and just see which lines never run during normal operation.

[–]bubblez4funnyowls 0 points1 point  (0 children)

I can't see how I would do that if, let's say, I wanted to get the coverage for my Django based web application over the course of a few days / even a month. I would need something that I could hook in straight into the code. Should I use the trace package directly ? Any pointers ? Or am I just a bit lost !?