| Total Complexity | 6 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 6 | final class PhpdbgEngine implements \MyTester\ICodeCoverageEngine { |
||
| 7 | public function getName(): string { |
||
| 8 | return "phpdbg"; |
||
| 9 | } |
||
| 10 | |||
| 11 | public function isAvailable(): bool { |
||
| 12 | return PHP_SAPI === "phpdbg"; |
||
| 13 | } |
||
| 14 | |||
| 15 | public function start(): void { |
||
| 16 | phpdbg_start_oplog(); |
||
|
|
|||
| 17 | } |
||
| 18 | |||
| 19 | public function collect(): array { |
||
| 32 | } |
||
| 33 | } |
||
| 34 | ?> |