It would probably be better to use something like code coverage by tests
Reply on news.ycombinator.com