@inproceedings{916db5858c3940358b5f97f67cacd89d,
title = "An approach to detect similar script functions in web applications based on calling information",
abstract = "Cloned code might exacerbate a system maintenance problem, so it is important to remove duplicate code to improve system performance. In web development, script code can often be duplicated as a unit of a script function. Previous research for detecting similar script functions forecasted candidates of similar script functions based on the name of the function and classified the detected candidates into four similarity levels by comparing factors contained within the script functions. There are two key issues that need to be considered to detect similar script functions when using that method. One was that a pair of similar script functions needs to have the same name to be detected. The other was that some modifications particularly such as adding or removing calling statements were not identified after detecting. Adding or removing calling statements might prevent identification for duplicate script function. In this paper, we propose a novel approach to detect similar script functions that can determine the similarity of a script function by evaluating the structural similarity of function code and the calling structure. The evaluation for detecting the structural similarity of code and the calling structure is performed based on a similarity metric, FSIM, which we have defined. We showed the usefulness of FSIM by applying it to three open source projects.",
keywords = "Code duplication, Function clones, Refactoring, Similarity, Software metric, Web application",
author = "Kim, {Jung Il} and Lee, {Eun Joo}",
year = "2013",
doi = "10.4028/www.scientific.net/AMM.263-266.1593",
language = "English",
isbn = "9783037855744",
series = "Applied Mechanics and Materials",
number = "PART 1",
pages = "1593--1599",
booktitle = "Information Technology Applications in Industry",
edition = "PART 1",
note = "2012 International Conference on Information Technology and Management Innovation, ICITMI 2012 ; Conference date: 10-11-2012 Through 11-11-2012",
}