Static, lightweight includes resolution for PHP
- M. Hills,
- P. Klint,
- J.J. Vinju
- Centrum voor Wiskunde en Informatica
Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Academic
Peer-reviewInformation
Output type
Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Academic
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 503-514Publication milestones
- Published - 2014
Publication status
Published - 2014
Place of publication
New YorkPublisher
Association for Computing Machinery, Inc., United StatesISBN (Print)
978-1-4503-3013-8Host publication title
Proceedings of the 29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), September 15-19, 2014, Västeras, SwedenRelated Event
Title
29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), September 15-19, 2014, Västerås, Sweden
Description
29th IEEE/ACM International Conference on Automated Software Engineering
Event type
ConferenceDegree of recognition
International eventDate
15/09/2014 - 19/09/2014Location
Aros Congress CenterVästeråsSweden
Abstract
Dynamic languages include a number of features that are challenging to model properly in static analysis tools. In PHP, one of these features is the include expression, where an arbitrary expression provides the path of the file to include at runtime. In this paper we present two complementary analyses for statically resolving PHP includes, one that works at the level of individual PHP files, and one targeting PHP programs possibly consisting of multiple scripts. To evaluate the effectiveness of these analyses we have applied the first to a corpus of 20 open-source systems, totaling more than 4.5 million lines of PHP, and the second to a number of programs from a subset of these systems. Our results show that, in many cases, includes can be resolved to a specific file or a small subset of possible files, enabling better IDE features and more advanced program analysis tools for PHP.
Documents and Links
Metrics
Metrics
SciVal
FWCI
1.37
SciVal
Author count
3
SciVal
Paper percentile
79
SciVal
citations
10
Scopus
citations
10
PlumX, opens in new tab
Captures
33
Citation count
10
