|
I would love top use tools such as these but my workplace has way to many programs that were made from the early 1990's to the present. And even though we have a fairly large IT dept none of us have enough time to update our projects to newer ideologies and coding standards to be able to use these tools.
Brett A. Whittington
Application Developer
|
|
|
|
|
Does anybody know any code analysis tools for PHP and ASP.Net ? I have been searching for one for long time.
Possibly, it should produce list of classes, methods, their accessibility, parameters, attributes and all private variables used in any method. Pictorial representation ? More happy. I am to develop a documentation tool.
Thanks
Madhu
|
|
|
|
|
not asp (cant stand it), but Zend Studio has code analysis built into it (and gives you much of the same functionality as visual studio does w/ visual representations of stuff, like the class view).
/bb|[^b]{2}/
|
|
|
|
|
I don't use any because they all give me way too many things to fix!
|
|
|
|
|
|
A few weeks back, I recently ran my LxFramework library through FxCop.
I was so embarassed about the results. I hadn't realised how sloppy I had become. It took me four days to fix up the library to FxCop standards.
So I'm all for Code Analysis tools now, they are even more important when you are a lone programmer.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
I had the same experience while I was working at Sonardyne. It was truly scary seeing how many warnings we had across the entire solution.
I've learnt a great deal from looking at the warnings produced by my own (and other people's!) code, and I can say without any doubt that I'm a far better developer for it.
Every couple of months now I tighten up our warning policy a little and go back over the code in our current project to eradicate any warnings that doing so uncovered. In the course of doing so, I've found some real howlers at times!
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.
|
|
|
|
|
Best tool I received and I'm keeping it # cause I don't want to forget but instead learn new things, that's the whole process of learning right?... by doing Your comments?
IM PROUD TO BE A GMAIL;
|
|
|
|
|
but the thing is: is your brain updated to the latest (and most complete) cross code scanning analysis pattern?
does it performs it all (on your whole project) in 8.6200005 seconds?
anyway, I do just like you
as I said I have tryed FxCop, and I was not convince, too much garbage, so if there was a usefull advice, I missed it.
Maybe I should try again by removing many garbage rules....
|
|
|
|
|
66% of developers don't use *any* code analysis tools on their source?
Guys...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
If it compiles it works
-prakash
|
|
|
|
|
The compiler does the first stage of checking, the linker the second.
Try this @ home. (B&B)
|
|
|
|
|
If management won't pay for it, it's not gonna get used.
|
|
|
|
|
Jim A. Johnson wrote:
If management won't pay for it, it's not gonna get used.
There are free tools...
I don't see dead pixels anymore...
Yes, even I am blogging now!
|
|
|
|
|
What free tools are available for C++?
|
|
|
|
|
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!
|
|
|
|