Chapter 2 Goal Based Framework For Software Measurement
Chapter 2 Goal Based Framework For Software Measurement
1
Classifying Software Measures
In software there are three such classes
2
Internal and External Attributes
• An internal attribute can be measured by examining the
product, process, or resource on its own, separate from its
behavior. (Program size, complexity, dependencies).
3
Internal and External Attributes
Internal External
▪ Size, Effort, Cost ▪ Usability
▪ Code Complexity ▪ Integrity
▪ Functionality ▪ Efficiency
▪ Modularity ▪ Testability
▪ Redundancy ▪ Reusability
▪ Syntactic Correctness ▪ Portability
▪ Reuse ▪ Interoperability
4
Importance of Internal Attributes
• Many software engineering methods proposed and
developed in the last 25 years provide rules, tools, and
any heuristics for providing software products. It is
claimed that this structure makes them easier to
understand, and tests.
• We want to know how long it takes for a process to complete, how much it will
cost, whether it is effective or efficient, and how it compares with other processes
that we could’ve chosen.
• Cost is often measured across all types of resources, so that managers can
see how the cost of inputs affects the cost of the outputs.
8
Determining what to measure
• A particular measurement is useful only if it helps you to
understand the underlying process or one of its resultant
products.
9
Goal-Question-Metric
• The GQM approach to process and metrics has proven
to be a particular effective approach to selecting and
implementing the metrics.
• To use GQM,
✓You express the overall goals of your organization
✓Ask relevant questions
✓Measure.
10
Examples of AT&T Goals, Questions
and Metrics
11
Measurement and Process
Improvement
• The Software Engineering Institute has suggested
that there are five levels of process maturity.
• These levels of are: ad hoc, repeatable, defined,
managed and optimized.
• The SEI distinguishes one level from another in
terms of key process activity going on at each
level.
12
Overview Of Process Maturity
And Measurement
I. Ad hoc: Initial, Baseline
13
Software Measurement Validation
• Even when you know which entity and attribute you want to
assess, there are many measures from which to choose.
15
Questions….
16