Class CoverageDataHandler

Description

Persists code coverage data into SQLite database and aggregate data for convienent interpretation in report generator. Be sure to not to keep an instance longer than you have, otherwise you risk overwriting database edits from another process also trying to make updates.

Located in /extensions/coverage/coverage_data_handler.php (line 19)


	
			
Variable Summary
 mixed $db
Method Summary
 static void ltrim ( $cruft,  $pristine)
 CoverageDataHandler __construct ( $filename)
 void aggregateCoverage ( &$total,  $next)
 void aggregateCoverageCode ( $code1,  $code2)
 void createSchema ()
 void &getFilenames ()
 void read ()
 void &readFile ( $file)
 void write ( $coverage)
 void writeUntouchedFile ( $file)
Variables
mixed $db (line 21)
Methods
static ltrim (line 100)
void ltrim ( $cruft,  $pristine)
  • $cruft
  • $pristine
Constructor __construct (line 23)
CoverageDataHandler __construct ( $filename)
  • $filename
aggregateCoverage (line 77)
void aggregateCoverage ( &$total,  $next)
  • &$total
  • $next
aggregateCoverageCode (line 87)
void aggregateCoverageCode ( $code1,  $code2)
  • $code1
  • $code2
createSchema (line 31)
void createSchema ()
getFilenames (line 36)
void &getFilenames ()
read (line 56)
void read ()
readFile (line 64)
void &readFile ( $file)
  • $file
readUntouchedFiles (line 113)
void &readUntouchedFiles ()
write (line 46)
void write ( $coverage)
  • $coverage
writeUntouchedFile (line 107)
void writeUntouchedFile ( $file)
  • $file

Documentation generated on Sun, 31 Oct 2010 16:31:08 -0500 by phpDocumentor 1.4.3