RE: [GD-General] remove unused functions
Brought to you by:
vexxed72
From: Stefan B. <ste...@te...> - 2003-05-19 20:35:19
|
> I truly "dread" :D the idea to have to manually step through all the > code and manually cull out every single un-used function by hand (it = is > a lot of code to wade through!). I wonder what tools exist inside of > MSDev (or simple easy to use small external tools) that can help me in > my highly un fun task of cleaning up my code base, specifically in the > task of removing "un-used" functions. There are coverage analysis tools that you could use to do this. = Normally these tools are used in automated testing, to verify that all code paths = are exercised by the test cases. We have some Rational PurifyPlus licenses = and as part of their package they bundle Quantify and PureCoverage. I'm sure there are lots of other packages available but I have no idea what's the best solution.=20 Anyway, just Google for "code coverage analysis" or something like = that and you should get plenty of hits. Cheers, Stef! :) -- Stefan Boberg, R&D Manager - Team17 Software Ltd. bo...@te... |