| lib/Net/GPSD/Server/Fake.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 27 | 14.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 86 | 0 | 0 | 0 | $listen_socket->opened and my $connection = $listen_socket->accept |
| line | l | !l | condition |
|---|---|---|---|
| 60 | 0 | 1 | $param{'port'} || '2947' |
| 62 | 0 | 1 | $param{'name'} || 'GPSD' |
| 127 | 0 | 0 | 'X=' . $point->time || 0 |
| 221 | 0 | 0 | $point->tag || 'FAKE' |
| 0 | 0 | $point->errortime || 0.001 | |
| 362 | 0 | 0 | shift() || 0.01 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 46 | 0 | 1 | 0 | ref $this || $this |
| 61 | 0 | 0 | 1 | $param{'version'} || $Net::GPSD::Server::Fake::VERSION |
| 221 | 0 | 0 | 0 | $point->time || time |
| 357 | 0 | 0 | 0 | !defined($value) || $value eq '' |