| Conditions | 5 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 10.3999 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | 1 | protected function pröva_rad(string $tipsrad_012): bool { |
|
| 22 | 1 | $ok = $this->reduktion_intervall($tipsrad_012); |
|
| 23 | |||
| 24 | 1 | if ($ok && $this->tt->tt_pröva_spikar) { |
|
| 25 | foreach (array_keys($this->tt->spikar) as $index) { |
||
| 26 | $ok and $ok = $this->pröva_spikar( |
||
| 27 | $this->tt->spikar[$index], |
||
| 28 | $this->tt->andel_spikar[$index], |
||
| 29 | $tipsrad_012 |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | 1 | return $ok; |
|
| 35 | } |
||
| 59 |