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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.