|
you still need to allocate mandays to use these tools.
|
|
|
|
|
norm wrote: you still need to allocate mandays to use these tools.
If those tools automatically find bugs for you, you're actually saving mandays.
I don't see dead pixels anymore...
Yes, even I am blogging now!
|
|
|
|
|
Exactly, when was the last time management actually encourages "quality" (ie. adequate project funding, appropriate project planning...)
If they don't ask for it, don't volunteer.
|
|
|
|
|
Sadly, that's the attitude most people seem to have.
I too answered None (partly since we don't have a guideline on that, and partly because I'm a tyro), but I'll take a look at FxCop.
Cheers,
Vikram.
Google talk: binarybandit upsdude: when I looked at laurens profile, a couple of gears got stripped in my brain.
Michael Martin: Too bad she bats for the other team.
|
|
|
|
|
Might be interesting to do a survey regarding code reviews / code inspections (you know, the sort that use actual people to go over new code looking for design problems and dodgy techniques)...
|
|
|
|
|
My companies code review is kind of a joke. We have a few people that are supposed to be doing code reviews but not all of their time is dedicated to do so. Many times, our code reviewers are fully booked in a month so they barely even have time to look at others code. I have heard our code reviewers say that they actually learn a lot more being on the review team than actually doing the project. (That is, if they have time to check it over).
Brett A. Whittington
Application Developer
|
|
|
|
|
Sure, "pre-runtime" tools are quite useless.
|
|
|
|
|
I currently use lint.
When I check my big project the file that generates most errors is GridCtrl.cpp
I found it somewhere on codeproject
Michel Wassink
We must make user friendly software. Where are friendly users?
|
|
|
|
|
|
I wonder if Micrsoft realizes just how useful the CListCtrl class has become? I think the author should get a special bonus!
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
|
|
|
|
|
|
No you are not. Mind the spelling
But maybe you are related.
|
|
|
|
|
But didnt see any CListCtrl in the optional section.
-prakash
|
|
|
|
|
|
toxcct wrote:
it an old friend...
I know
-prakash
|
|
|
|
|
having just spent days getting our "cross platform" code to compile on a UNIX box any lingering faith in the "it compiles so it is fine" theory has disapeared.
since there is a limited budget for such tools any advice on a free or open source C++ tool would be appreciated
in the mean time i try to practice careful programming, combined with testing as i go along.
zen is the art of being at one with the two'ness
|
|
|
|
|
If your code is C++, I'm afraid you're probably out of luck (though there is Splint for 'C', as I mentioned above) unless you are running VS2005 - in which case you have access to PREfast.
I think Gimpel have pretty much got the market for C++ Lint tools pretty much to themselves.
Anna
Riverblade Ltd - Software Consultancy Services
Anna's Place | Tears and Laughter
"Be yourself - not what others think you should be"
- Marcia Graesch
"Anna's just a sexy-looking lesbian tart"
- A friend, trying to wind me up. It didn't work.
|
|
|
|
|
I have to use Lint but it is a bit slow. We use it for C++, ATL, MFC and QT. Sometimes I learn from Lint to get a better programmer. If I do not understand a message then I look in good C++ book and get an answer for that problem.
*** Fast Prototyping ***
|
|
|
|
|
Yep, that's our experience too.
As far as speed goes we analyse our projects in the background while we're working so it's less of an issue.
Anna
Riverblade Ltd - Software Consultancy Services
Anna's Place | Tears and Laughter
"Be yourself - not what others think you should be"
- Marcia Graesch
"Anna's just a sexy-looking lesbian tart"
- A friend, trying to wind me up. It didn't work.
|
|
|
|
|
How much time would it take for you to spot the same problems?
It doesn't matter if it's slow, if a tool took a whole month of processing to pinpoint problems in my code, I'd run it.
I don't see dead pixels anymore...
Yes, even I am blogging now!
|
|
|
|
|
Are there any free tools out there?
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
FxCop, for example, is free.
it's even integrated into VS.NET 2005
|
|
|
|
|
i was under the impression that FxCop was for C# only. certainly i have used it on C#, but i would not expect it to work on run of the mill C++ code.
however i would love to be proved wrong on this point
zen is the art of being at one with the two'ness
|
|
|
|
|
C++!!
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
Eclipse have some good C/C++ tools too !!!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|