Академический Документы
Профессиональный Документы
Культура Документы
6/e
Chapter 23
Estimation for Software Projects
copyright 1996, 2001, 2005
Thesecoursewarematerialsaretobeusedinconjunction
Thesecoursewarematerialsaretobeusedinconjunction
Thesecoursewarematerialsaretobeusedinconjunction
Thesecoursewarematerialsaretobeusedinconjunction
Estimation
experience
access to good historical information (metrics
the courage to commit to quantitative predictions when
qualitative information is all that exists
Thesecoursewarematerialsaretobeusedinconjunction
Write it Down!
Project Scope
Estimates
Risks
Schedule
Control strategy
Software
Project
Plan
Thesecoursewarematerialsaretobeusedinconjunction
Thesecoursewarematerialsaretobeusedinconjunction
What is Scope?
Thesecoursewarematerialsaretobeusedinconjunction
Resources
number
software
tools
skills
hardware
people
environment
location
network
resources
project
OTS
components
reusable
software
full-experience
components
new
components
part.-experience
components
Thesecoursewarematerialsaretobeusedinconjunction
Project Estimation
Thesecoursewarematerialsaretobeusedinconjunction
10
Estimation Techniques
Empirical models
Automated tools
Thesecoursewarematerialsaretobeusedinconjunction
11
Estimation Accuracy
Predicated on
the degree to which the planner has properly estimated the size
of the product to be built
the ability to translate the size estimate into human effort,
calendar time, and dollars (a function of the availability of
reliable software metrics from past projects)
the degree to which the project plan reflects the abilities of the
software team
the stability of product requirements and the environment that
supports the software engineering effort.
Thesecoursewarematerialsaretobeusedinconjunction
12
Functional Decomposition
Statement
of
Scope
Perform a
Grammatical parse
functional
decomposition
Thesecoursewarematerialsaretobeusedinconjunction
13
Conventional Methods:
LOC/FP Approach
Thesecoursewarematerialsaretobeusedinconjunction
14
Thesecoursewarematerialsaretobeusedinconjunction
15
Example: FP Approach
Thesecoursewarematerialsaretobeusedinconjunction
16
Process-Based Estimation
Obtained from process framework
framework activities
application
functions
Effort required to
accomplish
each framework
activity for each
application function
Thesecoursewarematerialsaretobeusedinconjunction
17
CC
P la n n in g
R is k
A n a ly s is
T ask
E n g ine e rin g
analy s is
C o n s tru c t io n
R e le a s e
des ign
c ode
te s t
5.00
2.00
CE
T o tals
n/a
n/a
n/a
8.40
F u n ctio n
U IC F
0.50
2.50
0.40
2D GA
3D GA
C GD F
0.75
0.50
0.50
4.00
4.00
3.00
0.60
1.00
1.00
D SM
PC F
D AM
0.50
0.25
0.75
0.50
0.50
3.00
2.00
2.00
4.50
T o tals
0.25
0.25
0.25
3.50
20.50
% effo r t
1%
1%
1%
8%
45%
0.50
10%
3.00
1.50
1.50
1.50
2.00
16.50
n/a
n/a
n/a
n/a
7.35
8.50
6.00
5.75
4.25
5.00
46.00
36%
C E = c us tom er ev aluation
Thesecoursewarematerialsaretobeusedinconjunction
18
Tool-Based Estimation
project characteristics
calibration factors
LOC/FP data
Thesecoursewarematerialsaretobeusedinconjunction
19
scenarios pages
10
6
20
8
6
5
scenarios pages
12
5
16
8
10
6
Thesecoursewarematerialsaretobeusedinconjunction
20
usually derived
as person-months
of effort required
either a constant or
a number derived based
on complexity of project
exponent
empirically
derived
usually LOC but
may also be
function point
Thesecoursewarematerialsaretobeusedinconjunction
21
COCOMO-II
Thesecoursewarematerialsaretobeusedinconjunction
22
Thesecoursewarematerialsaretobeusedinconjunction
23
Interface type
No GUI
Text-based user interface
GUI
Complex GUI
Multiplier
2.0
2.25
2.5
3.0
Thesecoursewarematerialsaretobeusedinconjunction
24
Thesecoursewarematerialsaretobeusedinconjunction
25
Estimates for each task are summed to create an estimate for the scenario.
Alternatively, the volume estimate for the scenario is translated into effort using
historical data.
The effort estimates for all scenarios that are to be implemented for a given
software increment are summed to develop the effort estimate for the
increment.
Thesecoursewarematerialsaretobeusedinconjunction
26
build
difficult (0.70)
minor changes
(0.40)
system X
reuse
buy
contract
major
changes
(0.60)
simple (0.20)
complex (0.80)
minor changes
(0.70)
major changes (0.30)
$380,000
$450,000
$275,000
$310,000
$490,000
$210,000
$400,000
$350,000
$500,000
Thesecoursewarematerialsaretobeusedinconjunction
27
= $429 K
similarly,
expected cost reus =
e
$382K
expected cost buy =
expected
$267K cost contr =
$410K
Thesecoursewarematerialsaretobeusedinconjunction
28