Advice needed for a tool for c++ code analysis
-
I'm working with a project with fairly large codebase. so i'm looking for some tools, which can function the following task - Code profiling - Code formatting - Dead code detection - Clone Detection Do you know any products which helps to do all of these?, or more than that? i don't mind to purchase it even if it costs up to $15,000/-
Never Work Hard! - Work Smart!!! www.indianITforum.com
-
I'm working with a project with fairly large codebase. so i'm looking for some tools, which can function the following task - Code profiling - Code formatting - Dead code detection - Clone Detection Do you know any products which helps to do all of these?, or more than that? i don't mind to purchase it even if it costs up to $15,000/-
Never Work Hard! - Work Smart!!! www.indianITforum.com
Renjith Ramachandran wrote:
Do you know any products which helps to do all of these?
I don't know if it does all, but Visual Studio comes with a profiler.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
Renjith Ramachandran wrote:
Do you know any products which helps to do all of these?
I don't know if it does all, but Visual Studio comes with a profiler.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
Can Visual Studio detect dead code btw? It's something I've wanted to do for some time, as I find old functions sometimes in my code that aren't used anymore, but only when I stumble on them.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
-
Can Visual Studio detect dead code btw? It's something I've wanted to do for some time, as I find old functions sometimes in my code that aren't used anymore, but only when I stumble on them.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
sashoalm wrote:
Can Visual Studio detect dead code btw?
Technically, yes. I'm sure there is a more automated, efficient way, but I just put the cursor on some function, then select Source Browser from the Tools menu. In the list, select References or Callers Graph. If I needed to do this more often, I would explore other options.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
Can Visual Studio detect dead code btw? It's something I've wanted to do for some time, as I find old functions sometimes in my code that aren't used anymore, but only when I stumble on them.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
-
Renjith Ramachandran wrote:
Do you know any products which helps to do all of these?
I don't know if it does all, but Visual Studio comes with a profiler.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
visual studio features are not enough for my purpose. anyway thanks for your help.
Never Work Hard! - Work Smart!!! www.indianITforum.com
-
sashoalm wrote:
Can Visual Studio detect dead code btw?
Technically, yes. I'm sure there is a more automated, efficient way, but I just put the cursor on some function, then select Source Browser from the Tools menu. In the list, select References or Callers Graph. If I needed to do this more often, I would explore other options.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
I do something like that too (I use Visual Assist X and it has a similar feature) or just 'Find in Files' cause it's faster. But it's still only one function at a time, and I already have to suspect it is dead code. I was thinking maybe the compiler/linker had some verbose mode that could report dead code.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal