| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 15 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 9 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 42 | 2 | public function input(string $ipnumber)  | 
            |
| 43 |     { | 
            ||
| 44 | |||
| 45 | 2 | $this->ipobject["number"] = $ipnumber;  | 
            |
| 46 | 2 | $this->ipobject["valid"] = $this->ipValidate->validate($ipnumber);  | 
            |
| 47 | |||
| 48 | |||
| 49 | 2 |         if ($this->ipobject["valid"]) { | 
            |
| 50 | 1 | $this->ipobject["type"] = $this->ipType->ipType($ipnumber);  | 
            |
| 51 | 1 | $this->ipobject["domainname"] = $this->ipDomainname->ipDomainname($ipnumber);  | 
            |
| 52 | 1 | list($this->ipobject["latitude"], $this->ipobject["longitude"], $this->ipobject["country"], $this->ipobject["city"])  | 
            |
| 53 | 1 | = $this->ipCheckCoordinates->ipCheckCoordinates($ipnumber);  | 
            |
| 54 | }  | 
            ||
| 55 | |||
| 56 | 2 | return $this->ipobject;  | 
            |
| 57 | }  | 
            ||
| 59 |