/cli/instrument.php

Description
Includes
require_once (__PHPCOVERAGE_HOME."/util/Utility.php") (line 17)
require_once (__PHPCOVERAGE_HOME."/conf/phpcoverage.conf.php") (line 16)
Functions
error (line 49)

Print error message and exit

  • access: public
void error ($msg $msg)
  • $msg $msg: Message to write to console.
get_all_php_files (line 155)

Retrive a list of all PHP files in the given directory

  • return: List of PHP files
  • access: public
Array get_all_php_files ($dir $dir, $recursive &$excludeFiles, mixed $recursive)
  • $dir $dir: Directory to scan
  • $recursive &$excludeFiles: True is directory is scanned recursively
help (line 26)

Print help message and exit

  • access: public
void help ()
instrument (line 73)

Instrument the PHP file.

  • access: public
void instrument ($file $file)
  • $file $file: File path
uninstrument (line 108)

Uninstrument the PHP file

  • access: public
void uninstrument ($file $file)
  • $file $file: File path
writeMsg (line 60)

Write a information message

  • access: public
void writeMsg ($msg $msg)
  • $msg $msg: Message to write to console.

Documentation generated on Fri, 06 Jul 2007 12:51:36 -0700 by phpDocumentor 1.3.0RC3