2.6 Empirical estimation models & The make-buy decision.ppt

2,608 views 28 slides Feb 06, 2023
Slide 1
Slide 1 of 28
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28

About This Presentation

software engineering


Slide Content

ALPHA BREATHING

EVOCATION

EMPIRICAL ESTIMATION
MODELS

INTRODUCTION
Estimationmodelsusesempiricallyderivedformulasto
predicttheestimates.
Hereweconductastudyonsomecompletedprojects.
Fromthoseobservationweformsomestatistical
formulas.
Wecanusethisformulastoestimatethecostofother
projects.
Thestructureofempiricalestimationmodelsisa
formula,derivedfromdatacollectedfrompastsoftware
projects.

THE STRUCTURE OF ESTIMATION
MODELS
Theoverallstructureofsuchmodelstakestheform–
Where,
A,BandC–empiricallyderivedconstants
E–effortinperson-months
e
v–estimationvariable(LOCorFP)C
veBAE )(*

THE COCOMO II MODEL
StandsforCOnstructiveCOstMOdel
IntroducedbyBarryBoehmin1981
Becameoneofthewell-knownandwidely-used
estimationmodelsintheindustry
Ithasevolvedintoamorecomprehensiveestimation
modelcalledCOCOMOII,withreuseproperty.

THE COCOMO II MODEL
COCOMOIIisactuallya3levelhierarchyofestimation
modelsthataddressthefollowingareas:
Applicationcompositionmodel-Usedduringthe
earlystagesofsoftwareengineeringprocess.
Earlydesignstagemodel-Usedoncerequirements
havebeenstabilizedandbasicsoftwarearchitecture
hasbeenestablished.
Post-architecture-stagemodel-Usedduringthe
constructionofthesoftware.

THE COCOMO II MODEL
TheCOCOMOIImodelsrequiresizinginformation
Threedifferentsizingoptionsareavailableaspartof
themodelhierarchy:
Objectpoints(OP)
Functionpoints(FP)
Linesofsourcecode(LOC)
TheCOCOMOIIapplicationmodelusesobjectpoints
(OP)

THE COCOMO II MODEL
ObjectPointisanindirectsoftwaremeasurethatis
computedusingcountsofno.of–
Screens
Reports
Componentslikelytoberequiredtobuildthe
application
Eachoftheaboveobjectinstanceisclassifiedintoone
ofthethreecomplexitylevels–simple,mediumor
difficult

OBJECT POINTS TABLE

THE COCOMO II MODEL
Theobjectpointcountisthendeterminedby
multiplyingtheoriginalno.ofobjectinstancesbythe
weightingfactorandsummingtoobtainatotalobject
pointcount
NOP=(objectpoints)x[(1-%reuse)/100]
Where,NOP–newobjectpoints
PROD=NOP/OPperson-month
Where,PROD–productivityrate
Estimated project effort = NOP / PROD

PRODUCTIVITY METRIC TABLE

Object Point Estimation Procedure

Example
The system includes:
6 screens: 2 simple + 3 medium + 1 difficult
3 reports: 2 medium + 1 difficult
2 3GL components
30 % of the objects could be supplied from
previously developed components
Productivity is high.
Calculate estimated effort.

Solution

Solution

THE SOFTWARE EQUATION
Thesoftwareequationisadynamicmultivariablemodel
thatassumesaspecificdistributionofeffortoverthelife
ofasoftwaredevelopmentproject
Themodelhasbeenderivedfromproductivitydata
collectedforover4000contemporarysoftwareprojects.
Anestimationmodelform–43
333.0
1
*
*
tP
BLOC
E

THE SOFTWARE EQUATION
Where,
E=effortinperson-months/years
t=projectdurationinmonths/years
B=specialskillsfactor
P=productivityparameterthatreflectsoverall
processandmanagementpractices
Typicalvalues–
P=2000(real-timeembeddedsoftware)
P=10,000(telecommunication&systemsoftware)
P=28,000(businessapplications)

THE MAKE/BUY DECISION

INTRODUCTION
Itisoftenmorecosteffectivetoacquireratherthanto
developsoftware
Managershavemanyacquisitionoptions-
Softwaremaybepurchased(orlicensed)offthe
shelf
“Full-experience”or“partial-experience”software
componentsmaybeacquiredandintegratedtomeet
specificneeds
Softwaremaybecustombuiltbyanoutside
contractortomeetthepurchaser’sspecifications

INTRODUCTION
Themake/buydecisioncanbemadebasedonthe
followingconditions
Willthesoftwareproductbeavailablesoonerthan
internallydevelopedsoftware?
Willthecostofacquisitionplusthecostof
customizationbelessthanthecostofdevelopingthe
softwareinternally?
Willthecostofoutsidesupport(e.g.,amaintenance
contract)belessthanthecostofinternalsupport?

CREATING A DECISION TREE
ConsideradecisiontreeforasoftwarebasedsystemX
Inthiscase,thesoftwareengineeringorganizationcan
BuildsystemXfromscratch
Reuseexistingpartial-experiencecomponents
constructthesystem
Buyanavailablesoftwareproductandmodifyitto
meetlocalneeds
Contractthesoftwaredevelopmenttoanoutside
vendor

COMPUTING EXPECTED COST
Expectedcost=
∑(pathprobability)
ix(estimatedpathcost)
i
Where,i–decisiontreepath
Forthebuildpath,
Expectedcost
build=0.30($380K)+0.70($450K)
=$429K
Similarly,
Expected cost
reuse= $382K
Expected cost
buy= $267K
Expected cost
contract= $410K

OUTSOURCING
Softwareengineeringactivitiesarecontractedtoa
thirdpartywhodoestheworkatlowercostand,
hopefully,higherquality
Thedecisiontooutsourcecanbeeitherstrategicor
tactical
Strategic–businessmanagersconsiderwhether
significantportionofallsoftwareworkcanbe
contractedtoothers
Tactical–aprojectmanagerdetermineswhetherpart
orallofaprojectcanbebestaccomplishedby
subcontractingthesoftwarework

MIND MAP

SUMMARY
Empirical Estimation Models
The Structure of Estimation Models
The COCOMO II Model
The Software Equation
The Make/Buy Decision
Creating a Decision Tree
Expected cost
Build
Reuse
Buy
Contract
Outsourcing
Strategic
Tactical
Tags