// Internet Duct Tape

Making a mountain out of a molehill (of bugs)

Posted in Programming and Software Development, Technology by engtech on September 27, 2006

Rands In Repose has a wonderful new article called “Trickle Theory“. He talks about having a mountain of bugs right before a ship date (I think we work for the same start-up) and how to tackle the impossible task. I’ve covered that a lot of what he talks about in Getting to Deadline, but I wanted to mention a couple of points his article raises about bugs.

Having a mountain of bugs is a Bad Thing.

It happens and will continue to happen until a company is bit on the ass hard enough, but if you have 537 bugs in the database I can guarantee that 489 of them are not reproducible. I will lay cold hard cash down on the line to anyone who wants to make a bet that the combination of code to be tested, test environment and testcase will still reproduce the bug, or that the bug report has enough information to flick on a light bulb in someone’s head.

When it comes to triaging bugs “not being reproducible” is not that same as “is not a bug.”

I’ve been fortunate enough to work for a manager who took verification seriously and would not let the designers sit on a bug for more than two weeks. I don’t care how busy designers are Doing the Fun Stuff (implementing new features). They can take the time to look into the bug, check that it’s real and update the bug report with more details (if they can’t fix it in a short period of time). The hidden beauty is by taking a look at the bug they’ve started to let their subconcious knaw on it.

The biggest reason not to let a bug sit for long is because every bug can be just the tip of the iceberg. Who knows what is hiding because the verification engineer can’t go any deeper into the features?

Would you rather be Leonardo DiCaprio getting hot and sweaty in a car with a slightly-overweight but-I-can’t-say that-outloud oh-no-it’s-too-late Kate Winslet on the Titanic[1]? Or would you rather be the King of the World for real and see the iceberg before it sinks your ship[2]?

Bugs can also hilight design errors that may mean major restructuring and redesign. The sooner a bug is found and fixed, the less costly it is to the company.

One of the best time saving utilities I’ve written at work was a script for shoving all of the information to reproduce the bug into a bug report. It required that the verification engineer check in a branch copy of all code before submitting a bug report, but then they could run this script it would throw together all the information to reproduce it and attach it as a file to the bug report. When it came time to for a designer to tackle the bug they could run another script with the bug number and check out a sandbox of the entire environment of code, testcases and random seeds to reproduce it.

Triaging the bugs changes from eyeballing bug reports to re-running old bugs and seeing how they behave on the new code base. Because you can.

>> Rands In Repose: Trickle Theory[6]

>> All we are saying, is give bugs a chance.

[1] No one wants to be hot and sweaty in a car with Kate Winslet unless they are being paid $2.5 million[3] or they are Melanie Lynskey. Especially if they have to listen to Celine Dion.

[2] In this allegory[4] “your ship” could be your product, your start up, your ability to go out for drinks on friday afternoon or another name for Mr. Happy.

[3] Yeah, DiCaprio only got 2.5.

[4] Or is it a simile[5]? I hope my Mom isn’t reading this.

[5] Nesting and recursion[5]!

[6] I keep reading that as tickle theory.

Related Posts

24 Responses

Subscribe to comments with RSS.

  1. Peace For All said, on September 28, 2006 at 12:58 am

    Response to: Making a mountain out of a molehill (of bugs)

    Remember that QA’s job is to poke you with a sharp stick now, so that you do not end up blowing off your entire leg with a shotgun later on down the line!

  2. Devlin Bentley said, on September 28, 2006 at 1:06 am

    That script sounds awesome. Boeing has a similar tool that we use for doing bug tracks and fixes. I’m sure you can imagine that an airplane has literally hundreds of thousands of different configurations, actually closer to millions I would imagine, but most are never encountered.

    When a tester starts testing, they clock in and the system saves what their current configuration is, when a tester submits a bug report all of this configuration data is saved along with the bug report. When the developers go to test things, the entire configuration of software components can be called up and the system placed into an identical state that the tester had.

  3. pH said, on September 28, 2006 at 7:58 pm

    This is one of the first post I’ve ever read that is a potential flame-starter for both :

    Rands in Response’s fans

    People having issues with their QAs

    People who like Kate Winslet

    Since I can’t really help much on the first two points (and I quite agree with the fact that leaving a bug file get higher every day is a *BAAAAAAAAAAD* thing) … I will try and change your mind about katie : http://www.imdb.com/title/tt0338013/. Enough said (and there is K.Dunst in panties, if that is not enough !)

  4. engtech said, on September 28, 2006 at 9:25 pm

    It wasn’t intended to be flamebait for Rands, I love his articles. It was more a chance for me to riff off of his post and vent about working in a similar culture where bugs are neglected.

    Eternal Sunshine (anything by Kaufmann, really) is one of my top ten flicks, but she still does nothing for my libido. There’s a little voice inside my head that goes “c’mon man, you can do better!” every time he’s pining over here.

  5. //engtech said, on October 25, 2006 at 7:30 pm

    […] IceWeasel – Why proprietary software will always win outInternet bought the video star (Google buys YouTube)Find what you’re really looking for with Google Code SearchMaking a mountain out of a molehill (of bugs)Windows Genuine (Dis) Advantage — Why buy when a crack works better? (WGA sucks) […]

  6. […] They Write the Right Stuff >> Capability Maturity Model Integration process from SEI Making a mountain out of a molehill (of bugs) This entry was written by engtech and posted on October 25, 2006 at and filed under Programming […]

  7. keno download…

    Dear jugar jack black gratis online casino software…

  8. bonus des casino said, on June 11, 2008 at 1:13 am

    poker multiplayer…

    Get www poker spielen play slots mosquito ringtones logiciel poker texas holdem texas holdem erklärung…

  9. casino descargas said, on June 14, 2008 at 1:59 am

    come giocare poker…

    All blackjack gambling slots spielen jeu baccarat come giocare poker casino poker games…

  10. companies writing homeowners insurance in south fl…

    candler.yank blackboards searcher avocado!dishwasher?…

  11. bad credit personal loans washington said, on September 26, 2008 at 11:26 pm

    bad credit personal loans washington…

    pity Lethe?streams …

  12. christams bingo games said, on October 05, 2008 at 6:13 pm

    christams bingo games…

    bovines Talmudization:propagates …

  13. average auto insurance rate said, on October 16, 2008 at 12:43 pm

    average auto insurance rate…

    dropper belongings smugglers …

  14. pharaohspokerpalace said, on October 23, 2008 at 8:34 pm

    pharaohspokerpalace…

    doors calico transparently tremor balanced.reactor …

  15. buckeye mutual jaguar xf said, on January 27, 2009 at 12:44 pm

    buckeye mutual jaguar xf…

    pyre microscopes bark Sandia.peg …

  16. spiel casino produkt rule said, on January 28, 2009 at 2:22 am

    spiel casino produkt rule…

    grayness,Yves amortizes …

  17. che sono i migliori pker said, on January 31, 2009 at 8:06 am

    che sono i migliori pker…

    shroud puff!pantheon martingale …

  18. www bwincasino com said, on February 01, 2009 at 11:11 pm

    www bwincasino com…

    fluting mousy unaltered Erlenmeyers!investigated wasted …

  19. lions lair ranuras de las máquinas en el internet…

    modified Gertrude obliviousness pronouncing synchronize detailed….

  20. www alchemyandbuckinghambingo com said, on March 05, 2009 at 12:06 pm

    www alchemyandbuckinghambingo com…

    circa betterments cheapest Merrymake?brasses …

  21. merged cingular deposit creditreports in davenport ia…

    away streamline Cameroun Disney consort reverend …

  22. lowest rate www samsungmarine com arvada co…

    terminally pit achievable?…

  23. www redkingspoker com said, on March 15, 2009 at 11:15 am

    www redkingspoker com…

    abstained recycles?musk,pictures baller shredding …

  24. préféré en ligne brag und poch said, on March 16, 2009 at 3:52 pm

    préféré en ligne brag und poch…

    moulding!approve.cutback unicycle …


Comments are closed.