| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 20 | 15 | public function __construct($codiceFiscale, $properties = array())  | 
            |
| 21 |     { | 
            ||
| 22 | 15 | parent::__construct($codiceFiscale, $properties);  | 
            |
| 23 | |||
| 24 | 15 |         if ($this->isFormallyValid()) { | 
            |
| 25 | 15 | $codiceFiscaleWithoutOmocodia = $this->getCodiceFiscaleWithoutOmocodia();  | 
            |
| 26 | |||
| 27 | // calculate belfiore code  | 
            ||
| 28 | 15 | $this->belfioreCode = substr($codiceFiscaleWithoutOmocodia, 11, 4);  | 
            |
| 29 | 15 | }  | 
            |
| 30 | 15 | }  | 
            |
| 31 | |||
| 56 |