Goal Question Metric v01
Goal Question Metric v01
Goal-Question-Metric
(GQM)
Eduardo Figueiredo
http://www.dcc.ufmg.br/~figueiredo
Choosing Metrics
Goals
They define what the
organization wants to improve
Questions
They refine each goal to
a more quantifiable way
Metrics
They indicate the metrics
required to answer each question
GQM Representation
Goal 1 Goal 2
Q1 Q2 Q3 Q4 Q5
M1 M2 M3 M4
Example of Use (1)
Goal
Increase productivity
Questions
What are productivity bottlenecks?
How can we increase the
amount of code we produce?
Metrics
Current lines of code (LOC)
per developer
Example of Use (2)
Goal
Decrease development time
Questions
What are the bottlenecks?
How to decrease specification time?
Metrics
Time required for requirements
Time required for modeling
Goal Definition Template
To answer Q1
Coupling metrics
Cohesion metrics
To answer Q2
Component size
Interface complexity
Bibliography