Branch Coverage

blib/lib/BigIP/LTM/ParseConfig.pm
Criterion Covered Total %
branch 0 144 0.0


line true false branch
115 0 0 unless $self->{'Parsed'}{'ltm pool'}{$pool}{'members'}
117 0 0 if (ref $self->{'Parsed'}{'ltm pool'}{$pool}{'members'} eq 'HASH') { }
134 0 0 if exists $virtual->{'pool'}
135 0 0 if exists $virtual->{'persist'}
136 0 0 if $pool
137 0 0 if $persist[0]
153 0 0 if exists $virtual->{'pool'}
154 0 0 if exists $virtual->{'persist'}
155 0 0 if $pool
156 0 0 if $persist[0]
168 0 0 unless $arg->{'type'} and $arg->{'key'}
177 0 0 unless $self->{'Parsed'}{$obj}{$key}
180 0 0 unless $self->{'Parsed'}{$obj}{$key}{$attr}
192 0 0 unless $self->{'Modify'}
199 0 0 if ($self->{'Modify'}{$obj}{$key}) { }
202 0 0 unless $self->{'Parsed'}{$obj}{$key}{$attr}
205 0 0 if (ref $self->{'Modify'}{$obj}{$key}{$attr} eq 'ARRAY') { }
208 0 0 if (@{$self->{'Modify'}{$obj}{$key}{$attr};} > 1) { }
218 0 0 if ($self->{'Parsed'}{$obj}{$key}{'_xtra'}{$val})
279 0 0 if ($self->{'Parsed'}{$obj}) { }
294 0 0 if /auth/
295 0 0 if /ltm monitor/
298 0 0 if /ltm node/
299 0 0 if /partition/
300 0 0 if /ltm pool/
301 0 0 if /net self/
302 0 0 if /auth user/
303 0 0 if /ltm virtual/
319 0 0 unless -e $self->{'ConfigFile'}
331 0 0 if ($ln =~ /^(auth user)\s(.*)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^(ltm virtual|ltm pool|ltm node|ltm rule)\s(.*)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^(net self|net route|net interface|net vlan|net trunk)\s(.*)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^(sys)\s(sshd|syslog|ntp|snmp|state-mirroring)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^((ltm persistence)\s(cookie|source-addr|universal|destination-addr))\s(\S+)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^((ltm monitor)\s(http|tcp|udp|icmp))\s(\S+)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^((ltm profile)\s(web-acceleration|tcp|udp|request-log))\s(\S+)\s\{(\s\})?$/) { }
0 0 elsif ($ln =~ /^\}$/) { }
332 0 0 if $3
338 0 0 if $3
344 0 0 if $3
350 0 0 if $3
356 0 0 if $5
363 0 0 if $5
370 0 0 if $5
383 0 0 if ($obj and $key)
387 0 0 if ($ln =~ /^\s{4}(\S+)\s\{$/)
393 0 0 if ($ln =~ /^\s{8}(\S+)\s\{$/)
399 0 0 if ($ln =~ /^\s{8}(\S+)\s\{$/)
405 0 0 if ($ln =~ /^\s{4}\}$/)
411 0 0 if ($ln =~ /^\s{8}\}$/)
417 0 0 if ($ln =~ /^\s{12}\}$/)
423 0 0 if ($ln =~ /^\s{4}(\S+)\s\{\s\}$/)
429 0 0 if ($ln =~ /^\s{4}(\S+)\s\{(.*)\}$/)
436 0 0 if (defined $attr1 and $attr1)
438 0 0 if ($ln =~ /^\s{8}(\S+)\s\{\s\}$/)
444 0 0 if ($ln =~ /^\s{8}(\S+)\s\{(.*)\}$/)
452 0 0 if ($ln =~ /^\s{8}(\S+)\s(.*)$/)
458 0 0 if ($ln =~ /^\s{8}(\S.+)$/)
459 0 0 if (ref $parsed->{$obj}{$key}{$attr1} eq 'HASH') { }
470 0 0 if (defined $attr2 and ($attr1 and $attr2))
472 0 0 if ($ln =~ /^\s{12}(\S+)\s\{\s\}$/)
478 0 0 if ($ln =~ /^\s{12}(\S+)\s\{(.*)\}$/)
486 0 0 if ($ln =~ /^\s{12}(\S+)\s(.*)\s?$/)
492 0 0 if ($ln =~ /^\s{12}(.*)\s?$/)
493 0 0 if (ref $parsed->{$obj}{$key}{$attr1}{$attr2} eq 'HASH') { }
504 0 0 if (defined $attr3 and ($attr1 and $attr2 and $attr3))
506 0 0 if ($ln =~ /^\s{16}(\S+)\s\{\s\}$/)
512 0 0 if ($ln =~ /^\s{16}(\S+)\s\{(.*)\}$/)
520 0 0 if ($ln =~ /^\s{16}(\S+)\s(.*)\s?$/)
526 0 0 if ($ln =~ /^\s{16}(.*)\s?$/)
527 0 0 if (ref $parsed->{$obj}{$key}{$attr1}{$attr2}{$attr3} eq 'HASH') { }
539 0 0 if ($ln =~ /^\s{4}(\S+)\s(.*)$/)