An Empirical Study Of PHP Feature Usage - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

An Empirical Study Of PHP Feature Usage

Résumé

PHP is one of the most popular languages for server-side application development. The language is highly dynamic, providing programmers with a large amount of flexibility. However, these dynamic features also have a cost, making it difficult to apply traditional static analysis techniques used in standard code analysis and transformation tools. As part of our work on creating analysis tools for PHP, we have conducted a study over a significant corpus of open-source PHP systems, looking at the sizes of actual PHP programs, which features of PHP are actually used, how often dynamic features appear, and how distributed these features are across the files that make up a PHP website. We have also looked at whether uses of these dynamic features are truly dynamic or are, in some cases, statically understandable, allowing us to identify specific patterns of use which can then be taken into account to build more precise tools. We believe this work will be of interest to creators of analysis tools for PHP, and that the methodology we present can be leveraged for other dynamic languages with similar features.
Fichier non déposé

Dates et versions

hal-00923390 , version 1 (02-01-2014)

Identifiants

  • HAL Id : hal-00923390 , version 1

Citer

Mark Hills, Paul Klint, Jurgen Vinju. An Empirical Study Of PHP Feature Usage. Proceedings of the International Symposium on Software Testing and Analysis (ISSTA, 2013), 2013, Unknown. ⟨hal-00923390⟩

Collections

INRIA INRIA2
90 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More