methodatlas

Engineering Planning tool

Goal Question Metric

Derives metrics top-down from an explicit goal and the questions whose answers assess that goal.

GQM starts with a measurement goal defined by object, purpose, quality focus, viewpoint, and context. Questions operationalise the goal; metrics come afterwards. A data source without a question is not a measurement programme.

Core question
Which questions must be answered to assess the defined goal from the chosen viewpoint, and which metrics provide those answers?
Participants
3-6
Time
90-180 min

Goal Question Metric uses Goal → Questions → Metrics with an explicit interpretation model. Assessments remain justified and context-bound.

Paper illustration of Goal Question Metric with its method-specific working model.
  1. GQM goal

    GQM goal

    State object, purpose, quality focus, viewpoint, and context precisely.

  2. Questions

    Questions

    Derive questions whose answers jointly assess the goal.

  3. Metrics

    Metrics

    Define objective and subjective metrics with formula, source, segment, and data quality.

  4. Interpretation

    Interpretation

    Before viewing data, define how metrics answer questions and trigger decisions.

Revise questions and metrics when goal, viewpoint, or context changes; version interpretation models with results.

A good fit when

Useful for software, process, and quality goals with multiple information needs.

Ideal for

  • Engineering metrics
  • DevOps programs
  • Research setups

Not good for

  • Very exploratory phases without goal clarity

Outputs

  • GQM plan

    GQM plan with traceable sources, assumptions, and domain decisions.

  • Decision and review trail

    Owners, dates, and next review for GQM plan.

GQM plan

Fictional worked example

Goal → Questions → Metrics with an explicit interpretation model as a precise working structure with a fictional example.

Goal

Object · purpose · quality focus · viewpoint · context

Checkout service · release decision · reliability · Operations · EU platform

Questions

Which answers assess the goal?

Q1 failure frequency? Q2 detection time? Q3 segment outliers?

Metrics

Formula · unit · source · segment · quality

Failure rate; median/P95 detection time; payment type.

Interpretation model

How do values yield a domain decision?

Release below 0.8%, P95 under 5 min, no segment outlier.

The example demonstrates the domain logic of Goal Question Metric; worksheets remain blank.

NASA Software Engineering Handbook: The Goal Question Metric Approach

First step

Start with the core question: Which questions must be answered to assess the defined goal from the chosen viewpoint, and which metrics provide those answers?

Open the method guide

Deep dive

Purpose

Helps clarify technical problems, hypotheses, and next steps in concrete terms. It breaks a technical problem into testable parts. The result is captured as a GQM table and metric briefs.

How it works

Starting from the goal, the questions are derived that actually show whether progress or a quality gain is occurring. From these follow metrics that do not merely count but reflect the logic of the goal and enable review rhythms. This keeps metrics tied to intent rather than to the mere availability of data.

In detail

Goal Question Metric, often abbreviated as GQM, was developed by Victor Basili for software measurement. Each goal leads to a set of probing questions, and each question leads to at least one concrete metric. The method also works beyond software engineering because it anchors data to strategy.

Facilitation

Always start with the goal, never with available data. A metric must not be collected if it does not answer a question.

The method guide walks execution through 4 phases, timing, 4 pitfalls, and clear stop criteria.

Open method guide

Your perspective

Does this method help with your work?

Your feedback helps shape the next improvements to methodatlas.

Sources and topics

Topics
Artifact templates
Goal Question Metric: WorksheetPlan Goal Question Metric around its domain steps and the concrete decision question.
markdown

goal-question-metric-working-template.md

Plan Goal Question Metric around its domain steps and the concrete decision question.

Goal Question Metric: Worksheet

Question

To be confirmed

Desired outcome

To be confirmed

Scope

Full workshop Time: 60–90 minutes

Complete this worksheet on paper or in your own document during the work.

Preparation for this scope

Method setup

  • Materials: Measurement object and purpose, Quality focus and viewpoint, Context and available data, shared workspace, source links, and decision log.
  • Roles: Goal owner · domain expert · measurement/analytics · data owner
  • Advance information: Collect Measurement object and purpose, Quality focus and viewpoint, Context and available data in advance and mark open assumptions.
  • Overall time needed: 60–90 minutes
  • Setup: Prepare Goal → Questions → Metrics with an explicit interpretation model visibly and calibrate assessment terms before starting.

Prepare for the work steps

GQM goal: GQM goal

  • Measurement object and purpose
  • Quality focus and viewpoint
  • Context and available data

Questions: Questions

  • GQM goal
  • Quality focus and viewpoint
  • Context and available data

Metrics: Metrics

  • question tree
  • Quality focus and viewpoint
  • Context and available data

Interpretation: Interpretation

  • metric set
  • Quality focus and viewpoint
  • Context and available data

GQM plan

Goal

Object · purpose · quality focus · viewpoint · context

...

Questions

Which answers assess the goal?

...

Metrics

Formula · unit · source · segment · quality

...

Interpretation model

How do values yield a domain decision?

...

Enter only real input, sources, and decisions.

NASA Software Engineering Handbook: The Goal Question Metric Approach

GQM goal: GQM goal

Expected artifact: GQM goal

GQM goal · source · uncertainty · next decision

Entry:

...

  • Are all five goal elements unambiguous?

Questions: Questions

Expected artifact: question tree

question tree · source · uncertainty · next decision

Entry:

...

  • Does every question cover a relevant aspect of the goal?

Metrics: Metrics

Expected artifact: metric set

metric set · source · uncertainty · next decision

Entry:

...

  • Can every metric answer at least one question?

Interpretation: Interpretation

Expected artifact: interpretation model

interpretation model · source · uncertainty · next decision

Entry:

...

  • Is the combination of metrics into a decision traceable?

Open questions and next steps

...

Method guide: https://methodatlas.meierhoff-systems.de/en/methods/goal-question-metric/run-sheet

Alternatives and neighbors

Fitting alternatives with decision guidance, followed by other related methods.

All methods
Constraints and origin
MediumWorkshop90-180 min

Profile

Method form
Planning tool
Participants
3-6
Time
90-180 min
Maturity
Canonical
Origin
Victor Basili
Paper illustration of KPI Tree with its method-specific working model.
Next up: KPI Tree