Title :
Dead code elimination for web systems written in PHP: Lessons learned from an industry case
Author :
Boomsma, H. ; Gross, Hans-Gerhard
Author_Institution :
Dept. of Software Eng., Hostnet B.V., Amsterdam, Netherlands
Abstract :
Web systems undergo constant evolution. This makes them prone to accumulating dead code. In turn, dead code is commonly understood to inhibit software evolution. The only way out of this vicious circle is the careful analysis of the web system, identifying unused features, and eliminating them. However, modern web systems are often built with server side scripting languages such as PHP. Their inherent dynamic features render traditional static dead code identification approaches useless. We describe the technical issues involved in detecting dead PHP code, and propose an identification and removal approach based on dynamic analysis. Further, we describe the examination of our approach in an industry-scale web system, and discuss our lessons learned.
Keywords :
Internet; authoring languages; public domain software; software process improvement; source coding; dead PHP code detection; dead PHP code identification; dead code elimination; dynamic analysis; industry-scale Web system; server side scripting languages; software evolution; unused feature identification; Conferences; Image color analysis; Maintenance engineering; Runtime; Software maintenance;
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
Print_ISBN :
978-1-4673-2313-0
DOI :
10.1109/ICSM.2012.6405314