Cost Estimation
Cost Estimation
DA-IICT
Saurabh Tiwari
1
8/24/24
Motivation
• Others...
2
8/24/24
Software Estimation
Objectives:
•To introduce the fundamentals of software costing and pricing
•To describe
• LOC model
• COCOMO ‘Constructive Cost Model‘
• Object-point model
• Function points model
3
8/24/24
Programmer productivity
Productivity measures
4
8/24/24
Productivity comparisons
5
8/24/24
• Post-architecture level
• Estimates based on lines of source code or function point
• Includes 17 cost drivers
6
8/24/24
7
8/24/24
Object-Points Weighting
8
8/24/24
Object-Points Estimation
Productivity Estimates
LOC productivity
Real-time embedded systems: 40-160 LOC/P-month
Systems programs: 150-400 LOC/P-month
Commercial applications: 200-800 LOC/P-month
9
8/24/24
Example:
An application contains 840 Object-points (NOP=840) &
Productivity is very high (= 50 object points/person-month )
10
8/24/24
OP Estimation Procedure
OP Estimation Example
• Productivity is high
11
8/24/24
Object counts:
2 simple screens x1 = 2
3 medium screens x2 = 6
1 difficult screen x3 = 3
2 medium reports x5 = 10
1 difficult report x8 = 8
2 3GL components x 10 = 20
NOP 49
12
8/24/24
Function Points
Function Points
13
8/24/24
14
8/24/24
Estimating Examples
15
8/24/24
16
8/24/24
FPs Standard
ISO Standards
COSMIC - ISO/IEC 19761:2011 Software engineering. A functional size
measurement method.
FiSMA - ISO/IEC 29881:2008 Information technology - Software and
systems engineering - FiSMA 1.1 functional size measurement method.
IFPUG - ISO/IEC 20926:2009 Software and systems engineering -
Software measurement - IFPUG functional size measurement method.
Mark-II - ISO/IEC 20968:2002 Software engineering - Ml II Function
Point Analysis - Counting Practices Manual.
NESMA - ISO/IEC 24570:2005 Software engineering - NESMA function
size measurement method version 2.1 - Definitions and counting
guidelines for the application of Function Point Analysis.
17
8/24/24
Another View of FP
FPs - Artifacts
18
8/24/24
FPs
• Weight range:
• from 3 for simple feature
• to 15 for complex feature
19
8/24/24
20
8/24/24
21
8/24/24
22
8/24/24
23
8/24/24
24
8/24/24
25
8/24/24
FPs Approach
FP Components
26
8/24/24
FP Example
FP Example
27
8/24/24
FP Example
58*8=464 [hours]
The estimate for developing the application would take
about 464 hours of work.
28