Experiment No.
Aim: Use of metrics to estimate the cost.
Theory:
For any new software project, it is necessary to know how much it will cost to develop and how
much development time will it take. These estimates are needed before development is initiated,
but how is this done? Several estimation procedures have been developed and are having the
following attributes in common.
1. Project scope must be established in advanced.
2. Software metrics are used as a support from which evaluation is made.
3. The project is broken into small PCs which are estimated individually.
To achieve true cost & schedule estimate, several option arise.
4. Delay estimation
5. Used symbol decomposition techniques to generate project cost and schedule estimates.
6. Acquire one or more automated estimation tools.
Uses of Cost Estimation
1. During the planning stage, one needs to choose how many engineers are required for the
project and to develop a schedule.
2. In monitoring the project's progress, one needs to access whether the project is
progressing according to the procedure and takes corrective action, if necessary.
Cost Estimation Models
A model may be static or dynamic. In a static model, a single variable is taken as a key element
for calculating cost and time. In a dynamic model, all variable are interdependent, and there is no
basic variable.
Static, Single Variable Models: When a model makes use of single variables to calculate
desired values such as cost, time, efforts, etc. is said to be a single variable model. The most
common equation is:
C=aLb
Where C=Costs
L=size
a and b are constants
The Software Engineering Laboratory established a model called SEL model, for estimating its
software production. This model is an example of the static, single variable model.
E=1.4L0.93
DOC=30.4L0.90
D=4.6L0.26
Where E=Efforts(PersonPerMonth)
DOC=Documentation(Number of Pages)
D = Duration (D, in months)
L = Number of Lines per code
No of Lines of CODE : 10690
Development Effort : 2.4(KLOC)^1.05 = 28.882 Person Per Month
Development Time : 2.5(EFFORT)^0.38 = 8.973 Month
Average Staff Size = 3.21
Productivity = 0.370 KLOC per month per person
Developer Rate : INR 13000 per month
Project Cost = INR 374,443.29
Conclusion: Thus, we have successfully calculated the cost of the project using the
parameters.