An Empirical Study Of PHP Feature Usage

Mark Hills 1 Paul Klint 1 Jurgen Vinju 1
1 ATEAMS - Analysis and Transformation based on rEliAble tool coMpositionS
Inria Lille - Nord Europe, CWI - Centrum Wiskunde & Informatica
Abstract : 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.
Type de document :
Communication dans un congrès
Pezze, M and Harman, M. Proceedings of the International Symposium on Software Testing and Analysis (ISSTA, 2013), 2013, Unknown, 2013
Liste complète des métadonnées

https://hal.inria.fr/hal-00923390
Contributeur : Tijs Van Der Storm <>
Soumis le : jeudi 2 janvier 2014 - 17:06:13
Dernière modification le : mercredi 29 novembre 2017 - 15:05:44

Identifiants

  • HAL Id : hal-00923390, version 1

Collections

Citation

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

Partager

Métriques

Consultations de la notice

144