Beruflich Dokumente
Kultur Dokumente
MANAGEMENT
by
by
Robert T. Futrell,
Donald F. Shafer,
Linda I. Shafer
Effort Estimation
• Effort is estimated after estimating the sixe of
the work
• Model to estimate Effort: COCOMO –
Constructive Cost Model
– Developed by Dr. Dennis Frailey
– Assumes that there are 19 productive staff-days per
staff-month and 152 staff-hours per staff-month.
– The above figures are arrived at by allowing for the
average number of vacation days and holidays in the
U.S. They would need to be modified for other
countries.
COCOMO – Evolution of A
Regression Model
• Dr. Barry studies 63 software projects.
• The actual work size, actual effort and actual
schedule duration were analysed.
• He used the Regression analysis to find out the
relationship between the data points.
• He plotted the data on a scattered chart.
• He observed multiple equations lines evolving.
• Hence, he developed three modes that
categorizes the complexity of the system
Scatter Plot
11
10
9
8
7
6
5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10 11
Three Modes of COCOMO
• Organic Mode: Systems have small project team, little
innovation, less deadlines and constraints, development
environment is stable. Example: payroll, inventory
• Semidetached Mode: Systems have medium-size project team,
some innovation needed, moderate deadlines and constraints,
development environment is little fluid
Example: Utility systems such as compilers, database system,
anti-virus system
• Embedded: Systems are real time, large project team, great
innovation needed, deadlines and constraints are tight, complex
interfaces – with hardware and software
Example: real-time systems such as traffic control, e-business
systems, ATM
Levels of COCOMO
• Basic level
• Intermediate level
• Detailed Level
Levels of COCOMO - Basic
• Basic Level: uses size and mode to determine
the effort and schedule.
• Useful for fast, rough estimate of small to
medium-size project
• Formula
– Effort (E) = a x (Size)b
– a and b = constants derived from regression
analysis (depends on the project)
– Size = thousands of lines of code (KLOC)
– E = effort expressed in staff-months
Levels of COCOMO - Intermediate
• Intermediate Level: Uses, size, mode, and 15
additional variables to determine the effort.
• Additional variables are cost drivers relater to
product, personnel, computer and project
attributes (business function) that result into
increase or decrease of effort.
• The product of the cost drivers is known as
Environmental Adjustment Factor (EAF)
• Formula:
Effort (E) = a x (Size)b x C, where C = EAF
Levels of COCOMO - Detailed
• Detailed Level: builds upon intermediate
COCOMO level by introducing additional
capabilities of software called as cost drivers.
• Detailed COCOMO incorporates all
characteristics of the intermediate version with an
assessment of the cost driver's impact on each
detailed phase of project (plan and
requirement, system design, detailed design,
module code, and test, integration and test,
etc.) of the software engineering process.
Estimation of Project Duration
• The formula is devised in the same way as that of
effort calculation thus giving rise to coefficient c
and d
• The duration calculated is called as
Time to develop = TDEV
• Formula
TDEV = c x (E)d
The values of coefficients a, b, c and d
used in calculating effort (a, b), time (c, d)
– for Basic level
Software project a b c d
Organic 2.4 1.05 2.5 0.38
Semi-detached 3.0 1.12 2.5 0.35
Embedded 3.6 1.20 2.5 0.32
Estimation of
Effort, Time and Staff for a project
Example 1
Example 2
Intermediate COCOMO Mode
• The mode works same as that of basic mode,
plus 15 additional variable called cost drivers are
taken into account.
• It uses size, cost driver ratings to estimate the
effort.
• Formula for Effort
– E = a x (Size) b x C
– Where C = cost driver rating
Intermediate COCOMO Formula for Effort
• Organic Mode, E = 3.2 x (Size) 1.05 x C
• Semidetached Mode, E = 3.0 x (Size) 1.12 x C
• Embedded Mode, E = 2.8 x (Size) 1.20 x C
• C = cost driver rating
• C is calculate by taking the product of all Cost drivers.
• Product of Cost Drivers is called as
Effort Adjustment Factor (EAF)
Therefore EAF = C
• EAF = C1 x C2 x ….. X Cn
• If C = 1 implies the cost driver does not apply
• If C > 1 implies increased cost due to this factor
• If C < 1 implies decreased cost due to this factor
The values of coefficients a, b, c and d
used in calculating effort (a, b), time (c, d)
– for Intermediate level projects
Software project a b
Organic 3.2 1.05
Semi-detached 3.0 1.12
Embedded 2.8 1.20
Intermediate COCOMO Cost Driver Categories
Product Computer Personnel Project
Required Software Execution Time Analyst Capability Use of Modern
Reliability (RELY) Constraints (ACAP) Programming
(TIME) Practices (MODP)
Database Size Main Storage Application Use of Software
(DATA) Constraint (STOR) Experience Tools (TOOL)
(AEXP)
Product Virtual Machine Programmer Required
Complexity Volatility (VIRT) Capability (PCAP) Development
(CPLX) Schedule (SCED)
Computer Virtual Machine
Turnaround Time Experience
(TURN) (VEXP)
Programming
Language
Experience
(LEXP)
Effort Adjustment Factor
(EAF) = C
C = RELY x DATA x CPLX x
TIME x STOR x VIRT x TURN x
ACAP x AEXP x PCAP x VEXP x
LEXP x MOCP x TOOL x SCED
Effort Estimation using
Intermediate COCOMO Model
Example 1
Example 2
Resources in a software project
• Identify the Types of roles: refers to type of work a resource
has to perform
– Database designers
– Configuration management experts
– Human interface designers
– Webmasters
– Quality assurance (QA) specialists
– Network specialists
– System architects
– Programming language experts (C, C++, Java etc.)
– Test engineers
• Identify the type of skill a resource has to perform
– Worker – Responsible to execute the scheduled work
– Supervisor – Authority to perform, command of scheduled work
– Manager – Accountable of liability for an activity or something value in a
project
Methods for selecting projects
1. Based on Criteria - Weighted scoring model
• To focusing on Broad organizational need
• To solve a problems
• To create new business opportunities
• To create directives
or
Where
Co: Initial investment made at the beginning of the project.
t = year of cash flows
A = amount of cash flow each year
r = discount rate
Example of Cash flows
NPV examples
Discount rate =10%
Project 1 Year1 Year2 Year3 Year4 Year5 Total
Benefits 0 2000 3000 4000 5000 14000
Costs 5000 1000 1000 1000 1000 9000
Cash flows (5000) 1000 2000 3000 4000 5000
NPV 2316
Project 2 Year1 Year2 Year3 Year4 Year5 Total
Benefits 1000 2000 4000 4000 4000 15000
Costs 2000 2000 2000 2000 2000 10000
Cash flows (1000) 0 2000 2000 2000 5000
NPV 3201
Figures in Rs.
Example
weighted score for project 1 = (25%*90) + (15%*70) + (15%*50) + (10%*25) +
(5%*20) + (20%*50) + (10%*20) = 56
Weighted Score by project
90
78.5
80
70
60 56
50
50 41.5
40
30
20
10
0
Project1 Project2 Project3 Project4
Corporate level Construction Project Management of a
client company like NHAI
NHAI
Entities
NH1 NH2 NH3
1. Client
2. Project
3. Contractor Contractor 1 Contractor 2 Contractor 4
4. Location
Contractor 3 Contractor 5
Relationships
1. One project will have one location. One to one
2. Many contractors work on one project. Many to One
3. Many project Managers work on many projects. Many to Many
Project Level Construction Database Entity and
Relationships for a Contractor
Project
PROGRESS FILE
Last
Progress (LP)
Columns or
Attributes
Project Table