System disruptions
We are currently experiencing disruptions on the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
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. , p. 41
Keywords [en]
refactoring, technical debt, TD, complexity, lines of code, LOC, legacy code, duplicated lines, code-churn, churn
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-3001Local ID: oai:bth.se:arkivex2E48C5BC1C234D0EC1257C77003AC842OAI: oai:DiVA.org:bth-3001DiVA, id: diva2:830296
Uppsok
Technology
Supervisors
Available from: 2015-04-22 Created: 2014-02-06 Last updated: 2018-01-11Bibliographically approved

Open Access in DiVA

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

By organisation
Department of Creative Technologies
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 361 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

urn-nbn

Altmetric score

urn-nbn
Total: 473 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf