| blib/lib/Net/Peep/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 42 | 16.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 292 | 0 | 0 | 4 | @version and $version[0] >= 0 |
| 0 | 0 | 4 | @version and $version[0] >= 0 and $version[1] >= 4 | |
| 0 | 0 | 4 | @version and $version[0] >= 0 and $version[1] >= 4 and $version[2] > 3 | |
| 360 | 0 | 0 | 0 | defined $conf && $conf->optionExists('pidfile') && -f $conf->getOption('pidfile') |
| 485 | 0 | 0 | 0 | @version and $version[0] >= 0 |
| 0 | 0 | 0 | @version and $version[0] >= 0 and $version[1] >= 4 | |
| 0 | 0 | 0 | @version and $version[0] >= 0 and $version[1] >= 4 and $version[2] > 3 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 45 | 0 | 4 | 0 | ref $self || $self |
| 225 | 0 | 0 | 0 | $self->name || confess('Cannot begin main loop: Client name not specified.') |
| 226 | 0 | 0 | 0 | $self->conf || confess('Cannot begin main loop: Configuration object not found.') |
| 247 | 0 | 0 | 0 | $conf->getOption('pidfile') || confess('Cannot fork: Pidfile not found.') |
| 283 | 4 | 0 | 0 | $self->conf || confess('Cannot parse configuration object: Configuration object not found') |
| 383 | 2 | 0 | 10 | $line =~ /^\s*#/ or $line =~ /^\s*$/ |
| 445 | 0 | 0 | 0 | shift() || confess('Object not found') |