Software Project Management
Lecture # 5
Outline
 Chapter 23 – “Estimation”
 Introduction
 What is Estimation
 Estimation and Risk
 Project Planning Activities
 Software Scope and Feasibility
 Resources
 Software Project Estimation
 Decomposition Techniques
 Empirical Estimation Models
Introduction
 Software Project Management begins with
'Project Planning’ activities
 Software project planning includes five
major activities:
 Estimation (of work, resources, time)
 Scheduling
 Risk Analysis
 Quality Management Planning
 Change Management Planning
What is Estimation?
 Estimation is to determine how much…
 Money/cost,
 efforts,
 resources and
 time
…will be taken to build a specific software
based system or product.
 Estimation is foundation for all project
planning activities
Estimation Steps – Summary
 Description of product scope
 Decomposition of problem into set of
smaller problems
 Each sub problem is estimated using
historical data, software metrics and
experience (from past projects) as guides.
 Problem complexity and risks are
considered before final estimate is made
Estimation and Risk
 Estimation carries inherent risk & risk leads
to uncertainty
 Estimation risk is measured by the degree of
uncertainty in the quantitative estimates
established for resources, cost, and
schedule.
 Availability of comprehensive historical
information and software metrics (from past
projects) helps establish better estimates
and hence reduces risk factors
Project Planning Process
 Software project planning provides a
framework that enables the manager
to make reasonable estimates
 Although there is inherent uncertainty,
the team embarks on a project plan
 But, this plan must be adapted and
updated as the project progresses
The Software Project Planning
Activities
Software Scope
 It is defined in one of the following ways:
 Narrative description developed after communication with
all stakeholders
 A set of use-cases developed by end-user
 It describes
 functions & features to be delivered to end-user ( these
are evaluated and sometimes refined before estimation is
started)
 “content” presented to users as they use the software
 Performance considerations (processing and response
time, etc)
 Constraints (limits placed on software by external
hardware, available memory, or existing systems)
 Input and output data
 Interfaces and reliability that bound the system
Software Feasibility
 It is conducted after scope identification
 It is very crucial but is often overlooked either
by software engineers or by the impatient
customers and managers
 It addresses questions like
 Can we build software to meet this scope?
 Is the project feasible?
Software Feasibility (Cont.)
 Putnam and Myers address feasibility in four
dimensions
 Technology
 Is the project technically feasible? Is it within state of the art?
Can defects be reduced as needed?
 Finance
 Is it financially feasible? Can the development be completed
at a cost that the software organization, the client or the
market can afford
 Time
 Will the project’s time-to-market beat the competition?
 Resources
 Does the organization have enough resources needed to
succeed?
Resources
 Three categories of resources:
 People/Human resources
 Reusable software components
 Development environment (s/w & h/w tools)
 Each resource has 4 characteristics
 Description of resource
 Statement of availability
 Time when resource will be required
 Duration of time when resource will be applied
1.Human resources
 This estimation involves
 Selecting Skills (required to complete
development)
 Specifying organizational positions (manager,
senior s/w engr, ..) and specialty
 Determining number of people based on
development effort
 For small projects, single person can do all s/w engg
tasks
 For large projects, more number of people involved
which may be geographically distributed. So, location
of resource also specified
2. Reusable Software Resources
 CBSE emphasizes the creation and reuse of software
building blocks (components)
 4 categories of software components
 Off-the-shelf components
 Ready-to-use existing software acquired from third party
(COTS) or from (internal) past projects
 Full-experience components
 Existing specifications, designs, code, test data from past
projects similar to software to be developed (for current
project). May require little modifications
 Partial experience component
 Existing specifications, designs, code, test data from past
projects related to software to be developed (for current
project) but will require substantial modifications
 New components
 Software components that must be built for current project
3. (Development) Environment
resources
 These include hardware and software
support for a software project
 Hardware and software elements availability
and time window must be specified
Software Project Estimation
 Options for cost and effort estimates
 Delay estimation until late in project
 Not a practical approach
 Base estimation on similar past projects
 Reasonable approach but not always successful
 Use simple decomposition techniques to generate
estimates
 Divide and conquer approach. Divide project into major
activities/functions and make estimates
 Use some empirical model for estimation
 Complements decomposition techniques
 Which option is better?
 Each approach can be used as a cross-check for the
other
Decomposition Techniques
 Decomposition can be performed in
two aspects
 Decomposition of problem
 Decomposition of process
1. Software Sizing
 Proper estimation of software size and mapping of
size estimate to human effort, calendar time and cost
are important things which contribute to accuracy of
overall software project estimation
 Direct approach – size is measured as LOC
 Indirect approach – size is measured as function-
points
 Putnam and Myers suggested 4 different approaches
for sizing problem
 Fuzzy logic sizing
 Function point sizing
 Standard component sizing
 Change sizing
Other types of estimations…
2. Problem based estimation
3. FP-based estimation
4. Process-based estimation
5. Use-case based estimation
Empirical Estimation Models
 An estimation model for software uses
empirically derived formulas .
 These formulas can predict effort as a
function of LOC or FP.
 Empirical data (that support most estimation
models) are derived from limited sample of
projects, that is why, no estimation model is
appropriate for all classes of software and in
all development environments.
 Estimation model must be calibrated for
local conditions.
Structure of Estimation Models
 A typical empirical model is derived using
regression analysis on data collected from
past projects
 Overall structure of such models takes the
form
E= A+B x (ev)C
 A, B and C are empirically derived constants, E
is effort in person-months and ev is estimation
variable (either LOC or FP)
Empirical Estimation Models -
Examples
 Proposed LOC-oriented estimation models
 E= 5.2 x (KLOC)0.91
Walston-Felix model
 E= 5.5 + 0.73 x (KLOC)1.16
Bailey-Basili model
 E= 3.2 x (KLOC)1.05
Boehm simple model
 E= 5.288 x (KLOC)1.047
Doty model for KLOC>9
 Proposed FP-oriented estimation models
 E= -91.4 + 0.355 FP Albrecht and Gaffney model
 E= -37 + 0.96 FP Kemerer model
 E= -12.88 + 0.405 FP small project regression model
The COCOMO II Model
 Boehm suggested a hierarchy of software
estimation models named: COCOMO.
 COCOMO stands for COnstructive COst
MOdel
 Original COCOMO model became one of
the most widely used and discussed
software cost estimation models
 COCOMO evolved into COCOMO II
COCOMO II Model (Cont.)
 COCOMO II addresses the following areas:
 Application composition model
 Used during the early stages of s/w engg.
 when UI prototyping, s/w and system interaction, performance
assessment and tech. evaluation are paramount.
 Early design stage model
 Used once requirements have been stabilized and
basic architecture has been established
 Post-architecture stage model
 Used during the construction of software
 Like other estimation models, COCOMO II
uses sizing information (object points, function
points and lines of code).
COCOMO II Model (Cont.)
 COCOMO II Application composition model uses
object points
 Object points is an indirect software measure computed
using
 Screens (at UI)
 Reports
 Components likely to be required to build the application
 Each object instance is classified into one of these
complexity levels (simple, medium, difficult) on criteria
suggested by Boehm.
 Complexity is a function of number of client and server
tables required to generate a screen or report and number
of sections or views within a screen or report
 After determining complexity, no. of screens, reports and
components are weighted as in figure (23.6).
 The object point count is determined by multiplying
original no. of object instances by weighting factor.
Figures 23.6 & 23.7
Object Type Complexity Weight
Simple Medium Difficult
Screen 1 2 3
Report 2 5 8
3GL component 10
Developer’s
experience/capabilit
y
Very Low Low Nominal High Very High
Environment
maturity/capability
Very Low Low Nominal High Very high
PROD 4 7 13 25 50
COCOMO II Model (Cont.)
 For component-based development or when
software reuse is applied, the %reuse is estimated
and object point count is adjusted:
 NOP = (object points) x [(100 - %reuse)/100]
 NOP is new object points
 To derive estimate of effort based on computed
NOP value, a productivity rate must be derived
 PROD = NOP / person-month
 Estimate of project effort can be derived as:
 Estimated effort = NOP/PROD
 Excluded
 23.8
 23.9 and sub topics

More Related Content

PPTX
4. case study
PPT
Analysis modeling
PPTX
Decomposition technique In Software Engineering
PPTX
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
PPT
Introduction to Software Project Management
PPT
Lecture 2 introduction to Software Engineering 1
PPTX
Cocomo model
PDF
Elaboration and domain model
4. case study
Analysis modeling
Decomposition technique In Software Engineering
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
Introduction to Software Project Management
Lecture 2 introduction to Software Engineering 1
Cocomo model
Elaboration and domain model

What's hot (20)

PDF
Spm software effort estimation
PPT
Organization and team structures
PPT
Cocomo model
PPT
Risk management(software engineering)
PPTX
Data Designs (Software Engg.)
PPT
Rad model
PPT
Software Engineering (Project Planning & Estimation)
PPTX
Software Architecture
PPT
Object Oriented Design in Software Engineering SE12
PPT
Unit iii(part b - architectural design)
PDF
Object Oriented Design
PPTX
Special value testing
PPTX
Case study on gina(gobal innovation network and analysis)
PPT
Black box and white box testing
PPTX
Cohesion and coupling
DOCX
Cloud computing notes unit II
PPT
Chapter 15
PPTX
software project management Artifact set(spm)
PDF
02.project training and placement cell
PPTX
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Spm software effort estimation
Organization and team structures
Cocomo model
Risk management(software engineering)
Data Designs (Software Engg.)
Rad model
Software Engineering (Project Planning & Estimation)
Software Architecture
Object Oriented Design in Software Engineering SE12
Unit iii(part b - architectural design)
Object Oriented Design
Special value testing
Case study on gina(gobal innovation network and analysis)
Black box and white box testing
Cohesion and coupling
Cloud computing notes unit II
Chapter 15
software project management Artifact set(spm)
02.project training and placement cell
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Ad

Similar to Lecture5 (20)

PDF
project planning components.pdf
PDF
APznzaZSEwUJhKEim-rOA-Svk6nc1xZygCeBBAW4QZluPqM0dLSELK_S9YNDE8po44L2LgB6Is5VJ...
PPT
Chapter 3- Software Project Management(Reduced).ppt
PPT
Project Estimation.ppt
PPT
Project Estimation.ppt
PPTX
SE - Lecture 11 - Software Project Estimation.pptx
PPT
LECT9.ppt
PPTX
CS8494 SOFTWARE ENGINEERING Unit-5
PPTX
Estimation sharbani bhattacharya
PDF
Software Project Planning and Estimation.pdf
PPT
21UCAE52 Software Project Management.ppt
PPT
Software estimation
PDF
CHAPTER II 2.pdfhhhjjjjjjhrrtujiiiuyrrtjj
PPTX
SE-Lecture-5.pptx
PPTX
Software metrics in software engineering
PPSX
Cost estimation
PPTX
PPT
cost factor.ppt
PPT
spm cost estmate slides for bca 4-195245927.ppt
PDF
Software_effort_estimation for Software engineering.pdf
project planning components.pdf
APznzaZSEwUJhKEim-rOA-Svk6nc1xZygCeBBAW4QZluPqM0dLSELK_S9YNDE8po44L2LgB6Is5VJ...
Chapter 3- Software Project Management(Reduced).ppt
Project Estimation.ppt
Project Estimation.ppt
SE - Lecture 11 - Software Project Estimation.pptx
LECT9.ppt
CS8494 SOFTWARE ENGINEERING Unit-5
Estimation sharbani bhattacharya
Software Project Planning and Estimation.pdf
21UCAE52 Software Project Management.ppt
Software estimation
CHAPTER II 2.pdfhhhjjjjjjhrrtujiiiuyrrtjj
SE-Lecture-5.pptx
Software metrics in software engineering
Cost estimation
cost factor.ppt
spm cost estmate slides for bca 4-195245927.ppt
Software_effort_estimation for Software engineering.pdf
Ad

Recently uploaded (20)

PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
IGGE1 Understanding the Self1234567891011
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
HVAC Specification 2024 according to central public works department
PDF
Empowerment Technology for Senior High School Guide
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Introduction to pro and eukaryotes and differences.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
IGGE1 Understanding the Self1234567891011
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Weekly quiz Compilation Jan -July 25.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
HVAC Specification 2024 according to central public works department
Empowerment Technology for Senior High School Guide
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
LDMMIA Reiki Yoga Finals Review Spring Summer
Share_Module_2_Power_conflict_and_negotiation.pptx
Unit 4 Computer Architecture Multicore Processor.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Introduction to pro and eukaryotes and differences.pptx

Lecture5

  • 2. Outline  Chapter 23 – “Estimation”  Introduction  What is Estimation  Estimation and Risk  Project Planning Activities  Software Scope and Feasibility  Resources  Software Project Estimation  Decomposition Techniques  Empirical Estimation Models
  • 3. Introduction  Software Project Management begins with 'Project Planning’ activities  Software project planning includes five major activities:  Estimation (of work, resources, time)  Scheduling  Risk Analysis  Quality Management Planning  Change Management Planning
  • 4. What is Estimation?  Estimation is to determine how much…  Money/cost,  efforts,  resources and  time …will be taken to build a specific software based system or product.  Estimation is foundation for all project planning activities
  • 5. Estimation Steps – Summary  Description of product scope  Decomposition of problem into set of smaller problems  Each sub problem is estimated using historical data, software metrics and experience (from past projects) as guides.  Problem complexity and risks are considered before final estimate is made
  • 6. Estimation and Risk  Estimation carries inherent risk & risk leads to uncertainty  Estimation risk is measured by the degree of uncertainty in the quantitative estimates established for resources, cost, and schedule.  Availability of comprehensive historical information and software metrics (from past projects) helps establish better estimates and hence reduces risk factors
  • 7. Project Planning Process  Software project planning provides a framework that enables the manager to make reasonable estimates  Although there is inherent uncertainty, the team embarks on a project plan  But, this plan must be adapted and updated as the project progresses
  • 8. The Software Project Planning Activities
  • 9. Software Scope  It is defined in one of the following ways:  Narrative description developed after communication with all stakeholders  A set of use-cases developed by end-user  It describes  functions & features to be delivered to end-user ( these are evaluated and sometimes refined before estimation is started)  “content” presented to users as they use the software  Performance considerations (processing and response time, etc)  Constraints (limits placed on software by external hardware, available memory, or existing systems)  Input and output data  Interfaces and reliability that bound the system
  • 10. Software Feasibility  It is conducted after scope identification  It is very crucial but is often overlooked either by software engineers or by the impatient customers and managers  It addresses questions like  Can we build software to meet this scope?  Is the project feasible?
  • 11. Software Feasibility (Cont.)  Putnam and Myers address feasibility in four dimensions  Technology  Is the project technically feasible? Is it within state of the art? Can defects be reduced as needed?  Finance  Is it financially feasible? Can the development be completed at a cost that the software organization, the client or the market can afford  Time  Will the project’s time-to-market beat the competition?  Resources  Does the organization have enough resources needed to succeed?
  • 12. Resources  Three categories of resources:  People/Human resources  Reusable software components  Development environment (s/w & h/w tools)  Each resource has 4 characteristics  Description of resource  Statement of availability  Time when resource will be required  Duration of time when resource will be applied
  • 13. 1.Human resources  This estimation involves  Selecting Skills (required to complete development)  Specifying organizational positions (manager, senior s/w engr, ..) and specialty  Determining number of people based on development effort  For small projects, single person can do all s/w engg tasks  For large projects, more number of people involved which may be geographically distributed. So, location of resource also specified
  • 14. 2. Reusable Software Resources  CBSE emphasizes the creation and reuse of software building blocks (components)  4 categories of software components  Off-the-shelf components  Ready-to-use existing software acquired from third party (COTS) or from (internal) past projects  Full-experience components  Existing specifications, designs, code, test data from past projects similar to software to be developed (for current project). May require little modifications  Partial experience component  Existing specifications, designs, code, test data from past projects related to software to be developed (for current project) but will require substantial modifications  New components  Software components that must be built for current project
  • 15. 3. (Development) Environment resources  These include hardware and software support for a software project  Hardware and software elements availability and time window must be specified
  • 16. Software Project Estimation  Options for cost and effort estimates  Delay estimation until late in project  Not a practical approach  Base estimation on similar past projects  Reasonable approach but not always successful  Use simple decomposition techniques to generate estimates  Divide and conquer approach. Divide project into major activities/functions and make estimates  Use some empirical model for estimation  Complements decomposition techniques  Which option is better?  Each approach can be used as a cross-check for the other
  • 17. Decomposition Techniques  Decomposition can be performed in two aspects  Decomposition of problem  Decomposition of process
  • 18. 1. Software Sizing  Proper estimation of software size and mapping of size estimate to human effort, calendar time and cost are important things which contribute to accuracy of overall software project estimation  Direct approach – size is measured as LOC  Indirect approach – size is measured as function- points  Putnam and Myers suggested 4 different approaches for sizing problem  Fuzzy logic sizing  Function point sizing  Standard component sizing  Change sizing
  • 19. Other types of estimations… 2. Problem based estimation 3. FP-based estimation 4. Process-based estimation 5. Use-case based estimation
  • 20. Empirical Estimation Models  An estimation model for software uses empirically derived formulas .  These formulas can predict effort as a function of LOC or FP.  Empirical data (that support most estimation models) are derived from limited sample of projects, that is why, no estimation model is appropriate for all classes of software and in all development environments.  Estimation model must be calibrated for local conditions.
  • 21. Structure of Estimation Models  A typical empirical model is derived using regression analysis on data collected from past projects  Overall structure of such models takes the form E= A+B x (ev)C  A, B and C are empirically derived constants, E is effort in person-months and ev is estimation variable (either LOC or FP)
  • 22. Empirical Estimation Models - Examples  Proposed LOC-oriented estimation models  E= 5.2 x (KLOC)0.91 Walston-Felix model  E= 5.5 + 0.73 x (KLOC)1.16 Bailey-Basili model  E= 3.2 x (KLOC)1.05 Boehm simple model  E= 5.288 x (KLOC)1.047 Doty model for KLOC>9  Proposed FP-oriented estimation models  E= -91.4 + 0.355 FP Albrecht and Gaffney model  E= -37 + 0.96 FP Kemerer model  E= -12.88 + 0.405 FP small project regression model
  • 23. The COCOMO II Model  Boehm suggested a hierarchy of software estimation models named: COCOMO.  COCOMO stands for COnstructive COst MOdel  Original COCOMO model became one of the most widely used and discussed software cost estimation models  COCOMO evolved into COCOMO II
  • 24. COCOMO II Model (Cont.)  COCOMO II addresses the following areas:  Application composition model  Used during the early stages of s/w engg.  when UI prototyping, s/w and system interaction, performance assessment and tech. evaluation are paramount.  Early design stage model  Used once requirements have been stabilized and basic architecture has been established  Post-architecture stage model  Used during the construction of software  Like other estimation models, COCOMO II uses sizing information (object points, function points and lines of code).
  • 25. COCOMO II Model (Cont.)  COCOMO II Application composition model uses object points  Object points is an indirect software measure computed using  Screens (at UI)  Reports  Components likely to be required to build the application  Each object instance is classified into one of these complexity levels (simple, medium, difficult) on criteria suggested by Boehm.  Complexity is a function of number of client and server tables required to generate a screen or report and number of sections or views within a screen or report  After determining complexity, no. of screens, reports and components are weighted as in figure (23.6).  The object point count is determined by multiplying original no. of object instances by weighting factor.
  • 26. Figures 23.6 & 23.7 Object Type Complexity Weight Simple Medium Difficult Screen 1 2 3 Report 2 5 8 3GL component 10 Developer’s experience/capabilit y Very Low Low Nominal High Very High Environment maturity/capability Very Low Low Nominal High Very high PROD 4 7 13 25 50
  • 27. COCOMO II Model (Cont.)  For component-based development or when software reuse is applied, the %reuse is estimated and object point count is adjusted:  NOP = (object points) x [(100 - %reuse)/100]  NOP is new object points  To derive estimate of effort based on computed NOP value, a productivity rate must be derived  PROD = NOP / person-month  Estimate of project effort can be derived as:  Estimated effort = NOP/PROD
  • 28.  Excluded  23.8  23.9 and sub topics