Finding Function Clones in Web Applications

  • Authors:
  • Filippo Lanubile;Teresa Mallardo

  • Affiliations:
  • -;-

  • Venue:
  • CSMR '03 Proceedings of the Seventh European Conference on Software Maintenance and Reengineering
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Many web applications use a mixture of HTML andscripting language code as the front-end to businessservices. Analogously to traditional applications,redundant code is introduced by copy-and-pastepractices. Code duplication is a pathological form ofsoftware reuse because of its effects on the maintenanceof large software systems. This paper describes how asimple semi-automated approach can be used to identitycloned functions within scripting code of webapplications. The results obtained from applying ourapproach to three web applications show that theapproach is useful for a fast selection of script functionclones, and can be applied to prevent clone spreading orto remove redundant scripting code.