| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 12 | public function generate(CodeFinder $finder, string $filePath): void |
|
| 29 | { |
||
| 30 | 12 | $this->command()->runningParser(); |
|
| 31 | 9 | $structure = $this->parser->parse($finder); |
|
| 32 | 9 | $this->command()->runningProcessor($this->processor); |
|
| 33 | 9 | $statistics = $this->processor->process($structure); |
|
| 34 | 9 | $this->command()->savingResult(); |
|
| 35 | 9 | $this->processor->writeToDisk($statistics, $filePath); |
|
| 36 | 9 | } |
|
| 38 |