Branch Coverage

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


line true false branch
39 0 0 unless $name and $config
58 0 0 unless (@{$$self{'config_block'};}[0] =~ /^access-list \S+ \S+/i)
74 0 0 if $line =~ /^remark/
75 0 0 unless $line =~ s/^(permit|deny)//
92 0 0 unless ref $line
104 0 0 if ($word eq 'object-group') { }
0 0 elsif ($word eq 'any') { }
0 0 elsif ($word eq 'host') { }
0 0 elsif ($word =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ or $word ne $$self{'walker'}->alias($word)) { }
142 0 0 unless ref $line
146 0 0 if ($word eq 'object-group') { }
165 0 0 unless ref $line
169 0 0 if ($word eq 'object-group') { }
0 0 elsif ($word eq 'eq' or $word eq 'gt' or $word eq 'lt' or $word eq 'neg') { }
0 0 elsif ($word eq 'range') { }
172 0 0 defined $obj && $obj->type =~ /service|icmp-type/ ? :
176 0 0 unless ($port)
198 0 0 if (defined $port and not defined $$self{'walker'}->obj($port->name))
272 0 0 ${$_[1];} =~ s/^\s*(\S+)\s*// ? :