Please use this identifier to cite or link to this item: http://scholarbank.nus.edu.sg/handle/10635/40484
Title: Eliminating Redundancies with a "Composition with Adaptation" Meta-programming Technique
Authors: Jarzabek, S. 
Shubiao, L.
Keywords: Class libraries
Generative programming
Meta-programming
Object-Oriented methods
Issue Date: 2003
Source: Jarzabek, S.,Shubiao, L. (2003). Eliminating Redundancies with a "Composition with Adaptation" Meta-programming Technique. Proceedings of the Joint European Software Engineering Conference (ESEC) and SIGSOFT Symposium on the Foundations of Software Engineering (FSE-11) : 237-246. ScholarBank@NUS Repository.
Abstract: Redundant code obstructs program understanding and contributes to high maintenance costs. While most experts agree on that, opinions - on how serious the problem of redundancies really is and how to tackle it - differ. In this paper, we present the study of redundancies in the Java Buffer library, JDK 1.4.1, which was recently released by Sun. We found that at least 68% of code in the Buffer library is redundant in the sense that it recurs in many classes in the same or slightly modified form. We effectively eliminated that 68% of code at the meta-level using a technique based on "composition with adaptation" called XVCL. We argue that such a program solution is easier to maintain than buffer classes with redundant code. In this experiment, we have designed our meta-representation so that we could produce buffer classes in exactly the same form as they appear in the original Buffer library. While we have been tempted to re-design the buffer classes, we chose not to do so, in order to allow for the seamless integration of the XVCL solution into contemporary programming methodologies and systems. This decision has not affected the essential results reported in this paper.
Source Title: Proceedings of the Joint European Software Engineering Conference (ESEC) and SIGSOFT Symposium on the Foundations of Software Engineering (FSE-11)
URI: http://scholarbank.nus.edu.sg/handle/10635/40484
ISBN: 1581137435
Appears in Collections:Staff Publications

Show full item record
Files in This Item:
There are no files associated with this item.

Page view(s)

58
checked on Dec 9, 2017

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.