in reply to How do I detect what modules are not being used?

The best you will ever do is estimate. You can't tell if a particular line will ever run until you run that program. You can do some heuristics, but then you'll miss the hidden ones, where you "use" modules while the program is running. It's reducable to the halting problem - will a program stop running.

----
Give me strength for today.. I will not talk it away..
Just for a moment.. It will burn through the clouds.. and shine down on me.

  • Comment on Re: How do I detect what modules are not being used?