Skip to content

Commit ce23286

Browse files
Thomason, JamesThomason, James
authored andcommitted
Oh. Those methods, too
1 parent a0fc0d2 commit ce23286

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Node/AbstractNode.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,11 @@ abstract public function getLinesOfCode(): array;
309309
*/
310310
abstract public function getPaths(): array;
311311

312+
/**
313+
* Returns the branches of this node.
314+
*/
315+
abstract public function getBranches(): array;
316+
312317
/**
313318
* Returns the number of executable lines.
314319
*/
@@ -368,4 +373,14 @@ abstract public function getNumPaths(): int;
368373
* Returns the number of tested paths.
369374
*/
370375
abstract public function getNumTestedPaths(): int;
376+
377+
/**
378+
* Returns the number of branches.
379+
*/
380+
abstract public function getNumBranches(): int;
381+
382+
/**
383+
* Returns the number of tested branches.
384+
*/
385+
abstract public function getNumTestedBranches(): int;
371386
}

0 commit comments

Comments
 (0)