Doorgaan naar hoofdnavigatie Doorgaan naar zoeken Ga verder naar hoofdinhoud

Static, lightweight includes resolution for PHP

  • M. Hills
  • , P. Klint
  • , J.J. Vinju

Onderzoeksoutput: Hoofdstuk in Boek/Rapport/CongresprocedureConferentiebijdrageAcademicpeer review

Samenvatting

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.
Originele taal-2Engels
TitelProceedings of the 29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), September 15-19, 2014, Västeras, Sweden
Plaats van productieNew York
UitgeverijAssociation for Computing Machinery, Inc.
Pagina's503-514
ISBN van geprinte versie978-1-4503-3013-8
DOI's
StatusGepubliceerd - 2014
Extern gepubliceerdJa
Evenement29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), September 15-19, 2014, Västerås, Sweden - Aros Congress Center, Västerås, Zweden
Duur: 15 sep. 201419 sep. 2014
http://www.ase2014.org/

Congres

Congres29th IEEE/ACM International Conference on Automated Software Engineering (ASE 2014), September 15-19, 2014, Västerås, Sweden
Verkorte titelASE 2014
Land/RegioZweden
StadVästerås
Periode15/09/1419/09/14
Ander29th IEEE/ACM International Conference on Automated Software Engineering
Internet adres

Vingerafdruk

Duik in de onderzoeksthema's van 'Static, lightweight includes resolution for PHP'. Samen vormen ze een unieke vingerafdruk.

Citeer dit