Académique Documents
Professionnel Documents
Culture Documents
Marketing will share a range of metrics on lead conversion, cost per lead and
ROI on marketing spend; Sales will walk through a detailed, quantitative
breakdown of the sales funnel; Finance will present a broad set of Key
Performance Indicators; the Operations and Customer Retention teams will
similarly present a variety of critical metrics.
Just as other disciplines have benefitted immensely from objective metrics and
actionable KPIs, forward-looking software organizations are experiencing the
same lift that has transformed the rest of the enterprise.
If you ask software engineering leaders why this is the case, you will
get a range of answers:
With this hurdle cleared, the next question is how soon the software
engineering world will embrace data-driven management, the way
that every other organization in the executive boardroom has.
The most basic measurements of output, which are code volume (e.g.
Lines of Code) and commit volume, are deficient and not complete
indicators of the complexity or sophistication of work completed.
Baselining past team output levels and measuring progress towards Over time, this engineering
systematic improvement is a clean way for engineering teams to generate team has steadily increased their
Impact to the codebase. Whether
and document productivity gains.
this is a result of hiring
additional engineers or
A team of 100 engineers may cost in excess of $10 Million a year in fully improving team performance,
loaded costs. So, documenting a 20% increase in output provides a path this graph paints a picture of
success that the rest of the
for engineering management to demonstrate multiple millions of dollars
organization can understand.
in value generated for their company.
Software engineering managers rely heavily on daily stand-ups and 1:1 A manager’s time is zero-sum
and should be applied for
check-ins to understand the progress of their engineers. The portion of
maximum impact. When
this verbal interaction that is focused on diagnosing risk and getting reviewing code commits, data
status on progress can be reallocated to productive coding time if the cuts through the noise and
team manager instead uses a data-driven dashboard that shows commit signals which work carries an
elevated risk pro!le to be
progress and PR reviews as they happen.
prioritized for additional review.
Code Churn
Code churn, or code rework, is not a bad thing. Testing and rework are
natural parts of the software development process. However, code churn
levels that deviate significantly higher or lower than expected norms can
represent smoke that is an indicator of a potential fire.
By baselining the ‘natural’ churn levels of typical types of projects, Over the past six months, this
engineering team set a target of
engineering managers can actively monitor churn by engineer, or by
75% e!ciency and is now
project, to identify areas where their team may be hung up and need working within industry norms.
assistance. A particularly high (or low) churn level could be an early
indicator that a project is not progressing as planned.
This is a metric that can be easily quantified by analyzing code at the time
of commit, creating hard data on how much of a team’s productivity is
dedicated to new projects versus to technical debt.
It is now possible to quantify the percentage of work delivered that At the beginning of the period,
this team focused on new and
relates to legacy refactoring, down to the line level. A 100-person
exploratory work as indicated by
engineering team that spends 30% of its time on legacy refactor is the New Work (green) and
spending over $3 Million a year working on older code. prominent Code Churn (red). In
mid-November, they
Incorporating this data into the standard KPI set of a software transitioned to paying down
technical debt with an emphasis
engineering organization should be a no-brainer, once the values are on Legacy Refactoring (orange).
accessed and aggregated from the source code repositories.
This data is accessible in the code repository and provides the engineering Data allows managers to identify
collaboration trends like how
manager with a clear input into the collaboration process that is taking
long Pull Request are staying
place around code reviews, providing another example of how simple open, if review protocols are
quantification of engineering behavior can make a manager more being followed, or when an
effective. unusual amount of PRs are
being rejected (closed).
By analyzing over 7 million commits from over We also welcome your feedback on how data-
85,000 professional software engineers, we have driven metrics will change the landscape of
learned that utilizing data can be extremely software engineering management over the
valuable to software engineering organizations. coming decade - please reach out.
Learn more about our thoughts on how metrics
can drive engineering productivity at: GitPrime, Inc.
https://www.gitprime.com
http://blog.gitprime.com/productivity research@gitprime.com
650.446.7979