be_ixf;ym_201912 d_16; ct_50
image

Agile Testing/DevOps

Forrester Research: What Quality Metrics Matter Most for DevOps?

The way that we develop and deliver software has changed dramatically in the past 5 years—but the metrics we use to measure quality remain largely the same. Despite seismic shifts in business expectations, development methodologies, system architectures, and team structures, most organizations still rely on quality metrics that were designed for a much different era.

Every other aspect of application delivery has been scrutinized and optimized as we transform our processes for DevOps. Why not put quality metrics under the microscope as well?

Are metrics like number of automated tests, test case coverage, and pass/fail rate important in the context of DevOps, where the goal is immediate insight into whether a given release candidate has an acceptable level of risk? What other metrics can help us ensure that the steady stream of updates don’t undermine the very user experience that we’re working so hard to enhance? 

To provide the DevOps community an objective perspective on what quality metrics are most critical for DevOps success, Tricentis commissioned Forrester to research the topic. The results are published in a new 55-page ebook, Forrester Research on DevOps Quality Metrics that Matter: 75 Common Metrics—Ranked by Industry Experts.

For each category of quality metrics, we came up with a heat map showing usage vs. value rankings. For example, here is the heat map for the Build category metrics.

We also plotted the data for each metric into a quadrant with 4 sections:

  • Value added: Metrics that are used frequently by DevOps experts and consistently rated as valuable by the organizations who measure them.
  • Hidden gem: Metrics that are not used frequently by DevOps experts, but are consistently rated as valuable by the organizations who measure them.
  • Overrated: Metrics that are used frequently by DevOps experts, but not rated as valuable by the organizations who measure them.
  • Distraction: Metrics that are not used frequently by DevOps experts, and not rated as valuable by the organizations who measure them.

For example, here is the quadrant for Build category metrics:

The ebook provides both heat maps and quadrants for all 4 categories, a quick look at each of the 75 metrics, per-category and overall analyses, and a few fun lists. Here’s a preview…

Hidden Gems

The following metrics are not commonly used (even among DevOps experts), but are ranked as extremely valuable by the select teams who actually measure them:

  1. New defects (IT)
  2. Critical defects (FV)
  3. Automated tests prioritized by risk (Build)
  4. Code coverage (Build)
  5. Test cases executed (Build)
  6. Static analysis results (Build)
  7. Variance from baselines of percent of test cases passed (E2E)
  8. Release readiness (E2E)

Top DevOps Differentiators

DevOps experts/leaders measure the following metrics significantly more than DevOps laggards measure them:

  1. Automated tests prioritized by risk (Build)
  2. Percent of automated E2E test cases (E2E)
  3. Risk coverage (IT)
  4. Release readiness (FV, IT, E2E)
  5. Test efficiency (FV and IT)
  6. Requirements covered by tests (Build, FV, IT, E2E)
  7. Test case coverage (Build, E2E)
  8. Static analysis results (Build)
  9. Variance from baseline of percent of test cases passed (E2E)
  10. Test effectiveness (FV, IT, E2E)

Most Used by DevOps Experts

The following metrics are the most frequently used (overall) by DevOps experts/leaders:

  1. Test case coverage (E2E)
  2. Pass/fail rate (FV)
  3. API pass/fail rate (IT)
  4. Number of tests executed (E2E)
  5. API bug density (IT)
  6. Requirements covered by tests (FV)
  7. Requirements covered by tests (E2E)
  8. Blocked test cases (FV)
  9. Percent of automated E2E test cases (E2E)
  10. Successful code builds (build)

Most Valued by DevOps Experts

The following metrics are the most highly-valued (overall) by DevOps experts/leaders:

  1. Requirements covered by API tests (IT)
  2. Percent of automated E2E tests (E2E)
  3. Requirements covered by tests (E2E)
  4. Requirements covered by tests (FV)
  5. Count of critical functional defects (FV)
  6. Total number of defects discovered in test (E2E)
  7. Number of test cases executed (E2E)
  8. Pass fail rate (FV)
  9. New API defects found (IT)
  10. Automated tests prioritized by risk (build)

Industry Commentary on the Findings

Vincent Lussenburg, Director of DevOps Strategy at XebiaLabs, offered the following commentary on the findings…

“I’m happy to see that, in the survey, Release Readiness is identified as a critical metric to DevOps success. We know firsthand Release Readiness is a differentiator for our customers—it allows them to make their delivery process more efficient, reduce risk, and deliver high-quality software fast.

Our DevOps platform integrates with an organization’s existing tools, such as Tricentis Tosca, and builds in features that help IT teams ensure their releases are solid before making it to Production. For example, did all the critical tests run and succeed? Do the test failures that occur present a release risk? Were environmental problems triaged, issues created for more permanent fixes, and root causes recorded? XebiaLabs automates checks like these all the way through the pipeline and visualizes release risk from various perspectives, including but not limited to your testing campaigns. We even help you predict which releases are most vulnerable to failure.”

[Download the 55-page DevOps Quality Metrics ebook].