Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1109/ICSM.2015.7332468guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

System specific, source code transformations

Published: 29 September 2015 Publication History

Abstract

During its lifetime, a software system might undergo a major transformation effort in its structure, for example to migrate to a new architecture or bring some drastic improvements to the system. Particularly in this context, we found evidences that some sequences of code changes are made in a systematic way. These sequences are composed of small code transformations (e.g., create a class, move a method) which are repeatedly applied to groups of related entities (e.g., a class and some of its methods). A typical example consists in the systematic introduction of a Factory design pattern on the classes of a package. We define these sequences as transformation patterns. In this paper, we identify examples of transformation patterns in real world software systems and study their properties: (i) they are specific to a system; (ii) they were applied manually; (iii) they were not always applied to all the software entities which could have been transformed; (iv) they were sometimes complex; and (v) they were not always applied in one shot but over several releases. These results suggest that transformation patterns could benefit from automated support in their application. From this study, we propose as future work to develop a macro recorder, a tool with which a developer records a sequence of code transformations and then automatically applies them in other parts of the system as a customizable, large-scale transformation operator.

Cited By

View all
  • (2018)Is It Possible to Automatically Port Kernel Modules?Proceedings of the 9th Asia-Pacific Workshop on Systems10.1145/3265723.3265732(1-8)Online publication date: 27-Aug-2018

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
ICSME '15: Proceedings of the 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME)
September 2015
611 pages
ISBN:9781467375320

Publisher

IEEE Computer Society

United States

Publication History

Published: 29 September 2015

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2018)Is It Possible to Automatically Port Kernel Modules?Proceedings of the 9th Asia-Pacific Workshop on Systems10.1145/3265723.3265732(1-8)Online publication date: 27-Aug-2018

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media