Académique Documents
Professionnel Documents
Culture Documents
Starter Questions
Why Measure?
accurate estimation
quality improvement
Types of Metrics
Product Metrics
direct measures - costs, LOC per month indirect measures - quality assurance, reliability
Code Metrics
Size
Efficiency
Complexity
Maintainability
Maintainability Flexibility
Portability Reusability
Product Revision Product Transition
Testability
Interoperability
Product Operations
Operability Training Communicativeness Input/Output volume Input/Output gate Access Control Access Audit Storage efficiency Execution Efficiency Traceability Completeness Accuracy Error Tolerance Consistency Simplicity Conciseness Instrumentation Expandability Generality Self-Descriptiveness Modularity Machine Independence Software System Independence Communications Commonality Data Commonality
Usability
Integrity Efficiency Correctness Reliability Maintainability Testability Flexibility Reusability Portability Interoperability
ISO 9126
Quality Characteristics and Guidelines for Their Use
Quality Factors
1. 2. 3. 4. 5. 6.
Design Metrics
Cohesion
coincidental logical - eg does all output temporal - eg all the startup work procedural - executed in this order communicational - module arrangement on work on what data functional
Coupling
Object-Oriented Metrics
not only how many methods per class are there, but also how complex are they
Y X
Project Metrics
LOC or FP per month Errors per LOC (aka Defect Density) Defect Removal Efficiency Time required to make changes Test coverage Required Skills
Version 1
LOC Defects/LOC Relation
1
2 3 4 5 Sum
12
5 2 3 6 28
777
110 110 110 1000 2107
0.01544
0.04545 0.01818 0.02727 0.00600 0.01329
3
6 3 4 70 86
55
110 110 110
0.05455
0.05455 0.02727 0.03636
<
< < < <
>
http://irb.cs.tu-berlin.de/~zuse/sme.html
Basic Questions
What are the basic metrics that managers need to track? How do we gather all these numbers? When do we process all these numbers?
(repeatable)
completion of milestones compared to the plan work completed, funds expended, compared to plan
(defined)
Training Program
number of training waivers approved actual attendance vs projected attendance results on post-training tests numbers, types, and severity of defects by stage effort to analyze proposed changes number of changes by category
Summary
To do something well, we must understand what we are doing. To understand something, we must be able to measure it. We can measure what we are building and we can measure our building process.
Next Topics