| Conditions | 5 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 5 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 45 | 36 | private function validateDValues(array $dValues)  | 
            |
| 46 |     { | 
            ||
| 47 | 36 |         if ($this->length == 0) { | 
            |
| 48 | 3 |             throw new ValidationException('$dValues should be not empty'); | 
            |
| 49 | }  | 
            ||
| 50 | |||
| 51 | 36 |         for ($i = 0; $i < $this->length; $i++) { | 
            |
| 52 | 36 |             if (!isset($dValues[$i]) || !is_numeric($dValues[$i])) { | 
            |
| 53 | 3 |                 throw new ValidationException('$dValues is not a simple array list'); | 
            |
| 54 | }  | 
            ||
| 55 | }  | 
            ||
| 56 | 36 | }  | 
            |
| 57 | |||
| 66 |