Login   Register  
PHP Classes
elePHPant
Icontem

Class: PHP Script Parser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andres Dario Gutierrez Poveda  >  PHP Script Parser  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Script Parser
Base name: phpscriptparser
Description: Parse PHP scripts to detect usage bugs
Related classes: , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2710 users
All time rank: 1139
Week users: 5 users
Week rank: 738
Picture of Andres Dario Gutierrez Poveda
Author: Andres Dario Gutierrez Poveda <e-mail contact>
Packages: 7 Browse this author's classes Browse this author's classes
Country: Colombia Colombia - PHP jobs in Colombia
Age: 33
All time rank: 882 in Colombia Colombia
Week rank: 144 Down2 in Colombia Colombia Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description  
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.

 

  Groups  
Group folder image Debug Debug data dumping, bug detection and reporting View top rated classes
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award winner
September 2004
Winner
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

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (82.1%)
Sufficient (64.3%)
-
Sufficient (67.9%)
-
-
Not sure (54.3%)
1199
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
HTML file ejemplo.html Output Sample output
Plain text file example.php Example Example of usage
Plain text file Parser.class.php Class Principal class

Download all files: phpscriptparser.tar.gz phpscriptparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.