Back to index

php5  5.3.10
Public Member Functions | Protected Attributes
PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest Class Reference
Inheritance diagram for PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest:
Inheritance graph
[legend]
Collaboration diagram for PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ($path, Aggregator $agg, $testpath, $sourcepath, $testname)
 setCoverage ()
 coveredLines ()
 render (AbstractSourceDecorator $decorator=null)
 coveragePercentage ()
 aggregator ()
 testpath ()
 coverage ($line)
 name ()
 shortName ()
 source ()
 getLineLinks ($line)

Protected Attributes

 $testname
 $source
 $path
 $sourcepath
 $coverage
 $aggregator
 $testpath
 $linelinks

Detailed Description

Definition at line 1568 of file pear2coverage.phar.php.


Constructor & Destructor Documentation

PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest::__construct ( path,
Aggregator agg,
testpath,
sourcepath,
testname 
)

Definition at line 1572 of file pear2coverage.phar.php.

    {

Member Function Documentation

Definition at line 672 of file pear2coverage.phar.php.

    {

Definition at line 690 of file pear2coverage.phar.php.

                                            {
            return false;
        }
        return $this->coverage[$line];
    }

    function coveragePercentage()

Here is the caller graph for this function:

Reimplemented from PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile.

Definition at line 1597 of file pear2coverage.phar.php.

                                                 {

Reimplemented from PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile.

Definition at line 1583 of file pear2coverage.phar.php.

    {

Definition at line 724 of file pear2coverage.phar.php.

                                      {
            $this->linelinks = $this->aggregator->retrieveLineLinks($this->path);
        }
        if (isset($this->linelinks[$line])) {
            return $this->linelinks[$line];
        }
        return false;
    }
}
}

Here is the caller graph for this function:

Definition at line 703 of file pear2coverage.phar.php.

    {

Here is the caller graph for this function:

PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest::render ( AbstractSourceDecorator $  decorator = null)

Reimplemented from PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile.

Definition at line 1589 of file pear2coverage.phar.php.

                                 {
            $decorator = new DefaultSourceDecorator('.');
        }
        return $decorator->render($this, $this->testname);
    }

    function coveragePercentage()

Reimplemented from PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile.

Definition at line 1578 of file pear2coverage.phar.php.

    {

Definition at line 708 of file pear2coverage.phar.php.

    {

Here is the caller graph for this function:

Definition at line 713 of file pear2coverage.phar.php.

    {

Here is the caller graph for this function:

Definition at line 677 of file pear2coverage.phar.php.

    {

Here is the caller graph for this function:


Member Data Documentation

Definition at line 649 of file pear2coverage.phar.php.

Definition at line 648 of file pear2coverage.phar.php.

Definition at line 651 of file pear2coverage.phar.php.

Definition at line 646 of file pear2coverage.phar.php.

Definition at line 645 of file pear2coverage.phar.php.

Definition at line 647 of file pear2coverage.phar.php.

Definition at line 1570 of file pear2coverage.phar.php.

Definition at line 650 of file pear2coverage.phar.php.


The documentation for this class was generated from the following file: