Software Code Quality Of Apache Analyzed
fruey writes "Following Reasoning's February analysis of the Linux TCP/IP stack (putting it ahead of many commercial implementations for it's low error density), they recently pitted Apache 2.1 source code against commercial web server offerings, although they don't say which. Apparently, Apache is close, but no cigar..."
Why don't they fix them? It seems almost paradoxical, if you find .53 errors per thousands lines of code and fix them, then you'll have 0 errors. But since we can only fix errors we can detect, we only detect errors we can fix. Ok, it's too early on a Monday morning...
Moderation: Put your hand inside the puppet head!
Just because Open-Source coders can't spell when they insert comments doesn't mean that they can't write good code!
Why does it seem a bit odd to be testing software quality with other software? I wonder if they ran their own software through its own program, but then that gets kinda weird when a program starts noticing errors about itself... maybe it'd get depressed and start ranting at the creator on how they should have taken better care of it... ok, I need more sleep
Hypothesis: Taking down IIS, Windows or Microsoft is more fun/cool.
so what are the calling a defect?
I guess would be quite a good example.
the error density in the announcement of reasoning.com is pretty high ...
testing a non released software against an unknown commercial software ... sounds like an ancient tale. where are the people who accept this kind of crap?
The defect density of the Apache code inspected was 0.53 per thousand lines of source code...
We can bring this number down to 0.2 by avoiding the BSD style guidlines. No kiddings, have you seen the density of MFC code?
BSD code:
char*
foo(int bar, double baz)
{
return bar + random();
}
MS code:
char* Foo(int nBar, double dBaz) { return bar + random() + m_ExtraWindowsBugModifier(); }
In Soviet Rush, today's Tom Sawyer gets high on you.
Turing says no.
turn up the jukebox and tell me a lie
...then why is it their webserver? :)
Of course it is Apache 1.3.23...
They didn't do that because if they did that, then they'd find bugs in their bug finder, so they'd have to run the bug finder on the bug finder to find bugs there, but then they'd have to run the bug finder on the bug finder on the...
This sig has been temporarily disconnected or is no longer in service
I compared this to my 'other' server, for now unnammed.
My 'other' server brought me coffee, 2 pieces toast, 2 eggs OVER EASY, 4 strips of bacon, *and* Smucker's Grape Jelly with nary a mistep, or hesitation. This other server smiled, asked how my wife was, and brought me a new fork when I dropped my first one.
Congratulations, Gloria! You win the 'great server' award!
This article isn't worth the 2 dollar tip.
Why doesn't Reasoning fill the niche, and code a completely error free web server? They know other peoples mistakes, so they should know how to code an error free one.
Well, seriously, I wouldn't put much in their obvious estimation.
Any technology distinguishable from magic, is insufficiently advanced.
My general rule is that if someone is quoting statictics to you, they are lying. At least on average. :)
39% of Slashdot readers already know that.
There is no reasonable defense against an idiot with an agenda
:wq
They probably compared it to IIS 7.4 to make it a fair comparison. ;-)
The # flaws per leads to:
-Every program can be at least one line shorter.
-Every program has a least x bug per xxx lines.
Conclusion:
The ideal program has no lines and no bugs.
and to prevent any insightful moddings of this post:
Yes, the design is more important than the quality of the software, ask MS about this.
The lower defect rate in Linux TCP/IP can only be explained by a large chunk of more mature, commercial, stable SCO UNIX code.
Well this certainly falls under the "duh" category. Freshly written code tends to have fewer bugs than older, well reviewed, well tested code.
Wow, next we'll learn how you shouldn't buy any Ford, GM, or Chrysler product in the first year of production.
--- It is not the things we do which we regret the most, but the things which we don't do.
These acronyms sometimes get me IMNSHO?
I Am Not A Single Horny Octupus?