Title :
Near-miss clone patterns in web applications: An empirical study with industrial systems
Author :
Muhammad, Tufail ; Zibran, Minhaz F. ; Yamamoto, Yusaku ; Roy, Chanchal K.
Author_Institution :
Dept. of Comput. Sci., Univ. of Saskatchawan, Saskatoon, SK, Canada
Abstract :
Dynamic web pages composed of inter-woven (tangled) source code written in multiple programming languages (e.g., HTML, PHP, JavaScript, CSS) makes it difficult to analyze and manage clones in web applications. Despite more than a decade of research on software clones, there are not many studies towards the investigation of code clones in web applications. In this paper, we present an in-depth study on the patterns (i.e., forking and templating) of exact and near-miss code clones in two industrial dynamic web applications having distinct architecture. The findings of our study confirm the believed patterns for cloning and suggest that specialized techniques and tool support are necessary for effectively managing clones in the tangled source code of dynamic web applications.
Keywords :
Internet; Web sites; programming languages; software tools; source coding; code clones; dynamic Web pages; forking; industrial dynamic Web applications; industrial systems; interwoven source code; near-miss clone patterns; programming languages; software clones; source code; templating; Cloning; HTML; Maintenance engineering; Object oriented modeling; Servers; Software systems; Web pages; Code clone; analysis; empirical study;
Conference_Titel :
Electrical and Computer Engineering (CCECE), 2013 26th Annual IEEE Canadian Conference on
Conference_Location :
Regina, SK
Print_ISBN :
978-1-4799-0031-2
Electronic_ISBN :
0840-7789
DOI :
10.1109/CCECE.2013.6567821