dead (unused) code/resource analysis tools
-
On a go-forward basis, no doubt...
Software Zen:
delete this;
-
You mean static analysis tools? Check out Visual Lint[^] (Anna-Jayne and Beth's product) which intergrates Lint into VS very well. If you've got more money than a cat deserves there are tools like Macabe and Coverity.
Visit http://www.notreadytogiveup.com/[^] and do something special today.
Trollslayer wrote:
If you've got more money than a cat deserves there are tools like Macabe and Coverity.
No, nothing like that. I'll probably have a hard time with convincing them to buy anything above $300 or so. :( What do you do though? Thanks for the link and suggestion. I'll certainly give it a look. Mike
-
MikeBeard wrote:
I've been tasked with
Grumble, mutter...
-
You mean static analysis tools? Check out Visual Lint[^] (Anna-Jayne and Beth's product) which intergrates Lint into VS very well. If you've got more money than a cat deserves there are tools like Macabe and Coverity.
Visit http://www.notreadytogiveup.com/[^] and do something special today.
-
Hi everyone! I was wondering if any of you know of decent tools that will analyze C++ code and point out unused code and/or resources. I've been tasked with finding all of the dialog resources in our application (more than 1200) and then try to figure out which of them are not being used (good possibility that a decent portion of them aren't used anymore). There is, of course, the hard way to do this, but I'm hoping that there are some sort of tools out there that would do this for me or, at least, make it less painful and tedious. Any pointers, tools, or suggestions will be greatly appreciated. Thanks! Mike
Not free, but I have used it and it works REALLY well for this. [^] Used it on a 1 million+ LOC project at my last job and it was very insightful for removing dead code, replicated code (because the dummies that worked there before me didn't understand the idea of using libraries!), and finding overall messy functions and modules. David
-
Not free, but I have used it and it works REALLY well for this. [^] Used it on a 1 million+ LOC project at my last job and it was very insightful for removing dead code, replicated code (because the dummies that worked there before me didn't understand the idea of using libraries!), and finding overall messy functions and modules. David
-
naturally, being proactive synergizes core competencies...
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
Oooh, sounds kinky. I've only had my core competencies evaluated, or composted, or my composte synthesized, or something like that.
Software Zen:
delete this;
-
Thanks, I'll check it out. Too bad it can't find unused resources. I wonder if any package is going to (that I might be able to convince work to buy)? Thanks again! Mike
If I had time, I'd modify ResOrg to do it. :-O BTW, if you need help setting up PC-Lint to do whole project analysis, let me know. It's pretty straightforward, but takes a bit of getting used to at first.
Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"
-
If I had time, I'd modify ResOrg to do it. :-O BTW, if you need help setting up PC-Lint to do whole project analysis, let me know. It's pretty straightforward, but takes a bit of getting used to at first.
Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"
Anna-Jayne Metcalfe wrote:
BTW, if you need help setting up PC-Lint to do whole project analysis, let me know. It's pretty straightforward, but takes a bit of getting used to at first.
Thanks Anna. If I can convince work to buy PC-Lint (which I'd love to have access to) then I might give a yell. Out of curiousity, does Visual Lint do the same as PC-Lint? Do you need PC-Lint for Visual Lint to work? I didn't get much time to look at the website, so if it says, sorry. If it does the same thing, then I'll gun for Visual Lint, as it would help someone here in the CodeProject community. Even if it's an add-on, I'll still shoot for it. It looks like it would be quite helpful. If you don't ask, you'll never know! :-D [edit] As I was clicking away from the site, I saw the answer. Works with PC-Lint. I must be blind! Ok, so now to convince work to get PC-Lint and then work on them to get other useful tools (Visual Lint) to help later, if I can't get it all in one pass. [/edit] ResOrg looks interesting as well. I'll have to go back and look at the site and features later. Thanks for the reply and help. This is something I'm going to have to tackle fairly soon, so ... Mike
-
Anna-Jayne Metcalfe wrote:
BTW, if you need help setting up PC-Lint to do whole project analysis, let me know. It's pretty straightforward, but takes a bit of getting used to at first.
Thanks Anna. If I can convince work to buy PC-Lint (which I'd love to have access to) then I might give a yell. Out of curiousity, does Visual Lint do the same as PC-Lint? Do you need PC-Lint for Visual Lint to work? I didn't get much time to look at the website, so if it says, sorry. If it does the same thing, then I'll gun for Visual Lint, as it would help someone here in the CodeProject community. Even if it's an add-on, I'll still shoot for it. It looks like it would be quite helpful. If you don't ask, you'll never know! :-D [edit] As I was clicking away from the site, I saw the answer. Works with PC-Lint. I must be blind! Ok, so now to convince work to get PC-Lint and then work on them to get other useful tools (Visual Lint) to help later, if I can't get it all in one pass. [/edit] ResOrg looks interesting as well. I'll have to go back and look at the site and features later. Thanks for the reply and help. This is something I'm going to have to tackle fairly soon, so ... Mike
Anytime! If there's anything I can do to help, just let me know. :rose:
Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"