4 Cost estimation
Cost estimation, see figure 4.1. Course material for this chapter is on blackboard online.manchester.ac.uk
4.1 Work Breakdown Structures
Estimating how long something will take is often a challenging task and why many estimates like the one in figure 4.1 are not accurate. Its important to be able to justify any estimates you make, rather than just making a vague guess.
One technique for improving the accuracy (and justifiably) of your estimates is called Work Breakdown Structures (WBS) which is explained in the video in figure 4.2.
For example, in stendhal, lets say you needed to estimate the cost if fixing a bug about players losing health points between 5.00am and 7.00am in the morning. This is 100%
of your task that you could break this down into several sub-tasks follows:
- Replicate the bug (
20%
) - Fix the bug (
20%
) - Check that the bug is really fixed (
20%
) - Push the bug fix to the repository (
20%
) - Make sure the same bug doesn’t exist elsewhere (
20%
)
You could break each step down further into sub-sub-tasks
- Replicate the bug (
20%
)- Replicate the bug manually (
5%
) - Gather missing info from reporter (
5%
) - Find tests for this or similar functionality (
5%
) - Write test that reveals the bug (
5%
)
- Replicate the bug manually (
We’ve split the tasks evenly here, though in practice you would probably give them different percentages depending on the size and difficulty of the tasks.