Back to index

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

List of all members.

Classes

class  PerTest

Public Member Functions

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

Protected Attributes

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

Detailed Description

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


Constructor & Destructor Documentation

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

Definition at line 653 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 in PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest.

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

    {

Here is the caller graph for this function:

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::render ( AbstractSourceDecorator $  decorator = null)

Reimplemented in PEAR2\Pyrus\Developer\CoverageAnalyzer\SourceFile\PerTest.

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

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

    function coverage($line)

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 650 of file pear2coverage.phar.php.


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