Slashdot Mirror


Debugging in OSS Always Faster

dex@ruunat writes "Damien Challet and Yann Le Du of the University of Oxford studied a model of software bug dynamics, which resulted in a paper on cond-mat this morning. In this paper they study the difference in evolution of number of bugs in open and closed source projects. They conclude: 'When the program is written from scratch, the first phase of development is characterized by a fast decline of the number of bugs, followed by a slow phase where most bugs have been fixed, hence, are hard to find'. Another, perhaps surprising conclusion is that debugging in open source projects is always faster than in closed source projects."

71 of 297 comments (clear)

  1. Possible explanation? by Lane.exe · · Score: 4, Interesting
    Could this be because OS projects tend to be, on the average, smaller than closed-source?

    --
    IAALS.
    1. Re:Possible explanation? by SpaceLifeForm · · Score: 3, Insightful

      Not always. A more likely explanation is the 'many eyes' that can review the code.

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
    2. Re:Possible explanation? by Anonymous Coward · · Score: 4, Interesting

      not always.

      What we need is a QUALIT RATING or SECURITY or DESIGN ratings for OSS.

      There is too much crap that is accepted as is because it is FREE.

      I want QUALITY software, I want to see what footprints the software uses, what info is left where etc (security ratings), I want to see USABILITY (design ratings), good layouts, not like 100 sepereate windows where an MDI type frame with docking would be better (photoshop vs GIMP etc) and so on.

      OSS NEEDS this.

    3. Re:Possible explanation? by macrom · · Score: 4, Insightful

      I would think the opposite -- that there are more (talented?) eyes looking at OS projects than CS projects. Many times closed projects have several developers, but only one ever sees a particular module at any given time. At my current company, we have 30 or so developers, but the modules I write are owned by me and usually only seen by me. Peer review sessions can alleviate this, but those are generally short and cover major functionality. With OSS, you have an untold number of eyes viewing a project that can help catch problems in a more timely manner.

      The theory that your best work will be done when the most eyes are watching can also apply. I think we (developers) are all guilty of shoving some nasty code in a project at some time or another under the notion that no one else will ever see it. When the whole world can look at your work, sometimes those attitudes change.

    4. Re:Possible explanation? by tomstdenis · · Score: 3, Interesting

      Linux. Nuff said.

      Besides, you'd be surprised how many commercial libs out there are based on OSS. Like all the zlib variants. Or all the MP3 decoders, etc...

      The difference is more of a "reputation" is at stake in OSS. You can't just half-ass write something that works most of the time when your name is all over it.

      Of the few software firms I've worked in most of the software developers are in the mindset "if the program runs and doesn't crash, its all good" which leads to horribly incomplete poorly factored source code that is a bitch to work on.

      Tom

      --
      Someday, I'll have a real sig.
    5. Re:Possible explanation? by athakur999 · · Score: 4, Insightful

      Something else I can think of is that your testers have access to the code and can give you more precise bug reports than if they were doing traditional black box testing. Better bug reports and information means less time investigating.

      --
      "People that quote themselves in their signatures bother me" - athakur999
    6. Re:Possible explanation? by jared_hanson · · Score: 4, Insightful

      There are a number of different possiblities here, given the different dynamics of each group.

      1. In general, there are more users of closed source software, so bugs may be discovered at a faster rate. With limited development resources, the greater number of bugs take longer to fix.

      2. Users of open source software tend to be more programmer-minded. They find bugs and fix them themselves, since they have access to the source code. Everyone fixing their own bugs leads to faster debugging times.

      3. In larger companies, development and test typically are two distinct groups. There is an inherent lag in this that leads to slower response time in removing bugs. Open source software is developed and tested by the same core, ususally small group. Since the same people develop and test, they are more likely to find the bugs in their own code and fix them quicker.

      Just some observations, and I am sure there are other reasons. I'm sure the results of the study are a combination of many factors.

      --
      -- Fighting mediocrity one bad post at a time.
    7. Re:Possible explanation? by Osty · · Score: 5, Insightful

      With OSS, you have an untold number of eyes viewing a project that can help catch problems in a more timely manner.

      Your "untold number of eyes" is nearly indistinguishable from "0" unless your open source project is widely used. Sure, this may hold for the Linux kernel, or Apache, or even Mozilla, but what about all of the open source projects on SourceForge?


      At my current company, we have 30 or so developers, but the modules I write are owned by me and usually only seen by me. Peer review sessions can alleviate this, but those are generally short and cover major functionality.

      Sounds to me like you're working with an inadequate number of testers, or at least an inadequate unit testing plan for developers. Testers are invaluable because that's all they do -- test code. This frees up the developer to be able to actually write code while not having to sacrifice quality for lack of testing. Sure, it's more expensive to hire both testers and developers, but I'd bet that of your 30 or so developers, you could fire 10 of them and hire 15 testers for the same cost, and still have enough man power for development while increasing your code quality from rigorous testing. (Note: This isn't saying that developers can or should write bad code so long as they have testers. Developers should still aspire to writing quality code, so that the testers can focus on the really heinous parts, and not on trivial bugs or logic errors. But at least with testers and good unit tests, you're less likely to let slip a silly bug.)


      The theory that your best work will be done when the most eyes are watching can also apply. I think we (developers) are all guilty of shoving some nasty code in a project at some time or another under the notion that no one else will ever see it. When the whole world can look at your work, sometimes those attitudes change.

      That may be true in theory, but it doesn't pan out in practice. In practice, most open source projects will only be seen (code-wise) by the author(s). If you're lucky, you might have two or three active users that will submit bugs or patches, but often that's not the case.

    8. Re:Possible explanation? by dasmegabyte · · Score: 2, Insightful

      We have egos at work too. I am not supposed to TOUCH anything my coworkers do, it is THEIR code and THEIRS to command, hands off! Even when I sneak a peek and find obvious bugs, I am not allowed to fix them because it violates territoriality.

      This sort of code hording is impossible in OSS, and it's a shame. It's well known in literary circles that the more eyes that grace a page, editorially, the more likely you'll be to have a coherent and gramatically correct work. Code is no different IMO.

      Of course, code hording does decrease the inevitable argument over implementation that plague many software houses...and for which OSS is uniquely famous.

      --
      Hey freaks: now you're ju
    9. Re:Possible explanation? by Graspee_Leemoor · · Score: 3, Funny

      That explains why I debug so fast! I have many eyes. At last count I had 27! (Some of them are in the back of my head though, which means they can only debug things behind me).

      graspee

    10. Re:Possible explanation? by drzhivago · · Score: 2, Insightful

      That is a general insight into bug testing and perfectly valid, except your statement is a bit flawed.

      If the testers have some general coding and OS knowledge, they can help determine the fix before sending off an issue. It doesn't really matter whether the code is publicly available or not. Testers for non-open source projects can have access to the code as well. The code isn't usually kept in a vault with armed guards protecting it, you know. It is more a matter of having knowledgable and studious testers.

    11. Re:Possible explanation? by jafac · · Score: 4, Interesting

      I work in an environment where we do Peer Reviews, and I've worked, in the past, in an environment where "if it compiles, ship it" - and I'll say that even if the Peers occasionally miss problems in the Review - the coder who has to present it to the Peers has a TOTALLY different attitude.

      I see code that's very carefully analyzed first, thoroughly commented, thoughtfully indented, module, class, and variable names, though generally longer, they make sense. People go out of their way to be elegant.

      I think that Peer Review is probably MORE important to overall quality of the end product, than developer experience. That's just my opinion, but after living the chaos that was a non-peer reviewed environment for 10 years, the attitudes, etc. there's really a huge difference.

      It's even better if the Review team reserves the right, by convention, to give the presenter a wedgie if they don't like their code.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    12. Re:Possible explanation? by Dalcius · · Score: 4, Interesting

      "Your "untold number of eyes" is nearly indistinguishable from "0" unless your open source project is widely used. Sure, this may hold for the Linux kernel, or Apache, or even Mozilla, but what about all of the open source projects on SourceForge?"

      While this argument does hold merit, I do think you would be surprised at the amount of looking over that utilities get. Ever hear of SDMS? Probably not. Not many folks have, I would reckon. I did some work with this project almost two years ago trying to implement PostgreSQL support so our company could use the utility internally. I found a few bugs and sent back patches as well as my changes to incorporate Postgres support. I can't speak as to the bug changes, but some time later Postgres support was added to the project.

      This is but one example, but I think it's fair to say that, although "millions and jillions of eyes are looking!!!11!" isn't correct, there are more eyes looking than you would imagine. There are only so many categories of software, and each have a good number of users.

      "Sounds to me like you're working with an inadequate number of testers, or at least an inadequate unit testing plan for developers."

      At the risk of sounding like an ass, have you or are you now working as a programmer? Testers are a valuable commodity, but are rarely used in the manner that they should be. The company that I work for is a good example, though we're attempting to move in that direction.
      Even with that said, this point is generally moot as one can argue that "more heads are better than none."

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    13. Re:Possible explanation? by damiam · · Score: 3, Interesting
      That's true, but the Photoshop UI does have some advantages over Gimp - the menu and toolboxes are always visible, and not liable to get hidden behind picture windows. Sure, you can say "Just tell your WM to make the main GIMP window stay on top", but not all WMs (Windows, for example) can easily do that. Even then, it's annoying to maximise an image and have it overlap the toolbox.

      I like the way Photoshop for Mac is done. It's not MDI, because all windows are managed by the WM, but it gives it enough hints to ensure that things just work. For example, if I click on the GIMP's icon in my dock/taskbar/panel, I want to see the image I'm working on, not just the GIMP toolbox. Photoshop gets this right, and GIMP doesn't.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    14. Re:Possible explanation? by listen · · Score: 2, Insightful

      The gimps ui is totally app centered. The "in charge" window is the toolbox.

      The gimp could be fixed pretty easily to annoy a lot of people less:
      1) Menus across the top of each image window.
      The right click to access the main menu is not familiar at all to most people. To fitts law lovers :
      when gtk supports universal menus, that will work,
      currently, it doesn't.
      2) The toolbox should not be the master of the universe -
      When the last image is closed, the gimp should close.

      But I think the whole thing would be even better off with a "normal" interface, ie like Koffice or Gnumeric, with dockable toolboxes, etc.

    15. Re:Possible explanation? by ColaMan · · Score: 4, Funny

      You can't just half-ass write something that works most of the time when your name is all over it

      Well, looking at most OSS projects, you can do that as long as :

      1) No-one else has done it yet.
      2) You mention in the source that this is a "half-ass hack that I threw together to make something work"

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    16. Re:Possible explanation? by clem · · Score: 2, Funny

      That explains why I debug so fast! I have many eyes. At last count I had 27! (Some of them are in the back of my head though, which means they can only debug things behind me).

      Well, as they say, hindsight is 20/20.

      --
      Your courageous and selfless spelling corrections have made me a better person.
    17. Re:Possible explanation? by po8 · · Score: 2, Interesting

      Heh. I was reading the source code for XGammon for some random reason a few months ago, and the README said

      An Imakefile is provided now.
      Thanks to thomas@ghpc8.ihf.rwth-aachen.de and
      Bart Skinner (bart@skinner.cs.uoregon.edu)
      and later
      Portation: SunOS 4.1 4.2 bart@skinner.cs.uoregon.edu, was the first and many others.

      I sat there for a moment trying to figure out who this Bart Skinner person was: I had done CS at U. Oregon in that time frame, and couldn't remember the name. Finally it came to me: it was me.

      I had given the authors some help with the program back in the day and since totally forgotten about it. They had credited me (thanks!) but had confused the hostname of the machine I was on with my last name: as a result, I didn't recognize me for a moment.

      It was a pretty obscure piece of code in its heyday. In 2003 it's even more obscure. A few months ago I was looking at the source...

    18. Re:Possible explanation? by Dalcius · · Score: 2, Interesting

      To be fair, I'm young as well (I'm 20). Minus a year for college, I've been working as a programmer at my company since the summer of 2000 (with a lot of recreational programming before that).

      For the last year, I've been working as a "Software Analyst". I get bug reports that our setup folks can't solve and I solve them. This often requires a lot of code hunting. We've got everything from extremely junky Fortran 77 (no whitespace, no variable names over 6 characters -- and Fortran at that) for our legacy app, and some CGI programs written in spaghetti-code C (with a good mix of HTML templating and javascript thrown in)! Even better, this all runs on HP-UX. Needless to say, I get plenty of practice fielding bad code and weird issues. =)

      Our development team is comprised of 12 developers total, and only in the last 4 years has it grown past a four man team. The company is now around 50 heads total, and a QA department is in sight (the Software Analysts will eventually be QA).

      Anyway, our newer products are all based on open source tools. PostgreSQL, Apache, Linux, Perl, Mason, ORBit, etc. The source code, mailing lists, IRC, etc. and the open attitude have made things a breeze, not to mention these tools have saved us a very large sum of money in licensing costs.

      This is quite possibly the exception to the rule, I have no problem admitting that. Somehow, though, from what I hear of other companies, this isn't all too uncommon.

      Cheers

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    19. Re:Possible explanation? by Osty · · Score: 2, Insightful

      I find propietarty software restricted to what the developer originally had in mind.

      That's not entirely true. Specifically, if your closed source app includes a decent plugin architecture and enough documentation to get going, you're no longer restricted to what the original developers planned. For example, take Winamp. In the broader sense you're still limited to playing media, but the original developers surely didn't write it with playing music from NES ROMs in mind. Yet because they build a decent plugin architecture for various components (input, output, visualization, general), winamp can do just that. Another good example would be Internet Explorer. It was designed to be a best-of-breed web browser, but you can do so much more with it. You can embed it in your own applications, you can extend it, you can write activeX objects that allow it to display other formats than HTML (like pdf or Word documents).


      Having source code is not a requirement for extending an application to suit your needs if the developers had enough forethought to allow for that with proper architecture. Granted, if the architecture isn't there then you can't do much, but that's more the exception than the rule these days.

  2. In other news ... by The+Clockwork+Troll · · Score: 5, Funny

    Studies reveal that debugging is easier when you do not strip symbols from binaries!

    --

    There are no karma whores, only moderation johns
  3. Re:Who's surprised? by M.C.+Hampster · · Score: 2, Funny

    What's so surprising that OSS is easier to debug? You don't see Windows anywhere near bug free do you?

    Ah yes, because we all know that Windows is, in fact, the only closed software in existence.

    --
    Forget the whales - save the babies.
  4. Faster to debug? by Anonymous Coward · · Score: 2, Interesting

    Why does it matter if the source is open? The article should be talking about software developed by a team of individuales (including OSS) vs. software by one individual. If the source is open, there may be additional people looking at the sourcecode, but if there are many contributors the source may be a big mess of 50 different coding styles. (can't agree on a single way to splice a string, etc)

    --
    Getting too much pr0n?

    1. Re:Faster to debug? by tomstdenis · · Score: 2, Interesting

      While generally that is true you'd be surprised how many people trust you at face value. [cheap plug] one of my OSS projects is a crypto library. You'd be surprised how few people actually verify test vectors for themselves before deploying a project using my lib.

      While I [as I suppose many OSS developers] try to write good code, all too many end users [often other developers] will simply plomp a library in and use it.

      How many times can you honestly say you verified the source for vorbis/ogg or zlib or etc... for corectness?

      Tom

      --
      Someday, I'll have a real sig.
    2. Re:Faster to debug? by Geekboy(Wizard) · · Score: 2, Informative

      That's why style(9) was created. Do it one way, the right way, MY way. ;-)

      (Also, ask all of your contributors to send patches in your style. If you are the main coder for a project, that is an easy thing to handle. If you are part of a team, have the team code in a particular style. Doesn't matter which one, as long as you guys are consistant.)

  5. Look at lifecycle by Anonymous Coward · · Score: 2, Interesting

    In the open source world, people are more willing to let a project die and be replaced than in close source.

    I know when I work on open source, if something is really ugly and needs to be replaced, I do. In a close source world thats often considered too risky and old unmaintainable code hangs around forever.

  6. Not very impressed by zapp · · Score: 5, Insightful

    As with all statistics, you can make them say whatever you want...

    Maybe most OSS projects are easier to debug because of lack of features, or smaller scope, etc.

    What percentage of OSS projects, on say sourceforge.net, have a version number 1.0? (and are "widely" used). The first one that comes to my mind is MythTV and/or FreeVo. I can't speak of freevo, but mythtv (while being impressive) is still very bug ridden and has been out for over a year.

    Another factor is the user group, of course. With OSS I imagine the kernel gets more bugs submitted by users than mythtv, just because the users aren't so much code hackers... they just want to use it.

    The one rule in the software engineering is that there are no rules.

    --
    no comment
    1. Re:Not very impressed by deadsaijinx* · · Score: 2, Funny


      The one rule in the software engineering is that there are no rules.


      YOU FOOL! Your paradox has just ripped a hole in the space time continum! Now the planets will collapse upon themselves, destroying the entire universe. We will all enter a parrallel dimension the size of a pin tac. it will be very cold. jerk

      --
      YOU SUCK BALLS!
    2. Re:Not very impressed by Otter · · Score: 3, Insightful
      As with all statistics, you can make them say whatever you want...

      While I applaud all the people trying to propose alternative explanations for their findings -- if you read the paper, there are no findings.

      They have a statistical model that shows that "release early, release often" will cause bugs to be fixed faster, all things being equal, and that a handful of projects (Linux, Mozilla) have scaling behavior that fits their model. That's all.

    3. Re:Not very impressed by rmohr02 · · Score: 2, Insightful
      What percentage of OSS projects, on say sourceforge.net, have a version number 1.0? (and are "widely" used).
      I'd say that projects saying their development status is at 5 - Production/Stable would be a better comparison.

      Looking through the first couple pages I see phpMyAdmin, Gaim, BitTorrent, and NTFS support for Linux. I'm sure there's more widely used apps there, but I either don't know them, or didn't want to look through all the pages.
    4. Re:Not very impressed by nathanh · · Score: 3, Flamebait
      As with all statistics, you can make them say whatever you want...

      This is false. An urban myth. Something that people like to say to make themselves sound more knowledgeable than they really are. The reality is that statistics is a mathematical field and it is as rigorous as any other mathematical field.

      The real problem is that people think they understand statistics when they do not. They will claim "statistics say blah" when the statistics say nothing of the sort. The non-mathematical audience blames the statistics instead of their own ignorance.

    5. Re:Not very impressed by Mostly+a+lurker · · Score: 4, Insightful
      As with all statistics, you can make them say whatever you want...

      This is false. An urban myth. Something that people like to say to make themselves sound more knowledgeable than they really are. The reality is that statistics is a mathematical field and it is as rigorous as any other mathematical field.

      Thank you for correcting my misunderstanding on this. I have always naively assumed that the raw data selected for analysis was somewhat important. In the future, I shall never doubt the result of those benchmarks I see reported as long as the numbers are correctly calculated using appropriate statistical formulae.

  7. Faster debugging in Open Source by Cato+the+Elder · · Score: 5, Insightful

    The paper's conculsion seemed to be that debugging open source projects is faster because you don't have a version problem where customers report bugs in code that has already been modified for the next version.

    I don't buy it. Many open source projects (ACE/TAO, Mozilla) for instance have large customer bases using non-current versions, and presumably finding bugs. Sure, if you only want to fix the bug in the released version, its faster, but it's not like closed source vendors don't have the source code to their previous release to debug with.

    Sure debugging is faster if you always make everyone upgrade to the latest version before filing a bug report. Good luck getting mass acceptance with that.

    1. Re:Faster debugging in Open Source by Zork+the+Almighty · · Score: 3, Insightful

      Good points, however when developers fix a bug in the latest version, can't they *sometimes* go back and fix earlier versions as well ?

      I think that the most debugging benefit that open source provides is that knowledgeable users sometimes do all the work for you...

      --

      In Soviet America the banks rob you!
    2. Re:Faster debugging in Open Source by iabervon · · Score: 2, Insightful

      Frequently, if a bug never got reported in an old version, it didn't get fixed, and it's still present in the new version (unless the project has taken to rewriting the whole thing frequently). If a bug has been reported in the old version and fixed in the latest version, you can frequently determine this, because you have access to the bug reports and mailing list archives. So you know if upgrading will fix your problem.

      It's also possible that you get can and apply a patch that solves your problem. I've done this when I was having a problem with the latest (at the time) release of JBoss that had a fix proposed. I got the source to the version I was using before, patched it with the patch from the mailing list, built it, and it worked fine. Try doing that with a closed-source product.

  8. bug reports by DarkSkiesAhead · · Score: 3, Insightful


    I'd imagine that one of the most difficult parts of debugging for a large OSS project is dealing with the deluge of bug reports.

  9. Re:Who's surprised? by SweetAndSourJesus · · Score: 5, Funny

    What do you want, Windows nightlies?

    The very concept fills me with dread.

    --

    --
    the strongest word is still the word "free"
  10. I thought this was agreed on .... by Anonymous Coward · · Score: 2, Insightful

    "Another, perhaps surprising conclusion is that debugging in open source projects is always faster than in closed source projects."

    I thought that this was the one pro OSS argument that was the least argued; release early and often (since the only way to simulate all the different conditions your software will encounter in the outside world .... is to release it to the outside world)

    This is also based on the fact (?) that the hardest part about squashing bugs is finding them ...

    Is this actually controversial? (seems pretty much common sense to me, but I do not do programming as a profession, have I been misled?)

    PS

    Not to take anything away, it's one thing to have something be so "obvious" as to be "common sense", and quite another to have some data to back it up ...

  11. Mediocre Propoganda at Best, A Joke at Worse by Gabe+Garza · · Score: 5, Insightful
    I know this is Slashdot and the party line is "OSS Rules!," but this seems pushing it even for this audience.

    This was a paper written for a class on statistics. It was not a rigorous study. Their findings are based on a lot of assumptions. They have a very small sample set--they only test their model on Linux, fetchmail, and Mozilla. Many people, including myself, consider these the cream of the crop so far as OSS goes.

    Before you praise it, I urge you to actually read the paper. Don't be intimidated by it--FUD is FUD, even if it's mixed with a heavy does of greek letters and charts.

    1. Re:Mediocre Propoganda at Best, A Joke at Worse by Chris_Stankowitz · · Score: 2, Funny

      You have angered the /. gods now.

      Mod parent and grandparent and great-grandparent down.

      Also, mod parents children down.

      Also, mod great-great-grandparents great-great-granddaughters down.

      Also, say up unto them verily, that the mod of the parent will be cast down the generations to be a mod on the children, and on the children's children, and on the children's children's chilluns.

      And also, mod down the nephews of the parents of the sibilings of the grandparent for though they be trolls or flaimbait, they are righteous in the eyes of the moderators.

      And thou shalt visit the mods onto the descendents on through the generations, for I, your Mod, have smote upon thee a mod pestilence that shalt not be lifted until the second coming of the JonKats.

      Thanks be to Mod, Amen

    2. Re:Mediocre Propoganda at Best, A Joke at Worse by ArmorFiend · · Score: 3, Interesting

      Two of the three open projects you cite also happen to be bigger than most projects, with more developers working in || at the same time than most projects. Does that help them? Read "the mythical man-month" for the answer. (Hint: no).

    3. Re:Mediocre Propoganda at Best, A Joke at Worse by Gabe+Garza · · Score: 2, Insightful
      Two of the three open projects you cite also happen to be bigger than most projects, with more developers working in || at the same time than most projects. Does that help them? Read "the mythical man-month" for the answer. (Hint: no).

      I agree that Mozilla and the Linux kernel are very good pieces of software--I use them each for many hours each day. I don't have a problem with them: I have a problem with using only three projects has a sample size. They're attempting to make a precise model to describe the difference in debugging time between two different development methodologies. If they want to win me over, they'll need to show that it is mostly correct for a wide variety of both open and closed source projects.

      No one will argue that there are some open source projects that are world-class, and has good or better then any closed source projects. Any statement stronger then that is going to need a stronger foundation then this paper can offer.

  12. Of course debugging is easier... by sterno · · Score: 5, Insightful

    I do a lot of coding working mostly with open source products, and sometimes closed source. When I get some bug come up in an open source product, I actually go digging into their code sometimes to figure out what went wrong. If it's closed source I can dig down through my code, but once I hit their code, it's a brick wall.

    Frankly this is why I try to stick to open source software when I do development work. Hell of a lot easier to figure out how something works when you've got code and direct access to the developers via a mailing list.

    --
    This sig has been temporarily disconnected or is no longer in service
    1. Re:Of course debugging is easier... by Dalcius · · Score: 2, Informative

      I have to concur with this. My day job is working as a "Software Analyst" -- in short, I get problem reports that our setup folks can't figure out and I solve them. This usually requires a lot of digging through code.

      Just this week we've had a major problem with one of our customers: IE is continuously crashing (an internal IE problem). It doesn't help that the customer isn't very good at giving us detailed information about who it happens to when, but what makes it even worse is the cryptic nature of the error information from IE and the fact that we have no access to source code.

      On the other hand, much of our newer products are built on top of open source tools (which saves us an extreme amount of time). The few problems that we've had have been relatively easy to fix due to the more open nature of source and documentation with the OSS tools and services that we use.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
  13. Absolutely false!!! by si_brain · · Score: 2

    Because gdb is so slow with a realy big project.
    ( ...Symbol loading... )
    Trust me on this, I'm in this situation every day.

  14. Easy explanation by meta-monkey · · Score: 5, Funny

    Well, I think the explanation for this is pretty obvious.

    If you've got open sores, you're going to want to get bugs off of them as quickly as possible. You're also going to notice sooner because it's still bleeding. If you've got closed sores, you might not notice flies buzzing around them near so quickly.

    --
    We don't have a state-run media we have a media-run state.
  15. Microsoft Refutes Oxford Researchers' Conclusions by xelph · · Score: 4, Funny

    A spokesperson at Microsoft refuted the conclusions of two french researchers from Oxford University this afternoon, saying that the business model behind Open Source was flawed anyway, since fewer bugs meant less urgency in updating to newer versions of software where old annoying bugs had been eliminated (only to be replaced with fresh one in anticipation of the subsequent forced release). The spokesperson also mentioned the enormous success of Microsoft's recent Closed Source initiative, under Bill Gates's supervision, to make computing more stable and secure, and finished by indicating that the UK government, who is being turned by Microsoft into a strong Open Source opponent (see recent Slashdot story), belonged to them anyway, and that the "frogs" would be deported to France shortly.

  16. Re:Who's surprised? by youaredan · · Score: 2, Interesting

    No No.. I wasnt even implying that was possible... Redmond hasn't even come to know and love publically selected mirrors... We are stuck with becoming psuedo world citizens in the sense that we are limited by the fact that everyone else in the world is using windows update... I hated that about windows... now, when I want to update anything - I emerge sync and emerge -u world in Gentoo Linux, and the world rejoices.

    --
    -Digital Extremist // digitale
  17. ESR says... by Realistic_Dragon · · Score: 4, Interesting

    If you read 'The Cathedral and the Bazzar' by ESR he gives some very good reasons for Open Source development being better at bug finding:

    1) With enough eyeballs, all bugs are shallow - someone will know the answer, or stimulate the person who does.

    2) Users provide better bug reports including line numbers, decent config information, possibly even patches.

    To which you can add number 3 and 4 of my own devising:

    3) The kind of people who write and use OSS care about security and stability (often to an extreme) and so think that bug fixes are essential not a nice-to-have.

    4) Closed source developes have to deal with management and merketing wienies - it's a wonder they even get buggy code out the door.

    --
    Beep beep.
    1. Re: ESR says... by Black+Parrot · · Score: 2, Informative


      > 1) With enough eyeballs, all bugs are shallow - someone will know the answer, or stimulate the person who does.

      > 2) Users provide better bug reports including line numbers, decent config information, possibly even patches.

      As a part of these phenomena there is the direct interaction between the user and the hacker. A nobody like me can post a problem to the LKML and get a reply from than Alan Cox suggesting things to try that will give him more information about the bug. Or can post something to some project's bugzilla site and as often as not get a response from the lead developer on the very same day.

      Compare this to the "help" desk bureaucracy for the typical CSS application, where they whole setup is arranged to buffer the developers from the people spotting the problems.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re:ESR says... by AsparagusChallenge · · Score: 2, Insightful

      #3, "who write and use OSS", implies something very important: the people who writes it has to use it. That's why they care.

  18. Bogus assumptions by ckessel · · Score: 5, Insightful
    The paper makes some critical assumptions, one of which is:

    all the users use the modified code at time t + 1 and report bugs exclusively on the updated code.This assumes that all the users update their software at every release.

    This is completely bogus. Not every user is going to update immediately. In fact, the larger the company is the less likely this is due to their desire to qualify new software. This means as Open Source gets more popular with big companies, the more bogus this assumption is.

    The paper also mentions nothing about QA efforts or beta sites on closed source, which are typically on the "immediately updated" products.

    I'm not going to argue whether oss is better/worse than closed, but I heavily doubt this paper proves anything other than if you make lots of assumptions you can prove whatever you want.

  19. Programming Style by bobthemuse · · Score: 3, Interesting

    I wonder how much of this is due to programming style. What I mean is, can there be a difference in how easy it is to debug apache (maintained and written by many people) versus an OSS project which was mostly written my one person? I'd imagine that a large number of programmers results in more 'generic' code, rather than the specialized shortcuts that are unique to most programmers. That would make it much easier to debug, IMHO.

  20. but I thought... by H0NGK0NGPH00EY · · Score: 4, Funny

    The one rule in the software engineering is that there are no rules.

    I thought the first rule in software engineering was "you don't talk about software engineering."

    --
    Do not read this sig.
  21. Re:suprising? by bladernr · · Score: 2, Interesting

    I could be suprising for a number of reasons:

    1. Closed-source projects are often have a more structured process for development, along the lines of CMM, ISO 9001, established methodologies, etc. Things like CMM and ISO 9001 are assumed to result in higher quality (I seriously dispute that, but its the widely held assumption).

    2. Many closed-source projects have customers with support contracts. Many open-source developers are not bound by such contracts and are not forced to fix bugs. It is assumed that suppliers with contracts to fix bugs will fix bugs (see Microsoft to see if that is a good assumption).

    3. The quality of closed-source programmers is assumed to be higher. That is because the stereotype of the open source person is someone in college, unemployed, or in some other way with too much time on their hands. The sterotype of the closed-source (ie, corporate) programmer is that they went through a rigorous review and selection process to qualify to work on the project (that is assumed by people who have never worked in corporate IT).

    --
    Sarcasm and hyperbole are the final refuges for weak minds
  22. Thats because by nother_nix_hacker · · Score: 2, Funny

    Another, perhaps surprising conclusion is that debugging in open source projects is always faster than in closed source projects."

    Thats because in closed source projects you have to dis-assemble the binary first! :)

  23. Always ? by FauxPasIII · · Score: 4, Insightful

    All generalizations are false.

    --
    25% Funny, 25% Insightful, 25% Informative, 25% Troll
  24. Seems reasonable to me by riptalon · · Score: 4, Interesting

    During development the closed source software will only be used by the developers, and in general the developers are not like their end users and may have little interest in actually using the software they have been payed to write. For open source however the software is likely to be available to users from a very early stage and the developers are likely to be active users of the software as well. It would be very surprising if the bugs were not squashed faster.

    Once the software is released closed source has the problem that bugs will only be fixed if the producer sees profit in it. Major security bugs will be fixed "relatively" quickly, as they might impact future sales otherwise, but with closed source the producer may not fix known non-security critical bugs if they don't feel like it, and no one else can.

    There is also a problem with bug reporting in the closed source world. Who actually reports closed source non-security critical bugs? There isn't a lot of incentive since they may not be fixed anyway and if they are the fix will likely just go into then next version (that could be a year or two away) and you will have to pay for. Also the fraction of the users that do not have a licenced copy are unlikely to report bugs.

    Whatever the merits of this particular study's methodology the results are just plain common sense anyway.

  25. its the documentation! by appleLaserWriter · · Score: 4, Insightful

    Successful OSS projects must be well documented in order to survive. Naming variables in an intuitive manner and providing insightful comments isn't about improving your annual review scores, it is about ensureing that others can and will read your code.

    Companies like Microsoft need to introduce policies to create the same effect. Code reviews and extreme programming are good examples. They often degenerate into either a rubber stamp or a grudge match between different interpretations of Hungarian Notation.

  26. The "many eyes" myth by Anonymous+Brave+Guy · · Score: 4, Insightful
    A more likely explanation is the 'many eyes' that can review the code.

    Many eyes can. How many actually do? Unless you're talking about the really big projects, probably very few indeed -- one, I suspect, in many cases.

    It's not fair to cite mainstream developments like Linux or Mozilla as the way all open source is any more than it's fair to cite Microsoft's history on things like security and reliability as the way all closed source is.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:The "many eyes" myth by Ramses0 · · Score: 2, Interesting

      I've looked at a surprising number of program's source code. abcde, www-mechanize, ode physicis libraries, perl stuff, php stuff, python stuff, parts of the ogg utilities. Mostly because it doesn't have some feature that I want, or it does something that I'm interested in doing, and want to know how hard it is. It might not be much, but a cursory overview can tell you whether the author knew what they heck they were doing, and auditing even one code path (or even one function) can be helpful. Try it some time. If you're using debian: apt-get source abcde. I use it all the time as my "reference to how the hell bash programming works" :^)

      --Robert

    2. Re:The "many eyes" myth by KidSock · · Score: 2, Informative

      Many eyes can. How many actually do? Unless you're talking about the really big projects, probably very few indeed -- one, I suspect, in many cases.

      Dispite the fact that the topic of this article is stupid I would have to disagree with your claim that the "many eyes" statement about OSS is a myth. I run a medium sized OSS project and only a very select few have ever contributed any worthwhile code but what is usefull is that occationally someone finds something genuinely important. A bug. A simple code change to get around a problem. Etc. It's actually one of the few things that I think isn't a myth about OSS. That and the benifits of having a large base of users against which to test the code. That's the real benifit. It's the claim that OSS projects benifit from many different code contributors that is a myth. I reject a lot of code that I'm sure would have otherwise been accepted other maintainers. It's the patchy collage of code that becomes a spineless inflexible blob.

  27. Drink the kool-aid... by HydeMan · · Score: 2, Interesting

    This is yet another example of someone trying to sell the OSS agenda. Statistics can easily lie, and I suspect that the person involved in the study was not a neutral party. A more important question is do people on /. EVER find fault in OSS? Surely it can't be a nirvana. Be honest, and get real.

  28. Ego problem != closed source problem! by Anonymous+Brave+Guy · · Score: 2, Insightful
    We have egos at work too. I am not supposed to TOUCH anything my coworkers do, it is THEIR code and THEIRS to command, hands off! Even when I sneak a peek and find obvious bugs, I am not allowed to fix them because it violates territoriality. This sort of code hording is impossible in OSS [...]

    It should be impossible in a sensibly run closed source project as well. If you have a development team whose egos are such that they can't stand criticism and claim unique ownership, you are on the absolute lowest rung of the smart development process ladder. Teams full of such people will never produce good results, whether their source is closed or not.

    As with many of the points raised in a thread like this, though, the problem is with industrial development processes and not actually with closed source. In a decent coding shop, no-one has sole knowledge or control of any area of code. In better shops, reviews are routine, and the good guys actively solicit feedback from their peers.

    This is just another case (like the "many eyes" argument, and others) where the argument made in favour of open source looks great at first glance, but doesn't stand up to much scrutiny. To date, the most convincing argument I've seen for why some of the big open source projects have generally good code is still that those who do it frequently do so out of interest, rather than just to pay the rent (though certainly most of the work on the big OSS projects is done by pro's these days).

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  29. To quote Gene Spafford... by DesScorp · · Score: 4, Insightful

    " Not always. A more likely explanation is the 'many eyes' that can review the code."

    I went to a speech by Gene Spafford here a few years ago, when the subject of Linux code quality versus other systems (especially MS) came up. Someone mentioned Eric Raymond's "Thousand Eyeballs" theory, that more people looking at the code ensured better quality.

    Spaff responded "that does no good if those thousand eyeballs are looking at things like networking your toaster instead of quality and security".

    I don't think this point is emphasized enough. It's not enough that lots of people are looking at the code. You need lot's of people with training, expierience, and an eye for problems to look at the code. He pointed out that one of the biggest problems in development is that while people can learn C from a book, and even get good at it, they don't learn proper software engineering techniques, philosophies, and debugging skills that way.

    In short, simply being open source and having lots of developers isn't a solution in itself.

    --
    Life is hard, and the world is cruel
    1. Re:To quote Gene Spafford... by deranged+unix+nut · · Score: 2, Interesting

      Sounds like the type of hell I put my developers through. I have been averaging roughly 2 bugs per day, while writing test automation, verifying fixes, generating reports, etc.

      The customer probably would have only reported a dozen of those bugs if they weren't fixed, and they might only notice a couple dozen now that they are fixed and different from the previous version, but the developers fixed several hundred of the bugs that I found.

      As for "Why in the world would I do THAT?", "because the code let me do it." Any good software tester should continually challenge the assumptions of the developers. The code needs to work correctly.

  30. Except when written in Ada by ebunga · · Score: 2, Interesting

    Seriously, grab gnat, go to http://www.adahome.com/ and read a tutorial or two, and start writing reliable, readable, and reusable code in the amount of time it takes to read through the tutorial.

  31. Re:Debugging Software by Anonymous Coward · · Score: 2, Interesting

    This may come as a shock to you but closed source developers do have access to source code, as unbelievable as that may sound. That means that they can actually step through the code with a debugger just like their open source friends.

  32. Mythical Man Month Myths by Jerf · · Score: 2, Insightful

    Two of the three open projects you cite also happen to be bigger than most projects, with more developers working in || at the same time than most projects. Does that help them? Read "the mythical man-month" for the answer. (Hint: no).

    You have seriously misread The Mythical Man Month, to the point of absurdity. The Mythical Man Month does emphatically not claim that more people can't do any more then fewer people.

    What it says is that programmers are not interchangable, and as a result, adding programmers to an existing project will not get a 1-man-hour to 1-programmer-hour gain. While the old programmers are training the new programmers, and while the communication overhead increases, and while the new programmers are not yet settled in, productivity may fail to increase or may even decrease, over the next few months.

    However, once the new guys are settled in and assuming a decent organization, the new organization can indeed move faster.

    The Mythical Man Month's main point is to avoid treating programmers, or perhaps more accurately programmer-hours, interchangably. The conclusion based on that is the somewhat more famous part about not adding manpower to a late project because it will make it even more late.

    Most strong open-source projects, and probably all the ones in this study, have a strong group of core people who are intimately familiar with what they need to know to continue improving the software. Other people may drift in but will find it difficult to contribute code back. (Seriously, just try to get a patch into Mozilla.) The Mythical Man Month does not apply to steady-state teams of people, only growing ones.

    So yes, larger teams help those projects create their large software products. Go look at how much code is in Mozilla; no matter how wizard you are, I don't think a small team of people could even type that much code in anything less then a couple of months. How else do you think they could do it but with a large team?

  33. old practices by Jerf · · Score: 2, Insightful

    I think those are probably fossil practices left over from pre-Internet days.

    It is important to shield the developers from telephone calls and visits from the customer, because otherwise the developers will get nothing done, not necessarily because they have no time (time_in_day - time_dealing_with_customers may still be large), but because they are constantly being interrupted.

    As long as the developer has discipline and the customer realizes that the answers won't be instant, though, there can be great value in having email access to the developers, for both parties.

    Hopefully more companies will modernize their policies soon.

  34. I have a c++ (unmanaged) project to get done. by Sludge · · Score: 4, Informative
    I develop with Cygwin and Emacs, but I compile and debug with Visual Studio 7.0. I believe that the Visual Studio debugger is unparalleled (lacking just Emacs integration! :) ), and there is nothing that can beat precompiled headers, a fast compiler (in the first place) and the visual debugging integration of Visual Studio.

    I then boot to Linux and port my code. I've been writing portable code for half a decade, so I know what I'm doing, more or less. But, I can get more work done with Visual Studio, faster.

    In case it makes a difference to your perception, I write end user apps, sometimes with heavy graphics requirements and GUI frontends.

    Due to the nature of my work, I can't rely on masses to test everything before I ship.