Lines Matching refs:codepath
482 protected $codepath;
492 function __construct($testpath, $codepath, $db = ':memory:')
494 $newcodepath = realpath($codepath);
496 if (!strpos($codepath, '://') || !file_exists($codepath)) {
501 $codepath = $newcodepath;
503 $this->sqlite = new Sqlite($codepath, $db);
504 $this->codepath = $codepath;
622 $decorator = new DefaultSourceDecorator($toPath, $this->testpath, $this->codepath);
626 … $decorator->renderSummary($this, $this->retrievePaths(), $this->codepath, false, $coverage[1],
628 $a = $this->codepath;
741 protected $codepath;
751 function __construct($testpath, $codepath, $db = ':memory:')
753 $newcodepath = realpath($codepath);
755 if (!strpos($codepath, '://') || !file_exists($codepath)) {
760 $codepath = $newcodepath;
762 $this->sqlite = new Sqlite($db, $codepath, $testpath);
763 $this->codepath = $codepath;
904 $decorator = new DefaultSourceDecorator($toPath, $this->testpath, $this->codepath);
908 … $decorator->renderSummary($this, $this->retrievePaths(), $this->codepath, false, $coverage[1],
910 $a = $this->codepath;
932 public $codepath;
935 function __construct($path = ':memory:', $codepath = null, $testpath = null)
941 $this->codepath = $this->db->querySingle('SELECT codepath FROM paths');
945 if (!$codepath || !$testpath) {
949 $this->codepath = $codepath;
1050 INSERT INTO paths ("' . $this->db->escapeString($codepath) . '", "' .
1464 if (strpos($path, $this->codepath) !== 0) {