Located in /parser/Parser.php (line 25)
| Class | Description |
|---|---|
| PHPParser | Parser for PHP files |
Constructor
Returns the number of covered PHP lines
Returns the next line from file.
Returns the type of last line read.
The type can be either * LINE_TYPE_EXEC Line that can be executed. * LINE_TYPE_NOEXEC Line that cannot be executed. This includes the variable and function definitions (without initialization), blank lines, non-PHP lines, etc.
Returns the string representation of LINE_TYPE
Returns the total lines (PHP, non-PHP) from a file
Returns the number of uncovered PHP lines
Note that the sum of covered and uncovered lines may not be equal to total lines.
Opens the file to be parsed in Read-only mode
Parse a given file
Process the line and classify it into either covered and uncovered.
Documentation generated on Mon, 16 May 2005 10:01:27 -0700 by phpDocumentor 1.3.0RC3