PHP Classes
elePHPant
Icontem

PHP Script Parser: Parse PHP scripts to detect usage bugs

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-09-23 (12 years ago) RSS 2.0 feedStarStarStar 56%Total: 2,845 This week: 1All time: 1,276 This week: 1,047Up
Version License Categories
phpscriptparser 1.0GNU General Publi...Debug, Utilities and Tools
Description Author

This class is meant to parse a PHP script to determine how each variable is used and detect eventual bugs.

Note that this class just points probable misusage of the variables. You still have to check the code to confirm whether it is really a bug or a false bug report.

This class is capable of telling:

* Name of the variables
* Number of uses
* Number of assigments, operations, comparisions, concatenations, use as a subitem, use as an object, use as an array, or as a parameter.
* It presents the possible warning or error that found in the code.

Innovation Award
PHP Programming Innovation award winner
September 2004
Winner


Prize: One copy of the Zend Studio
Detecting and fixing programming bugs can be a tedious and time consuming task, especially when the bugs are subtle or hard to reproduce.

This class provides a solution to analyze and detect eventual sources of bugs in PHP scripts that are due to misusage of variables.

The systematic use of solutions like the one provided by this class, may reduce the cost of fixing bugs in PHP code, even at an early stages before the symptoms of the bugs are detected.

This practice may contribute to the general improvement of PHP software quality and training developers to obtain skills in automatic bug prevention.

Manuel Lemos
Picture of Andres Dario Gutierrez Poveda
Name: Andres Dario Gutierrez ... <contact>
Classes: 7 packages by
Country: Colombia Colombia
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login HTML file ejemplo.html Output Sample output
Accessible without login Plain text file example.php Example Example of usage
Plain text file Parser.class.php Class Principal class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,845
This week:1
All time:1,276
This week:1,047Up
 User Ratings  
 
 All time
Utility:84%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1506