Recommendations for C++ sourcecode analysis tools
Michael ODonnell
michael.odonnell at comcast.net
Mon Apr 3 17:28:00 EDT 2006
>=>Meanwhile, I'm soldiering on with Cscope, Ctags and Glimpse...
>
>As long as you understand that none of those are C++ analysis tools.
Um, yes - I am painfully aware of that. Still, it's amazing how
useful those tools actually are, all things considered.
>Cscope is for C and doesn't know anything about the C++ part of C++.
Of the three it's the one I use least.
>Ctags is only for identifying locations of refs and defs.
I'm using Exhuberant Ctags and it apparently groks a bit of C++,
stuff like class and method definitions, tho it can be dumb
about it sometimes.
>Glimpse is a tool for presearching a directory hierarchy.
Yep - you can do the equivalent of a full recursive grep in
about 100 milliseconds. A number of other tools like LXR use
it under the covers. Cscope builds a similar database but seems
way slower about searching for stuff.
>If you want a tool from that class, my fave is idtools. Way superior.
Never heard of it. I'll try it in my Copious Spare Time.
More information about the gnhlug-discuss
mailing list