Академический Документы
Профессиональный Документы
Культура Документы
❚ Outline:
❙ In the Software Metrics Domain:
❘ product metrics
❘ project metrics
❘ process metrics
❙ Software Measurement
❘ size-oriented metrics
❘ function-oriented metrics
❙ Metrics for Software Quality
Customer Business
characteristics conditions
Process
People Technology
Development
environment
March 2004 Chapter 4 – R. S. Pressman SRIMCA 4
Measurement
❚ What to measure?
❙ errors uncovered before release
❙ defects delivered to and reported by end users
❙ work products delivered
❙ human effort expended
❙ calendar time expended
❙ schedule conformance
❚ At what level of aggregation?
By team?
❙ Individual?
❙ Project?
❙
specification
defects
wrong customer queried
customer gave
wrong infor.
inadequate inquiries
used outdated
information incorrect changes
❚ Indirect Measures
❙ Functionality, quality, complexity, efficiency, reliability,
maintainability.
March 2004 Chapter 4 – R. S. Pressman SRIMCA 12
Software Measurement
❚ Size-Oriented Metrics
❙ are derived by normalizing quality and/or productivity
measures by considering the “size” of the software that has
been produced.
❙ lines of code often as normalization value.
Weighting Factor
measurement parameter count simple average complex
number of user inputs * 3 4 6 =
number of user outputs * 4 5 7 =
# of user inquiries * 3 4 6 =
number of files * 7 10 15 =
# of external interfaces * 5 7 10 =
count_total
C++
March 2004 Chapter 4 – R. S. Pressman 64
SRIMCA 21
Visualbasic 32
Metrics for Software Productivity
❚ LOC and FP Measures Are Often Used to Derive Productivity
Metrics
❚ 5 Important Factors That Influence SW Productivity
❙ people factors
❙ problem factors
❙ process factors
❙ product factors
❙ resource factors
❚ Integrity
❙ to measure a system’s ability to withstand attacks (both accidental
and intentional) on its security threat and security are defined