Академический Документы
Профессиональный Документы
Культура Документы
Process
Measurement
This material is approved for public release. Distribution is limited by the
Software Engineering Institute to attendees.
Planning overview
Software size
• why measure size
• size measurement criteria
• the SEI size measurement framework
50
40
Time (hours)
30
20
10
0
0 100 200 300 400 500 600 700
Script Size
60
50
Time (hours)
40
30
20
10
0
0 1000 2000 3000 4000 5000 6000 7000 8000
Report Size
90
80
70
Time (hours)
60
50
40
30
20
10
0
0 500 1000 1500 2000 2500 3000 3500 4000
Screen Elements
5000
4000
Time (min.)
3000
2000
1000
0
0 100 200 300 400 500 600 700 800
C++ LOC
12000
10000
Time (min.)
8000
6000
4000
2000
0
0 200 400 600 800 1000 1200 1400 1600 1800 2000
Pascal LOC
Function points
• intuitive
• not directly measurable
LOC
• not intuitive
• directly measurable
Statement specifications
• executable
• nonexecutable
• counted statement types
Application
• language and code type
• origin and usage
Physical lines
• are easy to count
• are not invariant
• must be precisely defined for each case
What happened?
© 2006 by Carnegie Mellon University January 2006 PSP I - Process Measurement - 35
Example of Size Accounting -2
Added Subtracted Base
Base V0 0
Deleted 0
Modified 0 0
Added 350
Base V1 350 -0 350
Deleted 0
Modified 25 25
Added 100
V1 Product 125 -25 450
Total Added and Modified LOC 475