Branch Coverage

blib/lib/Net/ACL/File/IPAccessExt.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
28 4 8 if ($match->index == ACL_EIA_PROTO()) { }
4 4 elsif ($match->index == ACL_EIA_FROM()) { }
4 0 elsif ($match->index == ACL_EIA_TO()) { }
49 5 3 $net->bits == 0 ? :
0 8 $net->bits == 32 ? :
8 0 defined $net ? :
86 0 4 $lines->subs ? :
88 0 4 $lines =~ /\n./ ? :
91 0 4 unless $line =~ /^ (permit|deny) ([^ ]+) (.*)$/i
97 0 4 if ($from eq 'host') { }
103 0 4 unless $from eq 'any'
106 0 4 if ($to eq 'host') { }
112 3 1 unless $to eq 'any'
123 2 2 if not defined $this->name and $super =~ /ip access-list extended (.*)$/