Journal article Open Access

Can Clean New Code reduce Technical Debt Density

George Digkas; Alexander Chatzigeorgiou; Paris Avgeriou


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="URL">https://zenodo.org/record/4399032</identifier>
  <creators>
    <creator>
      <creatorName>George Digkas</creatorName>
      <affiliation>Institute of Mathematics and Computer Science, University of Groningen, 3647 Groningen, Groningen, Netherlands</affiliation>
    </creator>
    <creator>
      <creatorName>Alexander Chatzigeorgiou</creatorName>
      <affiliation>Applied Informatics, University of Macedonia, 68999 Thessaloniki, Thessaloniki, Greec</affiliation>
    </creator>
    <creator>
      <creatorName>Paris Avgeriou</creatorName>
      <affiliation>Department of Mathematics and Computing Science, University of Groningen, Groningen, groningen, Netherland</affiliation>
    </creator>
  </creators>
  <titles>
    <title>Can Clean New Code reduce Technical Debt Density</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2020</publicationYear>
  <dates>
    <date dateType="Issued">2020-10-20</date>
  </dates>
  <resourceType resourceTypeGeneral="JournalArticle"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/4399032</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsIdenticalTo">10.1109/TSE.2020.3032557</relatedIdentifier>
  </relatedIdentifiers>
  <rightsList>
    <rights rightsURI="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&lt;p&gt;While technical debt grows in absolute numbers as software systems evolve over time, the density of technical debt (technical debt divided by lines of code) is reduced in some cases. This can be explained by either the application of refactorings or the development of new artifacts with limited Technical Debt. In this paper we explore the second explanation, by investigating the relation between the amount of Technical Debt in new code and the evolution of Technical Debt in the system. To this end, we compare the Technical Debt Density of new code with existing code, and we investigate which of the three major types of code changes (additions, deletions and modifications) is primarily responsible for changes in the evolution of Technical Debt density. Furthermore, we study whether there is a relation between code quality practices and the &amp;ldquo;cleanness&amp;rdquo; of new code. To obtain the required data, we have performed a large-scale case study on twenty-seven open-source software projects by the Apache Software Foundation, analyzing 66,661 classes and 56,890 commits. The results suggest that writing &amp;ldquo;clean&amp;rdquo; (or at least &amp;ldquo;cleaner&amp;rdquo;) new code can be an efficient strategy for reducing Technical Debt Density, and thus preventing software decay over time. The findings also suggest that projects adopting an explicit policy for quality improvement, e.g. through discussions on code quality in board meetings, are associated with a higher frequency of cleaner new code commits. Therefore, we champion the establishment of processes that monitor the density of Technical Debt of new code to control the accumulation of Technical Debt in a software system.&lt;/p&gt;</description>
  </descriptions>
  <fundingReferences>
    <fundingReference>
      <funderName>European Commission</funderName>
      <funderIdentifier funderIdentifierType="Crossref Funder ID">10.13039/100010661</funderIdentifier>
      <awardNumber awardURI="info:eu-repo/grantAgreement/EC/H2020/780572/">780572</awardNumber>
      <awardTitle>Software Development toolKit for Energy optimization and technical Debt elimination</awardTitle>
    </fundingReference>
    <fundingReference>
      <funderName>European Commission</funderName>
      <funderIdentifier funderIdentifierType="Crossref Funder ID">10.13039/100010661</funderIdentifier>
      <awardNumber awardURI="info:eu-repo/grantAgreement/EC/H2020/801015/">801015</awardNumber>
      <awardTitle>Enhancing Programmability and boosting Performance Portability for Exascale Computing Systems</awardTitle>
    </fundingReference>
  </fundingReferences>
</resource>
101
43
views
downloads
Views 101
Downloads 43
Data volume 113.3 MB
Unique views 90
Unique downloads 43

Share

Cite as