Tuesday, August 12, 2008

Best Practices for Software Projects - Estimating

To your surprise, you learn a week later that the manager has presented the estimate to a client and puts you in charge of delivering a complete solution based on the estimate you provided. You shockingly explain that the estimate was just a ball-park estimate and you need to learn the detailed requirements before you can provide a final estimate. The manager argues that it is too late for that, saying that the customer has already approved your original estimate and the manager expects you deliver what you initially agreed to.

Reluctantly, you proceed with the original estimates. 12 months later, your manager calls you into his office and asks why you are already 4 months late delivering the project and wants to know how you could be so incompetent in your estimating (not acknowledging that it was his fault for communicating the ball-park estimate to the client in the first place)! Does this sound familiar?

Unfortunately, this happens often. Most projects are underestimated by anywhere from 25 to 100 percent, and this is normally caused by providing preliminary estimates that are published as the "golden estimate". To provide a better estimate, you must make it all the way through the product design phase before publishing the estimate, where it will have an error margin of 25%.

Researchers have found that project estimates fall within a predictable range at various stages of the software lifecycle. According to Boehbm 1995 (Cost Models for Future LIfe Cycle Processes COCMO 2.0), your estimates will improve as the software lifecycle matures:

As you can see, it is practically impossible to provide an adequate estimate in the Initial Requirements stage, so don't fall into that trap. Below are some tips for providing better estimates:

Management Education - If your manager is not an experienced project manager, explain the estimating process to your manager so that they understand how estimates improve as you know more about the project.
Document Initial Estimates as Ball-Parks - If your manager requires an initial estimate, submit your estimate to them in writing, explaining in detail that the estimate is a ball-park and should not be taken as a reliable estimate at this stage of the project.
Detailed Design Specs - Insist that your team meets with the client to hash out all features of the product. Then take those requirements back to your technical team to get detailed design specifications. If the detailed design specifications are done properly, your margin of error for the estimate should be less than 25%.
Risk Mitigation - Document your project risks and add additional hours to your project plan for risk mitigation.
Project Management - To stay on track with your deliverables, your team should meet regularly to review progress and to aid team members that are falling behind. Team leaders should provide regular code reviews to shorten testing cycles and to prevent major errors from stalling your project schedule.
Online Collaboration - Use an online collaboration tool (web-based preferably) to manage your entire life cycle and your project tasks as to improve project collaboration and communication.

No comments:

க்ரீன் பீஸ் மசாலா - Green peas Masala

*க்ரீன் பீஸ் மசாலா*     பச்சைப்பட்டாணி - 250 கிராம்     (அல்லது) காய்ந்த பட்டாணி - 150 கிராம்     பெரிய வெங்காயம் - 2     தக்காளி - 2 அல...