Flutterby™! : A few billion lines of code

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

A few billion lines of code

2010-02-17 05:52:57.100818+01 by Dan Lyke 1 comments

A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Real World. Some notes by the Coverity developers about lessons learned from their code analysis tool.

I learned my lesson pretty well back in the day, even when I knew more than Lint I was (eventually) convinced that for the sake of the sanity of my coworkers and employers I should just conform to what it wanted. Later I had an opportunity to run some code through Coverity and was impressed: even with dodgy constructs where I was fairly sure the code was doing the right thing, I found that rewriting to make the static analyzer happier generally led cleaner and more readable code. But I remember being a young turk, and totally understand some of the social pushback they've gotten for their tool.

Thanks to Mark Hershberger for the pointer to the article.

[ related topics: Software Engineering ]

comments in descending chronological order (reverse):

#Comment Re: made: 2010-02-17 19:38:59.073667+01 by: ebwolf

Fun! Reminds me of the good ol' days. Of course, I don't miss having to pour over the assembly output of the C compiler to figure out where the compiler bug was.

Comment policy

We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.