DocumentCode
588606
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
fYear
2012
fDate
23-28 Sept. 2012
Firstpage
511
Lastpage
515
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;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location
Trento
ISSN
1063-6773
Print_ISBN
978-1-4673-2313-0
Type
conf
DOI
10.1109/ICSM.2012.6405314
Filename
6405314
Link To Document