DocumentCode
3364496
Title
Finding function clones in Web applications
Author
Lanubile, Filippo ; Mallardo, Teresa
Author_Institution
Dipt. di Informatica, Bari Univ., Italy
fYear
2003
fDate
26-28 March 2003
Firstpage
379
Lastpage
386
Abstract
Many Web applications use a mixture of HTML and scripting language code as the front-end to business services. Analogously to traditional applications, redundant code is introduced by copy-and-paste practices. Code duplication is a pathological form of software reuse because of its effects on the maintenance of large software systems. This paper describes how a simple semi-automated approach can be used to identity cloned functions within scripting code of Web applications. The results obtained from applying our approach to three Web applications show that the approach is useful for a fast selection of script function clones, and can be applied to prevent clone spreading or to remove redundant scripting code.
Keywords
Internet; Web sites; authoring languages; business data processing; hypermedia markup languages; software maintenance; software reusability; HTML; Web applications; business services; code duplication; copy-and-paste practices; function clones; redundant scripting code removal; script function clones; scripting language code; software maintenance; software reuse; Application software; Cloning; HTML; Java; Pathology; Programming profession; Software maintenance; Software systems; Web server; Writing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Reengineering, 2003. Proceedings. Seventh European Conference on
ISSN
1534-5351
Print_ISBN
0-7695-1902-4
Type
conf
DOI
10.1109/CSMR.2003.1192447
Filename
1192447
Link To Document