You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Towards Automatic Client-side Feature Reuse

Publication Type:

Conference/Workshop Paper


Web Informations System Engineering, WISE 2014


A client-side application offers a number of features, and similar features are often used in a large number of web applications -- facilitating reuse could offer considerable benefits in terms of faster development. Unfortunately, due to the specifics of prevailing technologies, the techniques and tools used to support reuse are not as advanced as in other software engineering disciplines -- the main method of reuse is still copy-pasting code. Copy-paste reuse can introduce a number of different types of errors that are time-consuming to detect and fix. In this paper we present a method for performing feature reuse in client-side web applications. We identify problems that occur when introducing code from one application into another application, present a set of algorithms that detect and fix those problems and perform the actual code merging. We have evaluated the approach on a web application suite, and the evaluation has shown that the method is capable of performing feature reuse.


author = {Josip Maras and Jan Carlson and Ivica Crnkovic},
title = {Towards Automatic Client-side Feature Reuse},
month = {October},
year = {2013},
booktitle = {Web Informations System Engineering, WISE 2014},
url = {}