Branch Coverage

blib/lib/PIX/Accesslist/Line.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
74 0 0 unless $$self{'source'}->list
76 0 0 unless $$self{'dest'}->list
78 0 0 $$self{'dport'} ? :
79 0 0 scalar @dport_list ? :
119 0 0 ref $_[0] ? :
124 0 0 if exists $$arg{'port'}
127 0 0 if ($$arg{'proto'} eq 'ip') { }
130 0 0 unless lc $_ eq 'ip'
133 0 0 unless $ok
142 0 0 if $$arg{'source'} and $$self{'source'}
144 0 0 unless $ok
147 0 0 if $$arg{'sport'} and $$self{'sport'}
149 0 0 unless $ok
152 0 0 if $$arg{'dest'} and $$self{'dest'}
154 0 0 unless $ok
157 0 0 if $$arg{'dport'} and $$self{'dport'}
159 0 0 unless $ok
192 0 0 if ($$self{'proto'}->first ne 'ip')
193 0 0 if ($$self{'sport'} and $self->sourceport_str) { }
197 0 0 @enum <= 4 ? :
0 0 $name =~ /^unnamed/ && @enum == 1 ? :
216 0 0 if ($$self{'proto'}->first ne 'ip')
217 0 0 if ($$self{'dport'} and $self->destport_str) { }
221 0 0 @enum <= 4 ? :
0 0 $name =~ /^unnamed/ && @enum == 1 ? :
260 0 0 wantarray ? :
265 0 0 if ($$self{'source'}->name =~ /^unnamed/ and $$self{'source'}->list == 1) { }
270 0 0 $str eq '0.0.0.0/0' ? :
276 0 0 if ($$self{'dest'}->name =~ /^unnamed/ and $$self{'dest'}->list == 1) { }
281 0 0 $str eq '0.0.0.0/0' ? :
285 0 0 unless $$self{'proto'}->first ne 'ip' and $$self{'sport'}
286 0 0 if ($$self{'sport'}->name =~ /^unnamed/ and $$self{'sport'}->enumerate == 1) { }
294 0 0 unless $$self{'proto'}->first ne 'ip' and $$self{'dport'}
295 0 0 if ($$self{'dport'}->name =~ /^unnamed/ and $$self{'dport'}->enumerate == 1) { }
303 0 0 if $$self{'dport'}->name =~ /^unnamed/ and $$self{'dport'}->enumerate == 1
304 0 0 if ($$self{'dport'}->enumerate <= 4) { }