| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 26 | { |
||
| 27 | return $this->filter(function (Result $result) use ($score) { |
||
| 28 | return $result->getScore($this->maxCommits(), $this->maxComplexity()) >= $score; |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get the highest number of commits. |
||
| 34 | * @return integer |
||
| 35 | */ |
||
| 36 | public function maxCommits(): int |
||
| 37 | { |
||
| 38 | return $this->max(function (Result $result) { |
||
| 72 |