SlideShare a Scribd company logo
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public Release;
Distribution is Unlimited
Measure it? Manage it?
Ignore it? Software
Practitioners and
Technical Debt
Neil A. Ernst
with Stephany Bellomo, Ipek Ozkaya, Robert Nord
Software Engineering Institute
Carnegie Mellon University
Pittsburgh, PA 15213
and Ian Gorton
College of Computer and Information Science
Northeastern University
2
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Copyright 2015 Carnegie Mellon University and IEEE
This material is based upon work funded and supported by the Department of Defense under Contract
No. FA8721-05-C-0003 with Carnegie Mellon University for the operation of the Software Engineering
Institute, a federally funded research and development center.
References herein to any specific commercial product, process, or service by trade name, trade mark,
manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or
favoring by Carnegie Mellon University or its Software Engineering Institute.
NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING
INSTITUTE MATERIAL IS FURNISHED ON AN “AS-IS” BASIS. CARNEGIE MELLON UNIVERSITY
MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER
INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR
MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL.
CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH
RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
This material has been approved for public release and unlimited distribution.
This material may be reproduced in its entirety, without modification, and freely distributed in written or
electronic form without requesting formal permission. Permission is required for any other use. Requests
for permission should be directed to the Software Engineering Institute at permission@sei.cmu.edu.
DM-0002708
3
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Background
• Cunningham, 1992: “Shipping first time code is like going
into debt. A little debt speeds development so long as it is
paid back promptly with a rewrite... The danger occurs
when the debt is not repaid”
• Our definition: “the obligation that a software organization
incurs when it chooses a design or construction approach
that's expedient in the short term but that increases
complexity and is more costly in the long term.”
(McConnell)
4
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Research Questions
• RQ1. Is there a commonly shared definition of technical
debt among professional software engineers?
• RQ2. Are issues with architectural elements (such as
module dependencies, external dependencies, external
team dependencies, architecture decisions) among the
most significant sources of technical debt?
• RQ3. Are there practices and tools for managing
technical debt?
5
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Methodology
• Pilot Survey
• Full survey
• Triangulate with:
• Multiple choice
background
• Open-ended
questions
• Likert agreement
• Follow-up interviews
(opportunistic)
6
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Demographics
• 1831 surveys were started (across all three collaborators)
and 536 surveys fully completed (all questions answered),
an overall response rate of 29%
• Respondents over 6 years experience
• Roles selected included developers (42%), and project
leads/managers (32%)
• Most projects were web systems (24%) or embedded
(31%).
• Projects generally consisted of 10-20 people
• The systems averaged 3-5 years old, but a significant
number (29%) were over 10 years old.
• The systems between 100KLOC and 1MLOC in size.
7
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Findings
1. Architecture is a key source of technical debt
2. Technical debt is broadly temporally distributed (source
and symptom not synched)
3. Issue trackers are currently the best tool approach to
managing technical debt.
Triangulate answers to these questions by looking at quantitative
(closed-ended) questions, and coding of open-ended and interview data.
8
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ1: Defining Technical Debt
• “(A2) I think the vocabulary of technical debt is useful for getting the
interests aligned.”
• ‘convincing product managers and stakeholders on the value proposition
of managing the debt.’
9
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ2: Architecture choices key
9
10
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Coding of open-ended questions
11
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ2: Architecture as source
12
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ2 (2)
“(B2) the work that we’re doing now to introduce a service
layer and also building some clients using other technology is
an example of, you know, decisions that could have been
done at an earlier stage if we had had more time and had
the funding and the resources to do them at the time instead
of doing it now.”
“‘platform’ was not designed with scalability in mind”
“In retrospect we put messaging/communication ... in the
wrong place in the model view controller architecture”
13
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ2: Drift
Lehman’s concept of entropy present in our data:
• “over the years, other sites would begin using the system and
would require changes to how the workflow operated”
Weak association between system age and the perceived
importance of architectural issues, using Yule’s Q.
89% of those with longer-lived systems (>=6 years old)
agreed or strongly agreed with the notion that architectural
issues were a significant source of debt, compared to 80% of
those with newer systems (<3 years old).
14
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ3: Management of TD
How tracked …
Where tracked …
15
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ3: Tool Use
15
None/Unknown: 58%
16
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
RQ3: Management of TD
“(B1) regarding static analysis we have the source code static
analysis tools, but this is to assure proper quality of source
code. But how architectural changes are impacting I don’t
know. And, in fact, this is something we don’t do.”
“(C1) it showed up on Jenkins - the CI server - there’s a
billion little warnings. And so it seems a little bit
overwhelming.”
“[we track] occasionally by explicit tech debt items, usually by
pain, or not at all...”
17
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
• Timeline for TD management
• Track TD items like we do defects
• Connect Architecture Technical Debt to architectural analysis
(e.g., quality attribute prioritization)
Future Work and Open Questions
18
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
18
• Software practitioners agree on the usefulness of the metaphor
• Different interpretations of what makes up technical debt in
particular contexts.
• Leading sources of technical debt are architectural choices
• take many years to evolve
• Managing this drift is vital in managing technical debt.
• Developers perceive management as unaware of technical debt
issues
• Desire for standard practices and tools to manage technical debt that
do not currently exist
http://bit.ly/sei-td – @neilernst – nernst@sei.cmu.edu
19
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Call for Papers: Negative Results in Software Engineering
Special Issue of J. Empirical Software Engineering.
We welcome your well-conducted yet ‘negative’ empirical studies.
We also are looking for suitable reviewers and reviewer experience
reports.
Deadline for submission: October 7, 2015
http://bit.ly/emse-negative
If you have questions/comments or would like to volunteer to be a
reviewer of the papers, please contact the guest editors.
Richard Paige richard.paige@york.ac.uk
Jordi Cabot jcabot@uoc.edu
Neil Ernst nernst@sei.cmu.edu
Plug
20
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Backup
21
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Coding Process
Id Statement Coder 1-
A
Coder 1-B … Coder
2-C
1 Technical debt is built over years & multiple
versions by the combination of factors like
monolithic code design, mix of obsolete and
new technologies, cost over quality etc.
Code Code … Code
Cohen’s K: 0.45
22
TD Survey
September 2, 2015
© 2015 Carnegie Mellon University
Distribution Statement A: Approved for Public
Release; Distribution is Unlimited
Distribution Statement A: Approved for Public Release; Distribution is Unlimited
Code definitions
Final Coding Term Definition Subsumed Codes
Interest The pain caused by technical debt, but not the debt itself.
Rework Additional work needed to remove technical debt ‘principal’
Architecture choice
While arch choice is pain caused perhaps by context shifts vs design shortcut that is deliberative we
combine the two as “architecture choice” because participants may not even know whether it was
deliberate or not. Must be a specific case/instance.
Design Shortcut, Bad Architecture Choice
Legacy modernization Changes and evolution in operating environment e.g. new tech or requirements changes.
Obsolete Technology, Legacy, evolution, changing requirements, External Dependencies, Prototype become
Product
Limited Knowledge Respondent had no good understanding of TD No clue
Awareness People in respondent’s org had no understanding of problems TD caused Management, avoidance strategy, culture, deferred integration design, metaphor
Defects
Responses referring to problems in code externally visible. Interest code is more suitable when text
refers to linking those bugs to original decision.
Bugs, Maintenance, Software Quality
Time Pressure Must release to make deadline Schedule
Cost Pressure Lack of financial resources or motivation to fix problem New code
Code Problems Issues relating to code-level problems such as detected by FindBugs Overly complex code, inter-module dependencies, Code with Debt, Code Duplication
Process Some problems arising from poor development processes. Inadequate testing, Inefficient CM, Lack of Documentation
None A comment that is not possible to code
Measurement
codes about need for measuring, things we might need to measure such as complexity and
accuracy
Tools
this category is about the things that are technical in nature including tool support for making
intelligent decisions. Platform dependence, ways to find TD
Requirements Shortfall
Requirements not changing significantly, but system does not meet them. Could be due to
ambiguity, lack of clarity, etc.
Lack of documentation
Issues due to incomplete understanding of the architecture which was often attributed to lack of
documentation or some way to better understand the impact of making changes on the quality or
maintainability of the system
Inadequate Testing
This category covers inadequate testing due to issues such as inadequate test coverage, limited test
resources, lack of test automation or not enough time to complete tests

More Related Content

PDF
7 Steps to Pay Down the Interest on Your IT Technical Debt
PDF
Managing technical debt
PPTX
Technical Debt
PDF
Get Smart About Technical Debt
PDF
Technical Debt 101
PPTX
We need to talk about tech debt
PPTX
Managing Technical Debt
PDF
Technical Debt Management
7 Steps to Pay Down the Interest on Your IT Technical Debt
Managing technical debt
Technical Debt
Get Smart About Technical Debt
Technical Debt 101
We need to talk about tech debt
Managing Technical Debt
Technical Debt Management

What's hot (20)

PPTX
Managing Technical Debt
PDF
Towards a Technical Debt Management Framework based on Cost-Benefit Analysis
PDF
Technical Debt - PHPBenelux
PDF
Technical Debt: Do Not Underestimate The Danger
PDF
Technical Debt - The number one reason why technical projects get derailed
PDF
Managing technical debt notes
PPTX
Identifying and Managing Technical Debt
PDF
Technical Debt: Sources and Impacts
PPTX
Technical debt
PPTX
Technical Debt
KEY
The Technical Debt Trap
KEY
The Technical Debt Trap - Michael "Doc" Norton
PPTX
Managing Technical Debt
PDF
Why care about technical debt?
PPT
PDF
Consequences of a Failed ECM Implementation
PPT
eXtreme programming
PDF
Case Study: Outsourcing in hybrid model
PPTX
Real world risks for all Knowledge areas of PMBOK
PDF
Scalable light weight processes
Managing Technical Debt
Towards a Technical Debt Management Framework based on Cost-Benefit Analysis
Technical Debt - PHPBenelux
Technical Debt: Do Not Underestimate The Danger
Technical Debt - The number one reason why technical projects get derailed
Managing technical debt notes
Identifying and Managing Technical Debt
Technical Debt: Sources and Impacts
Technical debt
Technical Debt
The Technical Debt Trap
The Technical Debt Trap - Michael "Doc" Norton
Managing Technical Debt
Why care about technical debt?
Consequences of a Failed ECM Implementation
eXtreme programming
Case Study: Outsourcing in hybrid model
Real world risks for all Knowledge areas of PMBOK
Scalable light weight processes
Ad

Similar to Measure It, Manage It, Ignore It - Software Practitioners and Technical Debt (20)

PDF
What scrum masters and product owners should know about software quality and ...
PDF
Crushed by technical debt
PDF
Florian Stefan. Reducing technical debt in software architecture
PDF
Reducing Technical Debt in Software Architecture
PDF
Technical debt strategy
PDF
Technical debt management strategies
PDF
calculate-business-costs-of-technical-debt.pdf
PDF
Deloitte Tech Trends 2014 Technical Debt
PPT
Love your architecture - Alexander von Zitzewitz
PDF
From Technical Debt to Technical Health
PPT
Death by Technical Debt: Lessons Learned to Get you Unbuired
PPTX
Tech debt will kill us
ODP
Pay off Technical Debt by Good Code
PDF
Technical Debt: Measured and Implied
PDF
Beyond Technical Debt: Unconventional techniques to uncover technical and soc...
PDF
Wait for it: identifying “On-Hold” self-admitted technical debt
PPTX
From Technical Debt to Technical Health
PDF
Cómo reducir la fricción en el desarrollo de software
PPTX
From Technical to Social Debt: Analyzing Software Development Communities usi...
PDF
Technical debt in cyber ark [agile practitioners-2015]
What scrum masters and product owners should know about software quality and ...
Crushed by technical debt
Florian Stefan. Reducing technical debt in software architecture
Reducing Technical Debt in Software Architecture
Technical debt strategy
Technical debt management strategies
calculate-business-costs-of-technical-debt.pdf
Deloitte Tech Trends 2014 Technical Debt
Love your architecture - Alexander von Zitzewitz
From Technical Debt to Technical Health
Death by Technical Debt: Lessons Learned to Get you Unbuired
Tech debt will kill us
Pay off Technical Debt by Good Code
Technical Debt: Measured and Implied
Beyond Technical Debt: Unconventional techniques to uncover technical and soc...
Wait for it: identifying “On-Hold” self-admitted technical debt
From Technical Debt to Technical Health
Cómo reducir la fricción en el desarrollo de software
From Technical to Social Debt: Analyzing Software Development Communities usi...
Technical debt in cyber ark [agile practitioners-2015]
Ad

More from Neil Ernst (12)

PPTX
Critical Research Review at EmpiRE 2015
PDF
Using AI to Model Quality Attribute Tradeoffs
PDF
Supporting Agile Requirements Evolution via Paraconsistent Reasoning
KEY
Technical Debt and Requirements
PDF
Requirements Evolution Drives Software Evolution
PDF
Finding Incremental Solutions for Evolving Requirements
PDF
Adoption-Centric Knowledge Engineering
PDF
Introduction for CCASR
ODP
Visualizing non-functional requirements
PPTX
Reasoning with optional and preferred requirements
PPT
Using requirements to retrace software evolution history
PDF
On the perception of software quality requirements during the project lifecycle
Critical Research Review at EmpiRE 2015
Using AI to Model Quality Attribute Tradeoffs
Supporting Agile Requirements Evolution via Paraconsistent Reasoning
Technical Debt and Requirements
Requirements Evolution Drives Software Evolution
Finding Incremental Solutions for Evolving Requirements
Adoption-Centric Knowledge Engineering
Introduction for CCASR
Visualizing non-functional requirements
Reasoning with optional and preferred requirements
Using requirements to retrace software evolution history
On the perception of software quality requirements during the project lifecycle

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Machine Learning_overview_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Weekly Chronicles - August'25-Week II
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
A Presentation on Artificial Intelligence
Assigned Numbers - 2025 - Bluetooth® Document
20250228 LYD VKU AI Blended-Learning.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine Learning_overview_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf

Measure It, Manage It, Ignore It - Software Practitioners and Technical Debt

  • 1. © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Measure it? Manage it? Ignore it? Software Practitioners and Technical Debt Neil A. Ernst with Stephany Bellomo, Ipek Ozkaya, Robert Nord Software Engineering Institute Carnegie Mellon University Pittsburgh, PA 15213 and Ian Gorton College of Computer and Information Science Northeastern University
  • 2. 2 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Copyright 2015 Carnegie Mellon University and IEEE This material is based upon work funded and supported by the Department of Defense under Contract No. FA8721-05-C-0003 with Carnegie Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center. References herein to any specific commercial product, process, or service by trade name, trade mark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by Carnegie Mellon University or its Software Engineering Institute. NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN “AS-IS” BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. This material has been approved for public release and unlimited distribution. This material may be reproduced in its entirety, without modification, and freely distributed in written or electronic form without requesting formal permission. Permission is required for any other use. Requests for permission should be directed to the Software Engineering Institute at permission@sei.cmu.edu. DM-0002708
  • 3. 3 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Background • Cunningham, 1992: “Shipping first time code is like going into debt. A little debt speeds development so long as it is paid back promptly with a rewrite... The danger occurs when the debt is not repaid” • Our definition: “the obligation that a software organization incurs when it chooses a design or construction approach that's expedient in the short term but that increases complexity and is more costly in the long term.” (McConnell)
  • 4. 4 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Research Questions • RQ1. Is there a commonly shared definition of technical debt among professional software engineers? • RQ2. Are issues with architectural elements (such as module dependencies, external dependencies, external team dependencies, architecture decisions) among the most significant sources of technical debt? • RQ3. Are there practices and tools for managing technical debt?
  • 5. 5 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Methodology • Pilot Survey • Full survey • Triangulate with: • Multiple choice background • Open-ended questions • Likert agreement • Follow-up interviews (opportunistic)
  • 6. 6 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Demographics • 1831 surveys were started (across all three collaborators) and 536 surveys fully completed (all questions answered), an overall response rate of 29% • Respondents over 6 years experience • Roles selected included developers (42%), and project leads/managers (32%) • Most projects were web systems (24%) or embedded (31%). • Projects generally consisted of 10-20 people • The systems averaged 3-5 years old, but a significant number (29%) were over 10 years old. • The systems between 100KLOC and 1MLOC in size.
  • 7. 7 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Findings 1. Architecture is a key source of technical debt 2. Technical debt is broadly temporally distributed (source and symptom not synched) 3. Issue trackers are currently the best tool approach to managing technical debt. Triangulate answers to these questions by looking at quantitative (closed-ended) questions, and coding of open-ended and interview data.
  • 8. 8 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ1: Defining Technical Debt • “(A2) I think the vocabulary of technical debt is useful for getting the interests aligned.” • ‘convincing product managers and stakeholders on the value proposition of managing the debt.’
  • 9. 9 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ2: Architecture choices key 9
  • 10. 10 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Coding of open-ended questions
  • 11. 11 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ2: Architecture as source
  • 12. 12 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ2 (2) “(B2) the work that we’re doing now to introduce a service layer and also building some clients using other technology is an example of, you know, decisions that could have been done at an earlier stage if we had had more time and had the funding and the resources to do them at the time instead of doing it now.” “‘platform’ was not designed with scalability in mind” “In retrospect we put messaging/communication ... in the wrong place in the model view controller architecture”
  • 13. 13 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ2: Drift Lehman’s concept of entropy present in our data: • “over the years, other sites would begin using the system and would require changes to how the workflow operated” Weak association between system age and the perceived importance of architectural issues, using Yule’s Q. 89% of those with longer-lived systems (>=6 years old) agreed or strongly agreed with the notion that architectural issues were a significant source of debt, compared to 80% of those with newer systems (<3 years old).
  • 14. 14 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ3: Management of TD How tracked … Where tracked …
  • 15. 15 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ3: Tool Use 15 None/Unknown: 58%
  • 16. 16 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited RQ3: Management of TD “(B1) regarding static analysis we have the source code static analysis tools, but this is to assure proper quality of source code. But how architectural changes are impacting I don’t know. And, in fact, this is something we don’t do.” “(C1) it showed up on Jenkins - the CI server - there’s a billion little warnings. And so it seems a little bit overwhelming.” “[we track] occasionally by explicit tech debt items, usually by pain, or not at all...”
  • 17. 17 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited • Timeline for TD management • Track TD items like we do defects • Connect Architecture Technical Debt to architectural analysis (e.g., quality attribute prioritization) Future Work and Open Questions
  • 18. 18 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited 18 • Software practitioners agree on the usefulness of the metaphor • Different interpretations of what makes up technical debt in particular contexts. • Leading sources of technical debt are architectural choices • take many years to evolve • Managing this drift is vital in managing technical debt. • Developers perceive management as unaware of technical debt issues • Desire for standard practices and tools to manage technical debt that do not currently exist http://bit.ly/sei-td – @neilernst – nernst@sei.cmu.edu
  • 19. 19 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Call for Papers: Negative Results in Software Engineering Special Issue of J. Empirical Software Engineering. We welcome your well-conducted yet ‘negative’ empirical studies. We also are looking for suitable reviewers and reviewer experience reports. Deadline for submission: October 7, 2015 http://bit.ly/emse-negative If you have questions/comments or would like to volunteer to be a reviewer of the papers, please contact the guest editors. Richard Paige richard.paige@york.ac.uk Jordi Cabot jcabot@uoc.edu Neil Ernst nernst@sei.cmu.edu Plug
  • 20. 20 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Backup
  • 21. 21 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Coding Process Id Statement Coder 1- A Coder 1-B … Coder 2-C 1 Technical debt is built over years & multiple versions by the combination of factors like monolithic code design, mix of obsolete and new technologies, cost over quality etc. Code Code … Code Cohen’s K: 0.45
  • 22. 22 TD Survey September 2, 2015 © 2015 Carnegie Mellon University Distribution Statement A: Approved for Public Release; Distribution is Unlimited Distribution Statement A: Approved for Public Release; Distribution is Unlimited Code definitions Final Coding Term Definition Subsumed Codes Interest The pain caused by technical debt, but not the debt itself. Rework Additional work needed to remove technical debt ‘principal’ Architecture choice While arch choice is pain caused perhaps by context shifts vs design shortcut that is deliberative we combine the two as “architecture choice” because participants may not even know whether it was deliberate or not. Must be a specific case/instance. Design Shortcut, Bad Architecture Choice Legacy modernization Changes and evolution in operating environment e.g. new tech or requirements changes. Obsolete Technology, Legacy, evolution, changing requirements, External Dependencies, Prototype become Product Limited Knowledge Respondent had no good understanding of TD No clue Awareness People in respondent’s org had no understanding of problems TD caused Management, avoidance strategy, culture, deferred integration design, metaphor Defects Responses referring to problems in code externally visible. Interest code is more suitable when text refers to linking those bugs to original decision. Bugs, Maintenance, Software Quality Time Pressure Must release to make deadline Schedule Cost Pressure Lack of financial resources or motivation to fix problem New code Code Problems Issues relating to code-level problems such as detected by FindBugs Overly complex code, inter-module dependencies, Code with Debt, Code Duplication Process Some problems arising from poor development processes. Inadequate testing, Inefficient CM, Lack of Documentation None A comment that is not possible to code Measurement codes about need for measuring, things we might need to measure such as complexity and accuracy Tools this category is about the things that are technical in nature including tool support for making intelligent decisions. Platform dependence, ways to find TD Requirements Shortfall Requirements not changing significantly, but system does not meet them. Could be due to ambiguity, lack of clarity, etc. Lack of documentation Issues due to incomplete understanding of the architecture which was often attributed to lack of documentation or some way to better understand the impact of making changes on the quality or maintainability of the system Inadequate Testing This category covers inadequate testing due to issues such as inadequate test coverage, limited test resources, lack of test automation or not enough time to complete tests

Editor's Notes

  • #2: 9/3/2015
  • #4: Approaches to TD identification Community perception of “TD is important” Quote Cunningham is ok but is this our preconceived definition or just motivation? (McConnell) Maybe start with show of hands/ questions 
  • #5: Motivation for Arch unclear. Cunningham focused on code, but since then it has broadened (landscape picture). Part of approach is “what’s in/what’s out” Not so defensive. We *think* it might be architecture to motivate second question.
  • #6: We asked them about defns and examples before likert to hear their opinions Triangualted e.g arch questions #6 - s/w involved, but not software only 
  • #7: Make point about not homogenous group (even though only 3 orgs) – lots of different projects Average versus clusters of responses
  • #8: Point about long lag time is good. Add to RQ2 discussion.
  • #9: 11 Ward’s problem is you need a lot of discipline to return and repay
  • #11: Define “coding. (And process) What this means is that when people give an example, it tended to involve architecture
  • #13: #11 as Ward notes, the idea is really that you cannot know upfront, so you MUST fix it later - and soon Protoytpe becomes product
  • #15: bigger
  • #18: 1 – debt incurred (decision made) 2 – recognized 3 – ideal pay back time (should do it here) 4 – actual repayment based on pain 5 – decision to strategically manage debt (instead of forgetting, lack of arch docs and rationale).
  • #20: Must cut 6 minutes or so. Faster at beginning. Less digressions.
  • #22: Two of us rated each one after we came to agreement.