International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 48 - Number 13 |
Year of Publication: 2012 |
Authors: Rubala Sivakumar, Kodhai.e |
10.5120/7409-0402 |
Rubala Sivakumar, Kodhai.e . Code Clones Detection in Websites using Hybrid Approach. International Journal of Computer Applications. 48, 13 ( June 2012), 23-27. DOI=10.5120/7409-0402
Code Clone is a pathological form of software reuse because of its effects on the maintenance of large software systems. Probably the existing web applications use a mixture of Designing page and scripting language code as the front-end to business services. Analogously to traditional applications, redundant code is introduced by copy-and-paste practices called 'Code Clones'. This paper proposes the detection of all types of clones by identifying cloned functions within scripting code of web applications using Hybrid approach with the combination of textual and metric analysis. Various metrics had been formulated and their values were utilized during the detection process. Compared to the other approaches, this method is considered to be the least complex and is to provide a most accurate and efficient way of Clone Detection. The results obtained had been compared with an existing tool for the open source of web applications.