Branch Coverage

blib/lib/WWW/HKP.pm
Criterion Covered Total %
branch 27 46 58.7


line true false branch
84 0 0 if (defined $response and ref $response and $response->isa('HTTP::Response') and $response->is_success) { }
97 0 0 if (defined $response and ref $response and $response->isa('HTTP::Response') and $response->is_success) { }
112 3 7 if ($line =~ /^info:(\d+):(\d+)$/) { }
3 4 elsif ($line =~ /^pub:([0-9a-f]{8,16}):(\d*):(\d*):(\d*):(\d*):([der]*)$/i) { }
4 0 elsif ($line =~ /^uid:([^:]*):(\d*):(\d*):([der]*)$/i) { }
113 0 3 unless $1 == 1
119 1 2 $created && $created > time || $expires && $expires < time || length $flags ? :
120 0 3 if ($filter_ok and not $ok)
124 1 2 $flags =~ /r/ ? :
1 2 $flags =~ /e/ ? :
1 2 $flags =~ /d/ ? :
136 0 4 unless defined $key
138 3 1 $created && $created > time || $expires && $expires < time || length $flags ? :
139 2 2 if $filter_ok and not $ok
140 1 1 $flags =~ /r/ ? :
1 1 $flags =~ /e/ ? :
1 1 $flags =~ /d/ ? :
153 0 3 unless $keyc == $keyn
267 0 0 if $options{'exact'}
269 0 0 unless defined $message
270 0 0 $options{'filter_ok'} ? :
282 0 0 unless ($search =~ /^0x/)
286 0 0 unless defined $message