Now the question is 'how to get the Source Lines of Code more accurate?'
We need to get the figures from the experts who know the code and will be doing the coding - the programmers, the DBAs etc. It is advisable to get the figures from them for three different situations
- Expected
- Best
- Worst
The final figure of SLOC can be achieved by using the Mean and Standard Deviation
Mean =[best+worst+4*(expected)]/6
and the Standard Deviation can be achieved by
SD =(worst–best)/6
Final Estimation = Mean + 3 * SD
The final estimation will give a bit accurate figure.
The estimation of lines of code should not count the following:
There are many tools to do the estimation. We will discuss on some of them in the future articles.
For mean and SD, Microsoft Excel should come handy. You can also write some custom functions in MS Excel (http://vbadud.blogspot.com) for customized calculations