[SpikePHPCoverage] element index

Package indexes

All elements
a b c d e f g h i l m n o p r s t u v w _
_
top
_PEAR
PEAR::_PEAR() in PEAR.php
Destructor (the emulated type of...). Does nothing right now, but is included for forward compatibility, so subclass destructors should always call it.
_PEAR_call_destructors
__construct
Parser::__construct() in Parser.php
Constructor
__construct
CoverageRecorder::__construct() in CoverageRecorder.php
Constructor (PHP5 only)
__PHPCOVERAGE_HOME
__PHPCOVERAGE_HOME in CoverageRecorder.php
a
top
addFiles
CoverageRecorder::addFiles() in CoverageRecorder.php
Add all source files to the list of files that need to be parsed.
addUserInfo
b
top
$backtrace
c
top
$code
PEAR_Error::$code in PEAR.php
$coverageData
CoverageRecorder::$coverageData in CoverageRecorder.php
$coveredLines
Parser::$coveredLines in Parser.php
CoverageLogger
CoverageLogger in CoverageLogger.php
CoverageRecorder
CoverageRecorder in CoverageRecorder.php
The Coverage Recorder utility
CoverageRecorder.php
CoverageRecorder.php in CoverageRecorder.php
critical
CoverageLogger::critical() in CoverageLogger.php
CoverageLogger.php
CoverageLogger.php in CoverageLogger.php
d
top
driver.php
driver.php in driver.php
debug
CoverageLogger::debug() in CoverageLogger.php
delExpect
PEAR::delExpect() in PEAR.php
This method deletes all occurences of the specified element from the expected error codes stack.
e
top
$error_message_prefix
$excludePaths
CoverageRecorder::$excludePaths in CoverageRecorder.php
error
error() in instrument.php
Print error message and exit
error
CoverageLogger::error() in CoverageLogger.php
excludeCoverageDir
Exclude the directory containing the coverage measurement code.
expectError
This method is used to tell which errors you expect to get.
f
top
$filename
Parser::$filename in Parser.php
$fileRef
Parser::$fileRef in Parser.php
g
top
generateReport
CoverageRecorder::generateReport() in CoverageRecorder.php
Generate the code coverage report
getBacktrace
Get the call backtrace from where the error was generated.
getCallback
Get the callback function/method from an error object.
getCode
Get error code from an error object
getCoveredLines
Returns the number of covered PHP lines
getDebugInfo
Get additional debug information supplied by the application.
getErrors
CoverageRecorder::getErrors() in CoverageRecorder.php
Returns the errors array containing all error encountered so far.
getExcludePaths
CoverageRecorder::getExcludePaths() in CoverageRecorder.php
getFilesAndDirs
CoverageRecorder::getFilesAndDirs() in CoverageRecorder.php
Get the list of files that match the extensions in $this->phpExtensions
getIncludePaths
CoverageRecorder::getIncludePaths() in CoverageRecorder.php
getLevelName
CoverageLogger::getLevelName() in CoverageLogger.php
getLine
Parser::getLine() in Parser.php
Returns the next line from file.
getLineType
Parser::getLineType() in Parser.php
Returns the type of last line read.
getLineTypeStr
Returns the string representation of LINE_TYPE
getMessage
Get the error message from an error object.
getMode
Get the error mode from an error object.
getPhpExtensions
CoverageRecorder::getPhpExtensions() in CoverageRecorder.php
getReporter
CoverageRecorder::getReporter() in CoverageRecorder.php
getStaticProperty
If you have a class that's mostly/entirely static, and you need static
getTotalLines
Returns the total lines (PHP, non-PHP) from a file
getType
Get the name of this error/exception.
getUncoveredLines
Returns the number of uncovered PHP lines
getUserInfo
Get additional user-supplied information.
getVersion
CoverageRecorder::getVersion() in CoverageRecorder.php
get_all_php_files
get_all_php_files() in instrument.php
Retrive a list of all PHP files in the given directory
h
top
help
help() in instrument.php
Print help message and exit
i
top
$includePaths
CoverageRecorder::$includePaths in CoverageRecorder.php
$isRemote
CoverageRecorder::$isRemote in CoverageRecorder.php
instrument.php
instrument.php in instrument.php
info
CoverageLogger::info() in CoverageLogger.php
instrument
instrument() in instrument.php
Instrument the PHP file.
isError
PEAR::isError() in PEAR.php
Tell whether a value is a PEAR error.
l
top
$level
PEAR_Error::$level in PEAR.php
$line
Parser::$line in Parser.php
$logger
Parser::$logger in Parser.php
$logger
CoverageRecorder::$logger in CoverageRecorder.php
LINE_TYPE_CONT
LINE_TYPE_CONT in Parser.php
LINE_TYPE_EXEC
LINE_TYPE_EXEC in Parser.php
LINE_TYPE_NOEXEC
LINE_TYPE_NOEXEC in Parser.php
LINE_TYPE_UNKNOWN
LINE_TYPE_UNKNOWN in Parser.php
Base class for Parsers.
loadExtension
OS independant PHP extension load. Remember to take care on the correct extension name for case sensitive OSes.
logErrors
CoverageRecorder::logErrors() in CoverageRecorder.php
Writes all error messages to error log
m
top
$message
$mode
PEAR_Error::$mode in PEAR.php
n
top
notice
CoverageLogger::notice() in CoverageLogger.php
o
top
openFileReadOnly
Opens the file to be parsed in Read-only mode
OS_UNIX
OS_UNIX in PEAR.php
OS_WINDOWS
OS_WINDOWS in PEAR.php
p
top
$phpCoverageFiles
CoverageRecorder::$phpCoverageFiles in CoverageRecorder.php
$phpExtensions
CoverageRecorder::$phpExtensions in CoverageRecorder.php
What extensions are treated as php files.
phpcoverage.conf.php
phpcoverage.conf.php in phpcoverage.conf.php
parse
Parser::parse() in Parser.php
Parse a given file
Parser
Parser in Parser.php
Parser.php
Parser.php in Parser.php
PATH_SEPARATOR
PATH_SEPARATOR in PEAR.php
PEAR
PEAR::PEAR() in PEAR.php
Constructor. Registers this object in $_PEAR_destructor_object_list for destructor emulation if a destructor object exists.
PEAR
PEAR in PEAR.php
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
PEAR_Error
PEAR_Error in PEAR.php
PEAR_Error
PEAR_Error constructor
PEAR_ERROR_CALLBACK
PEAR_ERROR_DIE
PEAR_ERROR_DIE in PEAR.php
PEAR_ERROR_EXCEPTION
WARNING: obsolete
PEAR_ERROR_PRINT
PEAR_ERROR_PRINT in PEAR.php
PEAR_ERROR_RETURN
PEAR_ERROR_RETURN in PEAR.php
PEAR_ERROR_TRIGGER
PEAR_ERROR_TRIGGER in PEAR.php
PEAR_OS
PEAR_OS in PEAR.php
PEAR.php
PEAR.php in PEAR.php
PEAR_ZE2
PEAR_ZE2 in PEAR.php
PHPCOVERAGE_HOME
PHPCOVERAGE_HOME in phpcoverage.remote.top.inc.php
phpcoverage.inc.php
phpcoverage.inc.php in phpcoverage.inc.php
phpcoverage.remote.bottom.inc.php
phpcoverage.remote.bottom.inc.php in phpcoverage.remote.bottom.inc.php
phpcoverage.remote.top.inc.php
phpcoverage.remote.top.inc.php in phpcoverage.remote.top.inc.php
popErrorHandling
Pop the last error handler used
popExpect
PEAR::popExpect() in PEAR.php
This method pops one element off the expected error codes stack.
processLine
Parser::processLine() in Parser.php
Process the line and classify it into either covered and uncovered.
processSourcePaths
Processes and validates the source directories
pushErrorHandling
Push a new error handler on top of the error handler options stack. With this you can easily override the actual error handler for some code and restore it later with popErrorHandling.
r
top
$reporter
CoverageRecorder::$reporter in CoverageRecorder.php
raiseError
PEAR::raiseError() in PEAR.php
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. If the $mode and $options parameters are not specified, the object's defaults are used.
registerShutdownFunc
Use this function to register a shutdown method for static classes.
removeAbsentPaths
Remove the directories that do not exist from the input array
s
top
$stripped
CoverageRecorder::$stripped in CoverageRecorder.php
setErrorHandling
Sets how errors generated by this object should be handled.
setExcludePaths
CoverageRecorder::setExcludePaths() in CoverageRecorder.php
setIncludePaths
CoverageRecorder::setIncludePaths() in CoverageRecorder.php
setLevel
CoverageLogger::setLevel() in CoverageLogger.php
setPhpExtensions
CoverageRecorder::setPhpExtensions() in CoverageRecorder.php
setReporter
CoverageRecorder::setReporter() in CoverageRecorder.php
spikephpcoverage_before_shutdown
spikephpcoverage_before_shutdown() in phpcoverage.remote.top.inc.php
startInstrumentation
Starts the code coverage recording
staticPopErrorHandling
staticPushErrorHandling
stopInstrumentation
Stops code coverage recording
stripCoverageData
Removes the unwanted coverage data from the recordings
t
top
$totalLines
Parser::$totalLines in Parser.php
throwError
PEAR::throwError() in PEAR.php
Simpler form of raiseError with fewer options. In most cases message, code and userinfo are enough.
toString
Make a string representation of this object.
u
top
$uncoveredLines
$userinfo
uninstrument
uninstrument() in instrument.php
Uninstrument the PHP file
unixifyCoverageData
Convert filepaths in coverage data to forward slash separated paths.
usage
usage() in driver.php
v
top
$version
CoverageRecorder::$version in CoverageRecorder.php
w
top
warn
CoverageLogger::warn() in CoverageLogger.php
writeMsg
writeMsg() in instrument.php
Write a information message
a b c d e f g h i l m n o p r s t u v w _