Scott on Writing

Musings on technical writing...

Do You Have a Bug Database?

I picked up a copy of Joel Spolsky's most recent book, Joel on Software: And on Diverse and Occasionally Related Matters That Will Prove of Interest to Software Developers, Designers, and Managers, and to Those Who, Whether by Good Fortune or Ill Luck, Work with Them in Some Capacity - it's well worth the ~$17 and beats every other book when examining the cost per word in the title.  I'll be posting a review of this book once I wrap up the last 100 pages or so, but for now I wanted to touch on one of the points that make up The Joel Test.  The Joel Test contains a quick, 12-point checklist that one can use to evaluate their software team.

Checkpoint #4 is, Do you have a bug database?  Regarding that checkpoint, here's what Joel has to say:

I don't care what you say. If you are developing code, even on a team of one, without an organized database listing all known bugs in the code, you are going to ship low quality code. Lots of programmers think they can hold the bug list in their heads. Nonsense. I can't remember more than two or three bugs at a time, and the next morning, or in the rush of shipping, they are forgotten. You absolutely have to keep track of bugs formally.

I am a software team of one, but, sadly, I don't use a bug database.  In my defense, I employ another one of Joel's suggestions which helps mitigate the shipping of poor quality code: I fix bugs before writing new code.  Development typically goes like this:

  1. Client says, “Here are a set of specs,“ and provides a due date.
  2. I map out my plan of attack and start implementing the features in that order.  After completing a page, I run a number of simple tests and if I find any bugs, I fix them before moving on to the next item in the spec.
  3. After completing the specs, I return the work to the client.  I receive the next batch of specs while the client does more thorough testing on the work submitted.  If the more thorough testing reveals more bugs, the client returns a list of bugs and repro steps, and fixing those bugs preempts current work.

This approach works, but I do think there would be advantages to a more formal bug database (rather than just the Word document from the client with the list of bugs they found along with repro steps).  Having a bug database would provide a more formal listing of bugs, repro steps, and so on, allowing me to look back at the history of the project's bugs in a much easier manner.  A bug database would also afford me the luxury of finishing the new specs before returning back to the bugs in the previous steps, thereby saving a costly context switch between writing new code and fixing old code (although the longer I wait to tackle the bugs, the longer it will take to solve them). 

I thought I'd turn to you, my blog readers, and ask for your advice on a bug database.  What tools/software do you use?  Any recommendations for bug tracking for a company of one?  In the simplest form I could just use a simple spreadsheet.  But are there advantages to using more targetted solutions, like BugZilla, even for a team of one? 

What bug tracking tools do you use, and what has been your experience with them?  Do you agree with Joel that it's imperative that bug databases be used by software teams of one?

posted on Friday, February 04, 2005 9:58 AM

Feedback

# re: Do You Have a Bug Database? 2/4/2005 10:29 AM James Shaw

i agree you certainly need a list, but i dont have my own personal 'product'. I simply have a shortcut on my desktop that edits a page on my (CMS) web site where I make quick notes and prioritise things to do. it works fo me, and is available from laptop, office or home.

# re: Do You Have a Bug Database? 2/4/2005 10:37 AM Slava

Being .NET developer I use BugNet (http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=36f4c35f-a7a5-458a-91ae-15dbcff4673f) which is pretty small and simple enough for small team.
Other alternatives you might want to look at are BugTracker.NET ( http://btnet.sourceforge.net/bugtrackernet.html) and Gemini (http://www.countersoft.com/) which is used by SharpDevelop (http://www.sharpdevelop.com/). All of these are free (Gemini has free version for small team).
There is also TargetProcess (http://www.targetprocess.com/). There is free version just for project management, and commercial version which also provides issue tracking capabilities.

# re: Do You Have a Bug Database? 2/4/2005 10:44 AM Bradley Dean

SourceGear Vault:

http://sourcegear.com/

Is free for single developer licenses. An incredible product, I "upgraded" from a (17 page!) Word document in September.

# re: Do You Have a Bug Database? 2/4/2005 10:48 AM Avonelle Lovhaug

I'm a big believer in keeping a bug database, and I'm a software team of one, too. I have used several tools (include a homegrown one), but for the last year, I have been using Gemini from CounterSoft (linked in a previous comment). It is free (for up to 10 internal users), and contains a lot of features which you don't necessarily have to use.

# re: Do You Have a Bug Database? 2/4/2005 10:51 AM Codin guy

Despite the fact that I whole-heartedly agree with him, don't forget that Joel is in the business of actively selling bug tracking software. His FugBugz software is probably the best on the market.

# re: Do You Have a Bug Database? 2/4/2005 10:52 AM Codin guy

oops, make that "FogBugz" not "FugBugz" :)

# re: Do You Have a Bug Database? 2/4/2005 10:56 AM Doug Perkes

+1 for FogBugz.

# re: Do You Have a Bug Database? 2/4/2005 11:04 AM KenB

Mercury Interactive's Test Director is pretty good while Peoplesoft's QMS is horrible...

# re: Do You Have a Bug Database? 2/4/2005 12:21 PM Eric Marthinsen

Add one more for FogBugz. It's the best on the market, and incredible inexpensive, especially for small shops.

# Bug Database 2/4/2005 12:29 PM Kent J. Chen's Weblog

# re: Do You Have a Bug Database? 2/4/2005 1:01 PM Bill Graziano

I'm a FogBugz user myself. We've got a two person license. At $120 per user for the license and a one year support agreement the pricing is very attractive.

During development I log any bug that I'm not going to fix "immediately". My goal is at the end of a programming session I've either fixed or logged every bug I've dealt with.

I also use it to track potential features. I'll just drop any thought about potential features or client requests into the database. Later I'll go back and priortize and prune.

During formal testing I *try* to log every bug as it's fixed. Once we're in production every bug is logged. We also use it for client feature requests.

A couple of our apps automatically log any unhandled (or poorly handled) exceptions to the database. That was very handy early on but we're seeing fewer and fewer of those as the app matures. Joel has a few articles on integrating your app with FogBugz. Fairly easy to do.

We have an email alias clients can use to send a case directly into our bug tracking system. They mostly use this to request features. A couple of our apps also have a feedback form that goes directly into the database.

# re: Do You Have a Bug Database? 2/4/2005 1:09 PM Scott

We use Dragnet by SourceGear. I have been fairly happy with it. Nice and simple. :)

-Scott

# re: Do You Have a Bug Database? 2/4/2005 2:02 PM Scott Mitchell

Bradley, SourceGear's Vault can double as a bug database? I thought it was only useful for Source Control? (BTW, I do use Vault for Source Control, see: http://scottonwriting.net/sowblog/posts/2043.aspx)

# re: Do You Have a Bug Database? 2/4/2005 2:12 PM Bradley Dean

Sorry, sorry. It's Friday so I'm not actually doing any thinking today.

I use FogBUGZ. Vault for source control.

I'll be going back to "work" now...

# re: Do You Have a Bug Database? 2/4/2005 3:21 PM Ron Green

I just started using SourceGear's Dragnet am really like it so far. And as someone else said, it's free for a single user.

# re: Do You Have a Bug Database? 2/4/2005 4:33 PM Simon

I scurried together a quick two-table Access database, one table for the list of bugs, and the other for the history of each bug (indexed by bug ID), and stuck a simple form on top of it. Worked a treat.

# re: Do You Have a Bug Database? 2/4/2005 7:28 PM Rob


My vote goes to www.countersoft.com Gemini Bug Database. Comes with a free 10 user licence!

# re: Do You Have a Bug Database? 2/4/2005 8:44 PM Jason Bentley

While not feasible for single users or even small shops, we use <a href="http://www.visualintercept.com" target="_blank">Visual Intercept</A> which can be used for project management and bug tracking. I am not sure of the pricing but it IS expensive.

# re: Do You Have a Bug Database? 2/4/2005 8:45 PM Jason Bentley

Sorry, the link for Visual Intercept is http://www.visualintercept.com

# re: Do You Have a Bug Database? 2/4/2005 10:30 PM Jacob

i use ontime for windows from axosoft.com. free single user license. they've also got a web version. but i prefer the windows version that runs faster especially on my slow machine.

# re: Do You Have a Bug Database? 2/5/2005 2:50 AM Helen

In the last week or two I've started using FogBugz to track any bugs/features requests for the system I've been working on and it's *so* much better than the spreadsheet/emails/paper list/post-its I'd been using before. Avoiding the context switch thing you mentioned is great because if I find anything that needs doing while I'm doing something else, I add an entry to the bug tracker and then when I'm finished there's a list of what I need to do next.

I've also been using it to add feature requests that the clients send in while I'm working. Before it was driving me mad trying to keep track of what the client wanted through the fifty odd emails sitting in my inbox, but now I just add a new case to the database or ammend an existing one and I've a really good record of the emails the clients have sent me. Even better, the next person who works on my project will be able to see the thoughts and client requests behind the different parts of the system if they need to.

I've been trialing FogBugz for a couple of weeks now and I *really* like it, but I asked my favourite ASP.NET mailing list what bugtracking software they liked and put the list of recommendations up at http://webdev.helephant.com/blog/programming/bugtracking

# re: Do You Have a Bug Database? 2/5/2005 3:54 AM Lars Buur

I actually use FogBugz 3.0 and I have been using it for over two years now. The features that I like most about FogBugz are:
- Very good integration to my SCC (SourceGear Vault)
- Effective user interface
- Ability for my solutions to report errors automatically (<a href="http://www.fogcreek.com/FogBUGZ/help/UsingFogBUGZtoGetCrashRep.html">FogBugz phoning home</a>)


I am so looking forward to FogBugz 4.0. which is in RC 1 as I write this.

# re: Do You Have a Bug Database? 2/5/2005 1:46 PM Richard Barnes

We have been using projxpert for managing a few of our projects. Its most effective with projects where the team members are spread across various countries.

http://www.projxpert.com/

The good things about it:
- Easy to use, similar to Gemini
- Nothing to download
- Unlimited projects
- Its cheap, free for 2 users or $US20/month for upto 60 team members.
- Subversion repository & project forum also come with it.

# New Team System Stuff - 2005-02-07 2/7/2005 1:30 PM Rob Caron's Blog

# Review: The Joel On Software Book 2/7/2005 2:54 PM Scott on Writing

# Bug Database 2/12/2005 1:23 AM Kent J. Chen's Weblog

# re: Do You Have a Bug Database? 2/12/2005 6:07 PM Sonu Kapoor

We are using Gemini at work. I think its a pretty nice product. Furthermore it has 10 free user licenses.

# A short blogging month 2/26/2005 6:22 AM Andrew Stopford's Weblog

# re: Do You Have a Bug Database? 2/26/2005 7:51 AM Bil Simser

We use PVCS Tracker which has evolved from a fairly complicated form system with workfly to a pretty simple one pager. However it is expensive (600+ a seat) and doesn't provide a heck of a lot of value at that cost. It's also not going to be developed any futher so we're looking down and alternative path and seeing if anything from Team Services will work for us (especially with integration to say SharePoint where you can create a pretty nice bug tracking system using the templates they already have).

# re: Do You Have a Bug Database? 12/20/2005 12:59 PM Shawn McCorkell

We use Gemini here, it rocks!

# re: Do You Have a Bug Database? 4/28/2006 8:13 AM Bill

I just stopped writing defect-laden code and that seems to have eliminated the need for a defect tracking solution. Post-It notes are nice, too!

Before that moment of clarity, though, I used TechExcel's DevTrack product without issue. I also was happy with OnTime, Gemini and Rational ClearQuest. What's especially nice about DevTrack is its extensible workflow model and its ability to seamlessly (just a little configuration and scripting glue) synchronize bi-directional updates between DevTrack and Perforce.

# re: Do You Have a Bug Database? 6/5/2006 12:12 PM Jim

We are beta testers for <a href="www.bugsentry.com"> BugSentry</a> and are very impressed. The killer feature is automatic error reporting from .NET. They host the data encrypted with RSA.

# re: Do You Have a Bug Database? 11/18/2007 9:09 AM Corey Trager

For folks in the process of evaluating bug databases, I've put together a page with links to other people who have written about their evalations:

http://ifdefined.com/blog/post/2007/10/Links-to-other-comparisons-of-issue-trackers.aspx

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<March 2010>
SMTWTFS
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Comment Stats

DayTotal% of Total
Sunday 2056.8%
Monday 42514.1%
Tuesday 51917.2%
Wednesday 55618.4%
Thursday 58019.2%
Friday 54718.1%
Saturday 1886.2%
Total 3020100.0%

Hour1Total% of Total
12:00 AM 782.6%
1:00 AM 812.7%
2:00 AM 682.3%
3:00 AM 822.7%
4:00 AM 692.3%
5:00 AM 1264.2%
6:00 AM 1193.9%
7:00 AM 1816.0%
8:00 AM 1926.4%
9:00 AM 1585.2%
10:00 AM 1886.2%
11:00 AM 1936.4%
12:00 PM 2016.7%
1:00 PM 1846.1%
2:00 PM 1695.6%
3:00 PM 1354.5%
4:00 PM 1153.8%
5:00 PM 1073.5%
6:00 PM 1013.3%
7:00 PM 1073.5%
8:00 PM 923.0%
9:00 PM 882.9%
10:00 PM 913.0%
11:00 PM 953.1%
Total 3020100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.00160
Monday 4.80384
Tuesday 4.04477
Wednesday 7.39680
Thursday 6.26676
Friday 5.07466
Saturday 4.78177
Total 5.403020

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 3.8550
8:00 AM 3.72134
9:00 AM 6.06297
10:00 AM 5.63276
11:00 AM 4.22194
12:00 PM 6.16351
1:00 PM 3.09133
2:00 PM 4.89230
3:00 PM 7.67322
4:00 PM 4.00108
5:00 PM 6.07170
6:00 PM 4.64116
7:00 PM 8.95188
8:00 PM 8.63164
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.403020

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles