2007 · 48 citations · 18 references
ComputingComputer ScienceSoftware EngineeringSystems ProgrammingWeb TechnologiesSoftware DesignSoftware MaintenanceSoftware ReuseClone DetectionCode Clone ManagementDuplication MechanismsRuntime PerformanceSource Code CloningUnificationWeb Application Maintenance
Server page technique is commonly used for implementing Web application user interfaces. Server pages can represent many similar Web pages in a generic form. Yet our previous study revealed high rates of repetitions in Web applications, particularly in the user interfaces. Code duplication, commonly known as 'cloning', signals untapped opportunities to achieve simpler, smaller, more generic, and more maintainable Web applications. Using PHP server page technique, we conducted a case study to explore how far server page technique can be pushed to achieve clone-free Web applications. Our study suggests that clone unification using server pages affects system qualities (e.g., runtime performance) to an extent that may not be acceptable in many project situations. Our paper discusses the trade-offs we observed when applying server pages to unify clones in Web applications. We expect our findings to help in developing and validating complementary techniques that can unify clones without incurring such trade-offs.
18
Refactoring improving the design of existing code
Mauricio A. Saca · 2017 · 2.1K citations
An empirical study of code clone genealogies
Miryung Kim, Vibha Sazawal, David Notkin et al. · 2005 · 527 citations
"Cloning Considered Harmful" Considered Harmful
Cory Kapser, Michael W. Godfrey · 2006 · 251 citations
An empirical study of code clone genealogies
Miryung Kim, Vibha Sazawal, David Notkin et al. · ACM SIGSOFT Software Engineering Notes · 2005 · 206 citations