Please use this identifier to cite or link to this item: http://scholarbank.nus.edu.sg/handle/10635/78003
Title: All empirical study on limits of clone unification using generics
Authors: Basit, H.A.
Rajapakse, D.C. 
Jarzabek, S. 
Issue Date: 2005
Citation: Basit, H.A.,Rajapakse, D.C.,Jarzabek, S. (2005). All empirical study on limits of clone unification using generics. 17th International Conference on Software Engineering and Knowledge Engineering, SEKE 2005 : 109-114. ScholarBank@NUS Repository.
Abstract: Generics (templates) attempt to unify similar program structures to avoid redundancy. How well do generics serve this purpose in practice? We try to answer this question through empirical analysis from two case studies. First, we analyzed the Java Buffer library in which 68% of the code was redundant due to cloning. We were able to remove only 40% of the redundant code using the Java generics. Unification failed because the variations between cloned classes were either non-type parametric or non-parametric. To analyze whether this problem is specific to Java generics, we investigated the C++ Standard Template Library (STL), an exemplary application of C++ templates, as our second case study. Even though C++ templates are more powerful, we still found substantial cloning. We believe that we are dealing with a fundamental phenomenon that will cause many other class libraries and application programs to suffer from the code redundancy problem.
Source Title: 17th International Conference on Software Engineering and Knowledge Engineering, SEKE 2005
URI: http://scholarbank.nus.edu.sg/handle/10635/78003
ISBN: 9781627486590
Appears in Collections:Staff Publications

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

Page view(s)

62
checked on Nov 9, 2018

Google ScholarTM

Check


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