Change search
ReferencesLink to record
Permanent link

Direct link
Semi-automatic code-to-code transformer for Java: Transformation of library calls
Linköping University, Department of Computer and Information Science, Software and Systems.
Linköping University, Department of Computer and Information Science, Software and Systems.
2016 (English)Independent thesis Advanced level (degree of Master (Two Years)), 300 HE creditsStudent thesisAlternative title
Halvautomatisk kodöversättare för Java : Transformation av biblioteksanrop (Swedish)
Abstract [en]

Having the ability to perform large automatic software changes in a code base gives new possibilities for software restructuring and cost savings. The possibility of replacing software libraries in a semi-automatic way has been studied. String metrics are used to find equivalents between two libraries by looking at class- and method names. Rules based on the equivalents are then used to describe how to apply the transformation to the code base. Using the abstract syntax tree, locations for replacements are found and transformations are performed. After the transformations have been performed, an evaluation of the saved effort of doing the replacement automatically versus manually is made. It shows that a large part of the cost can be saved. An additional evaluation calculating the maintenance cost saved annually by changing libraries is also performed in order to prove the claim that an exchange can reduce the annual cost for the project.

Place, publisher, year, edition, pages
2016. , 55 p.
Keyword [en]
code-to-code transformer, semi-automatic transformation, code transformation, transformation of library calls, rule transformation
National Category
Computer Systems
URN: urn:nbn:se:liu:diva-129861ISRN: LIU-IDA/LITH-EX-A--16/031--SEOAI: diva2:944700
Subject / course
Computer science
2016-06-07, Alan Turing, Linköping, 13:00 (English)
Available from: 2016-07-01 Created: 2016-06-29 Last updated: 2016-07-01Bibliographically approved

Open Access in DiVA

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

Search in DiVA

By author/editor
Boije, NiklasBorg, Kristoffer
By organisation
Software and Systems
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 47 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: 119 hits
ReferencesLink to record
Permanent link

Direct link