Re: [Lxr-general] Finding unreferenced functions
Brought to you by:
ajlittoz
|
From: Malcolm B. <ma...@br...> - 2005-01-08 17:54:42
|
Michael O'Connor wrote: > Hi, > > Apologies if this has been asked before. I'm wondering if anyone's tried using > lxr on a codebase to find unreferenced / unused functions. I tried this on a C > / C++ codebase I've been working in and found it very useful as part of a > clean-up exercise. I haven't heard of anyone doing this - sounds like a good idea, and a possibly useful extension to LXR. <snip description of method> > I guess there are better ways of achieving the same result, I'd like to hear > what people think. Might be, but I can't think of one off the top of my head. If you could send me the SQL you were using I can look to see if it can be built into LXR in some way - perhaps by adding a "find unused symbols" search, or by showing unused symbols in the ident search? Cheers, Malcolm |