Estimation For Software Project: Ashish Kumar Dwivedi
Estimation For Software Project: Ashish Kumar Dwivedi
Project
Ashish Kumar Dwivedi
Metrics
• Process, Project and Product Metrics
• Estimation for Software Project: COCOMO
• Software metrics are analyzed and assessed by software managers.
• Measures are often collected by software engineers.
• If you don’t measure, judgment can be based only on subjective
evaluation
Software Measurements
Questions:
• Compute the function point value for a project with the following information domain
characteristics: Number of user inputs: 32, Number of user outputs: 60, Number of user
inquiries: 24, Number of files: 8, Number of external interfaces: 2, Assume that all
complexity adjustment values are average. It is also given that, out of fourteen value
adjustment factors that influence the development effort, four factors are not applicable,
each of the other four factors has value 3, and each of the remaining factors has value 4.
The computed value of the function point metric is….
• The software used to control a photocopier requires 32,000 lines of C and 4,200
lines of Smalltalk. Estimate the number of function points for the software inside
the copier
• Ans:
Function Points
STEP 1: measure size in terms of the amount of functionality in a
system. Function points are computed by first calculating an unadjusted
function point count (UFC). Counts are made for the following
categories
❑ External inputs – those items provided by the user that describe
distinct application-oriented data (such as file names and menu
selections)
❑ External outputs – those items provided to the user that generate
distinct application-oriented data (such as reports and messages,
rather than the individual components of these)
❑ External inquiries – interactive inputs requiring a response
❑ External files – machine-readable interfaces to other systems
❑ Internal files – logical master files in the system
Example
Example (.)
Relation between LOC and FP
• Relationship:
• where
• LOC (Lines of Code)
• FP (Function Points)
Relation between LOC and FP(.)
Assuming LOC’s per FP for:
Java = 53,
C++ = 64
Cost=SizeOfTheProject x Productivity
Cost Estimation Process
Effort
Size Table
Development Time
Lines of Code
Estimation Process
Number of Use Case Number of Personnel
Mode a b
Mode a b
AFP = FP ** 1.25
• Use the following table for calculating error estimates
Classes*(2Function Points)
KLOC=Max[aKLOC, bKLOC]