Condition Coverage

blib/lib/Net/Peep/Host/Pool.pm
Criterion Covered Total %
condition 0 24 0.0


or 3 conditions

line l !l&&r !l&&!r condition
24 0 0 0 ref $self || $self
35 0 0 0 shift() || confess('Cannot add host to host pool: Host not found.')
52 0 0 0 shift() || confess('Cannot get host by name: No name found.')
56 0 0 0 $host->name eq $name or $host->name eq 'localhost'
65 0 0 0 shift() || confess('Cannot get host by IP address: No address found.')
69 0 0 0 $host->ip eq $addr or $host->ip eq '127.0.0.1'
78 0 0 0 shift() || confess('Cannot add hosts: No hosts found.')
97 0 0 0 shift() || confess('Cannot check whether host is in pool: No host found.')