Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Suggestions for working with poor code

by clemburg (Curate)
on May 10, 2001 at 12:20 UTC ( #79346=note: print w/replies, xml ) Need Help??

in reply to Suggestions for working with poor code

Track how long it takes you to fix bugs.

I agree enthusiastically. It will be your only argument when somebody comes and asks you where all the hours have gone. For this kind of job (take responsibility for badly written code, fixing bugs, etc.) this is an absolute must.

For these purposes, two little forms (or spreadsheets, or editor modes/templates, or whatever) will be very helpful (pedantically detailed discussion of these can be found in An Introduction to the Personal Software Process, electronic materials are available at The PSP Resource Page, including time tracking tools, emacs modes, forms, etc.):

  • Time recording log
  • Defect recording log

These are the essentials of both (header columns, add date, person, project, client, etc. as you need):

Time recording log:

  • Start Time
  • Stop Time
  • Interruption Time
  • Delta Time
  • Activity Category (coding, testing, reading docs - make up your own)
  • Comments (more detailed description of task)

Defect recording log:

  • Defect ID (e.g., sequential number)
  • Type (one of: documentation, syntax, build/package, assignment, interface, checking, data, function, system, environment - your own are welcome)
  • Inject Phase (when was the defect put into the program - estimate - design, coding, testing, linking, etc.)
  • Remove Phase (when was the defect found - compile time, testing, etc.)
  • Fix Time (how long did it take to fix)
  • Description (description of defect)

Contrary to what you may think, it does *not* take much time to use these forms (or similar means to record the information). But it will give you all the data you need to be sure you did the Right Thing, and the confidence and evidence to convince your boss or client that what you did was worth the time and the money.

Christian Lemburg
Brainbench MVP for Perl

  • Comment on Re: Suggestions for working with poor code

Replies are listed 'Best First'.
Re: Re: Suggestions for working with poor code
by coreolyn (Parson) on May 11, 2001 at 18:55 UTC

    You mean these logs haven't been automated into CPAN module yet??

    coreolyn Still looking for time to record time usage

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://79346]
[stevieb]: went for a long hike in the mountains today while the weather is hovering just about freezing. I think tomorrow I'm going to huddle up and do a good read through perlguts

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-01-22 02:49 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (186 votes). Check out past polls.