Change search
ReferencesLink to record
Permanent link

Direct link
Where do you save most money on refactoring?
Blekinge Institute of Technology, Faculty of Computing, Department of Creative Technologies.
2014 (English)Independent thesis Basic level (degree of Bachelor)Student thesisAlternative title
Var sparar du mest pengar på refaktorering? (Swedish)
Abstract [en]

A mature code-base of 1 300 000 LOC for a period of 20 months has been examined. This paper investigates if churn is a significant factor in finding refactoring candidates. In addition it looks at the variables Lines of Code (LOC), Technical Debt (TD), Duplicated lines and Complexity to find out if any of these indicators can inform a coder as to what to refactor. The result is that churn is the strongest variable out of the studied variables followed by LOC and TD.

Abstract [sv]

En kodbas på 1 300 000 rader kod har undersökts under 20 månader. Denna uppsats undersöker om kodens användningsfrekvens är en signifikant faktor för att finna refaktoreringskandidater. Uppsatsen tittar även antal kodrader, teknisk skuld, antal duplicerade kodrader och komplexitet för att undersöka om dessa indikatorer kan informera en programmerare om vad som ska refaktoreras. Resultatet är att kodens användningsfrekvens är den starkaste variabeln följt av antal kodrader samt teknisk skuld.

Place, publisher, year, edition, pages
2014. , 41 p.
Keyword [en]
refactoring, technical debt, TD, complexity, lines of code, LOC, legacy code, duplicated lines, code-churn, churn
National Category
Software Engineering
URN: urn:nbn:se:bth-3001Local ID: diva2:830296
Available from: 2015-04-22 Created: 2014-02-06 Last updated: 2015-06-30Bibliographically approved

Open Access in DiVA

fulltext(1080 kB)42 downloads
File information
File name FULLTEXT01.pdfFile size 1080 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Department of Creative Technologies
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 42 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 72 hits
ReferencesLink to record
Permanent link

Direct link