Branch Coverage

lib/Net/SNMP/Poller.pm
Criterion Covered Total %
branch 3 28 10.7


line true false branch
68 0 1 if $opts and ref $opts ne 'HASH'
69 1 0 unless $opts
117 0 1 if (my $log = $$self{'opts'}{'logfile'})
118 0 0 unless open my $fh, '>', $log
131 0 0 unless $ref and ref $ref eq 'HASH'
143 0 0 if defined $$ref{$host}{$key}
153 0 0 unless (defined $session)
155 0 0 $logfh ? :
162 0 0 if defined $$ref{$host}{$key}
171 0 0 unless (defined $result)
174 0 0 $logfh ? :
179 0 0 if $logfh
196 0 0 unless (defined $result)
198 0 0 $logfh ? :