Measuring Developer Productiveness by way of People


Someplace, proper now, a know-how govt tells their administrators: “we
want a strategy to measure the productiveness of our engineering groups.” A working
group assembles to discover potential options, and weeks later, proposes
implementing the metrics: lead time, deployment frequency, and variety of
pull requests created per engineer.

Quickly after, senior engineering leaders meet to overview their newly created
dashboards. Instantly, questions and doubts are raised. One chief says:
“Our lead time is 2 days which is ‘low performing’ in accordance with these
benchmarks – however is there really an issue?”. One other chief says: “it’s
unsurprising to see that a few of our groups are deploying much less typically than
others. However I’m unsure if this spells a chance for enchancment.”

If this story arc is acquainted to you, don’t fear – it is acquainted to
most, together with a number of the largest tech corporations on this planet. It isn’t unusual
for measurement packages to fall brief when metrics like DORA fail to supply
the insights leaders had hoped for.

There’s, nevertheless, a greater method. An method that focuses on
capturing insights from builders themselves, reasonably than solely counting on
primary measures of pace and output. We’ve helped many organizations make the
leap to this human-centered method. And we’ve seen firsthand the
dramatically improved understanding of developer productiveness that it
supplies.

What we’re referring to right here is qualitative measurement. On this
article, we offer a primer on this method derived from our expertise
serving to many organizations on this journey. We start with a definition of
qualitative metrics and the best way to advocate for them. We observe with sensible
steering on the best way to seize, monitor, and make the most of this information.

As we speak, developer productiveness is a vital concern for companies amid
the backdrop of fiscal tightening and transformational applied sciences comparable to
AI. As well as, developer expertise and platform engineering are garnering
elevated consideration as enterprises look past Agile and DevOps
transformation. What all these considerations share is a reliance on measurement
to assist information choices and monitor progress. And for this, qualitative
measurement is essential.

Be aware: once we say “developer productiveness”, we imply the diploma to which
builders’ can do their work in a frictionless method – not the person
efficiency of builders. Some organizations discover “developer productiveness”
to be a problematic time period due to the way in which it may be misinterpreted by
builders. We suggest that organizations use the time period “developer
expertise,” which has extra constructive connotations for builders.

What’s a qualitative metric?

We outline a qualitative metric as a measurement comprised of knowledge
supplied by people. This can be a sensible definition – we haven’t discovered a
singular definition inside the social sciences, and the choice
definitions we’ve seen have flaws that we talk about later on this
part.

Determine 1: Qualitative metrics are measurements derived from people

The definition of the phrase “metric” is unambiguous. The time period
“qualitative,” nevertheless, has no authoritative definition as famous within the
2019 journal paper What’s Qualitative in
Qualitative Analysis
:

There are numerous definitions of qualitative analysis, but when we search for
a definition that addresses its distinctive characteristic of being
“qualitative,” the literature throughout the broad discipline of social science is
meager. The principle purpose behind this text lies within the paradox, which, to
put it bluntly, is that researchers act as in the event that they know what it’s, however
they can not formulate a coherent definition.

An alternate definition we’ve heard is that qualitative metrics measure
high quality, whereas quantitative metrics measure amount. We’ve discovered this
definition problematic for 2 causes: first, the time period “qualitative
metric” contains the time period metric, which means that the output is a
amount (i.e., a measurement). Second, high quality is usually measured
via ordinal scales which are translated into numerical values and
scores – which once more, contradicts the definition.

One other argument we now have heard is that the output of sentiment evaluation
is quantitative as a result of the evaluation ends in numbers. Whereas we agree
that the info ensuing from sentiment evaluation is quantitative, based mostly on
our unique definition that is nonetheless a qualitative metric (i.e., a amount
produced qualitatively) except one have been to take the place that
“qualitative metric” is altogether an oxymoron.

Other than the issue of defining what a qualitative metric is, we’ve
additionally encountered problematic colloquialisms. One instance is the time period “comfortable
metric”. We warning towards this phrase as a result of it harmfully and
incorrectly implies that information collected from people is weaker than “arduous
metrics” collected from methods. We additionally discourage the time period “subjective
metrics” as a result of it misconstrues the truth that information collected from people
will be both goal or subjective – as we talk about within the subsequent
part.

Qualitative metrics: Measurements derived from people
Kind Definition Instance
Attitudinal metrics Subjective emotions, opinions, or attitudes towards a particular topic. How happy are you together with your IDE, on a scale of 1–10?
Behavioral metrics Goal information or occasions pertaining to a person’s work expertise. How lengthy does it take so that you can deploy a change to manufacturing?

Later on this article we offer steering on the best way to acquire and use
these measurements, however first we’ll present a real-world instance of this
method put to follow

Peloton is an American know-how firm
whose developer productiveness measurement technique facilities round
qualitative metrics. To gather qualitative metrics, their group
runs a semi-annual developer expertise survey led by their Tech
Enablement & Developer Expertise group, which is a part of their Product
Operations group.

Thansha Sadacharam, head of tech studying and insights, explains: “I
very strongly imagine, and I feel plenty of our engineers additionally actually
respect this, that engineers aren’t robots, they’re people. And simply
taking a look at primary numbers does not drive the entire story. So for us, having
a very complete survey that helped us perceive that complete
developer expertise was actually vital.”

Every survey is distributed to
a random pattern of roughly half of their builders. With this method,
particular person builders solely must take part in a single survey per 12 months,
minimizing the general time spent on filling out surveys whereas nonetheless
offering a statistically important consultant set of knowledge outcomes.
The Tech Enablement & Developer Expertise group can also be chargeable for
analyzing and sharing the findings from their surveys with leaders throughout
the group.

For extra on Peloton’s developer expertise survey, hearken to this
interview

with Thansha Sadacharam.

Advocating for qualitative metrics

Executives are sometimes skeptical concerning the reliability or usefulness of
qualitative metrics. Even extremely scientific organizations like Google have
needed to overcome these biases. Engineering leaders are inclined towards
system metrics since they’re accustomed to working with telemetry information
for inspecting methods. Nonetheless, we can’t depend on this similar method for
measuring individuals.

Keep away from pitting qualitative and quantitative metrics towards one another.

We’ve seen some organizations get into an inside “battle of the
metrics” which isn’t an excellent use of time or power. Our recommendation for
champions is to keep away from pitting qualitative and quantitative metrics towards
one another as an both/or. It’s higher to make the argument that they’re
complementary instruments – as we cowl on the finish of this text.

We’ve discovered that the underlying explanation for opposition to qualitative information
are misconceptions which we handle under. Later on this article, we
define the distinct advantages of self-reported information comparable to its skill to
measure intangibles and floor vital context.

False impression: Qualitative information is just subjective

Conventional office surveys sometimes concentrate on the subjective
opinions and emotions of their staff. Thus many engineering leaders
intuitively imagine that surveys can solely acquire subjective information from
builders.

As we describe within the following part, surveys may also seize
goal details about information or occasions. Google’s DevOps Analysis and
Evaluation (DORA)
program is a wonderful concrete
instance.

Some examples of goal survey questions:

  • How lengthy does it take to go from code dedicated to code efficiently
    operating in manufacturing?
  • How typically does your group deploy code to manufacturing or
    launch it to finish customers?

False impression: Qualitative information is unreliable

One problem of surveys is that individuals with all method of backgrounds
write survey questions with no particular coaching. Because of this, many
office surveys don’t meet the minimal requirements wanted to supply
dependable or legitimate measures. Effectively designed surveys, nevertheless, produce
correct and dependable information (we offer steering on how to do that later in
the article).

Some organizations have considerations that individuals might lie in surveys. Which
can occur in conditions the place there’s worry round how the info can be
used. In our expertise, when surveys are deployed as a instrument to assist
perceive and enhance bottlenecks affecting builders, there isn’t a
incentive for respondents to lie or sport the system.

Whereas it’s true that survey information isn’t all the time 100% correct, we frequently
remind leaders that system metrics are sometimes imperfect too. For instance,
many organizations try and measure CI construct instances utilizing information aggregated
from their pipelines, solely to seek out that it requires important effort to
clear the info (e.g. excluding background jobs, accounting for parallel
jobs) to supply an correct consequence

The 2 varieties of qualitative metrics

There are two key varieties of qualitative metrics:

  1. Attitudinal metrics seize subjective emotions, opinions, or
    attitudes towards a particular topic. An instance of an attitudinal measure would
    be the numeric worth captured in response to the query: “How happy are
    you together with your IDE, on a scale of 1-10?”.
  2. Behavioral metrics seize goal information or occasions pertaining to an
    people’ work experiences. An instance of a behavioral measure can be the
    amount captured in response to the query: “How lengthy does it take so that you can
    deploy a change to manufacturing?”

We’ve discovered that almost all tech practitioners overlook behavioral measures
when occupied with qualitative metrics. This happens regardless of the
prevalence of qualitative behavioral measures in software program analysis, such
because the Google’s DORA program talked about earlier.

DORA publishes annual benchmarks for metrics comparable to lead time for
modifications, deployment frequency, and alter fail fee. Unbeknownst to many,
DORA’s benchmarks are captured utilizing qualitative strategies with the survey
objects proven under:

Lead time

For the first software or service you’re employed on,
what’s your lead time for modifications (that’s, how lengthy does it take to go
from code dedicated to code efficiently operating in manufacturing)?

Greater than six months

One to 6 months

One week to 1 month

In the future to 1 week

Lower than in the future

Lower than one hour

Deploy frequency

For the first software or service you
work on, how typically does your group deploy code to manufacturing or
launch it to finish customers?

Fewer than as soon as per six months

Between as soon as monthly and as soon as each six months

Between as soon as per week and as soon as monthly

Between as soon as per day and as soon as per week

Between as soon as per hour and as soon as per day

On demand (a number of deploys per day)

Change fail share

For the first software or service you’re employed on, what
share of modifications to manufacturing or releases to customers end in
degraded service (for instance, result in service impairment or service
outage) and subsequently require remediation (for instance, require a
hotfix, rollback, repair ahead, patch)?

0–15%

16–30%

31–45%

46–60%

61–75%

76–100%

Time to revive

For the first software or service you’re employed on, how lengthy
does it typically take to revive service when a service incident or a
defect that impacts customers happens (for instance, unplanned outage, service
impairment)?

Greater than six months

One to 6 months

One week to 1 month

In the future to 1 week

Lower than in the future

Lower than one hour

We’ve discovered that the power to gather attitudinal and behavioral information
on the similar time is a strong advantage of qualitative measurement.

For instance, behavioral information may present you that your launch course of
is quick and environment friendly. However solely attitudinal information may let you know whether or not it
is easy and painless, which has vital implications for developer
burnout and retention.

To make use of a non-tech analogy: think about you’re feeling sick and go to a
physician. The physician takes your blood strain, your temperature, your coronary heart
fee, and so they say “Effectively, it seems to be such as you’re all good. There’s nothing
improper with you.” You’d be stunned! You’d say, “Wait, I’m telling
you that one thing feels improper.”

The advantages of qualitative metrics

One argument for qualitative metrics is that they keep away from subjecting
builders to the sensation of “being measured” by administration. Whereas we’ve
discovered this to be true – particularly when in comparison with metrics derived from
builders’ Git or Jira information – it doesn’t handle the principle goal
advantages that qualitative approaches can present.

There are three predominant advantages of qualitative metrics in terms of
measuring developer productiveness:

Qualitative metrics will let you measure issues which are in any other case
unmeasurable

System metrics like lead time and deployment quantity seize what’s
taking place in our pipelines or ticketing methods. However there are numerous extra
points of builders’ work that must be understood in an effort to enhance
productiveness: for instance, whether or not builders are capable of keep within the circulate
or work or simply navigate their codebases. Qualitative metrics allow you to
measure these intangibles which are in any other case tough or inconceivable to
measure.

An attention-grabbing instance of that is technical debt. At Google, a research to
determine metrics for technical debt included an evaluation of 117 metrics
that have been proposed as potential indicators. To the frustration of
Google researchers, no single metric or mixture of metrics have been discovered
to be legitimate indicators (for extra on how Google measures technical debt,
hearken to this interview).

Whereas there might exist an undiscovered goal metric for technical
debt, one can suppose that this can be inconceivable attributable to the truth that
evaluation of technical debt depends on the comparability between the present
state of a system or codebase versus its imagined best state. In different
phrases, human judgment is crucial.

Qualitative metrics present lacking visibility throughout groups and
methods

Metrics from ticketing methods and pipelines give us visibility into
a number of the work that builders do. However this information alone can’t give us
the complete story. Builders do plenty of work that’s not captured in tickets
or builds: for instance, designing key options, shaping the course of a
challenge, or serving to a teammate get onboarded.

It’s inconceivable to realize visibility into all these actions via
information from our methods alone. And even when we may theoretically acquire
all the info via methods, there are further challenges to capturing
metrics via instrumentation.

One instance is the issue of normalizing metrics throughout totally different
group workflows. For instance, when you’re making an attempt to measure how lengthy it takes
for duties to go from begin to completion, you may attempt to get this information
out of your ticketing instrument. However particular person groups typically have totally different
workflows that make it tough to supply an correct metric. In
distinction, merely asking builders how lengthy duties sometimes take will be
a lot less complicated.

One other frequent problem is cross-system visibility. For instance, a
small startup can measure TTR (time to revive) utilizing simply a difficulty
tracker comparable to Jira. A big group, nevertheless, will possible must
consolidate and cross-attribute information throughout planning methods and deployment
pipelines in an effort to acquire end-to-end system visibility. This generally is a
yearlong effort, whereas capturing this information from builders can present a
baseline shortly.

Qualitative metrics present context for quantitative information

As technologists, it’s simple to focus closely on quantitative measures.
They appear clear and clear, afterall. There’s a danger, nevertheless, that the
full story isn’t being instructed with out richer information and that this may occasionally lead us
into specializing in the improper factor.

One instance of that is code overview: a typical optimization is to attempt to
pace up the code overview. This appears logical as ready for a code overview
could cause wasted time or undesirable context switching. We may measure the
time it takes for evaluations to be accomplished and incentivize groups to enhance
it. However this method might encourage unfavourable habits: reviewers speeding
via evaluations or builders not discovering the correct specialists to carry out
evaluations.

Code evaluations exist for an vital function: to make sure top quality
software program is delivered. If we do a extra holistic evaluation – specializing in the
outcomes of the method reasonably than simply pace – we discover that optimization
of code overview should guarantee good code high quality, mitigation of safety
dangers, constructing shared information throughout group members, in addition to making certain
that our coworkers aren’t caught ready. Qualitative measures may also help us
assess whether or not these outcomes are being met.

One other instance is developer onboarding processes. Software program growth
is a group exercise. Thus if we solely measure particular person output metrics such
as the speed new builders are committing or time to first commit, we miss
vital outcomes e.g. whether or not we’re totally using the concepts the
builders are bringing, whether or not they really feel protected to ask questions and if
they’re collaborating with cross-functional friends.

We’re releasing this text in installments. The subsequent installment
will go into element on the best way to seize these sorts of metrics.

To search out out once we publish the subsequent installment subscribe to the
web site’s
RSS feed, Martin’s
Mastodon feed, or
X (Twitter) stream.




Recent Articles

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox