| blib/lib/Stancer/Device.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 92 | 2 | 23 | if defined $ENV{'HTTP_ACCEPT'} and not defined $this->http_accept |
| 93 | 11 | 14 | if defined $ENV{'SERVER_ADDR'} and not defined $this->ip |
| 94 | 1 | 24 | if defined $ENV{'HTTP_ACCEPT_LANGUAGE'} and not defined $this->languages |
| 95 | 9 | 16 | if defined $ENV{'SERVER_PORT'} and not defined $this->port |
| 96 | 2 | 23 | if defined $ENV{'HTTP_USER_AGENT'} and not defined $this->user_agent |
| 98 | 9 | 16 | unless defined $this->ip |
| 99 | 4 | 12 | unless defined $this->port |