Condition Coverage

blib/lib/OSLV/Monitor/Backends/FreeBSD.pm
Criterion Covered Total %
condition 0 51 0.0


and 3 conditions

line !l l&&!r l&&r condition
187 0 0 0 defined $jls and ref $jls eq "HASH"
0 0 0 defined $jls and ref $jls eq "HASH" and defined $jls->{'jail-information'}
0 0 0 defined $jls and ref $jls eq "HASH" and defined $jls->{'jail-information'} and ref $jls->{'jail-information'} eq "HASH"
0 0 0 defined $jls and ref $jls eq "HASH" and defined $jls->{'jail-information'} and ref $jls->{'jail-information'} eq "HASH" and defined $jls->{'jail-information'}{'jail'}
0 0 0 defined $jls and ref $jls eq "HASH" and defined $jls->{'jail-information'} and ref $jls->{'jail-information'} eq "HASH" and defined $jls->{'jail-information'}{'jail'} and ref $jls->{'jail-information'}{'jail'} eq "ARRAY"
195 0 0 0 defined $jls_jail->{'name'} and defined $jls_jail->{'jid'}
210 0 0 0 $line =~ /^[\ \t]+inet6 / and defined $interface
0 0 0 $line =~ /^[\ \t]+inet / and defined $interface
239 0 0 0 defined $jls_jail->{$ip_key} and ref $jls_jail->{$ip_key} eq "ARRAY"
0 0 0 defined $jls_jail->{$ip_key} and ref $jls_jail->{$ip_key} eq "ARRAY" and defined $jls_jail->{$ip_key}[0]
244 0 0 0 ref $ip eq "" and not defined $found_IPv4{$ip}
0 0 0 ref $ip eq "" and not defined $found_IPv4{$ip} and not defined $found_IPv6{$ip}
258 0 0 0 $ip_key eq "ip4.addr" and defined $found_IPv4{$ip}
0 0 0 $ip_key eq "ip6.addr" and defined $found_IPv6{$ip}
384 0 0 0 defined $proc_cache->{$cache_name} and defined $proc_cache->{$cache_name}{$stat}

or 3 conditions

line l !l&&r !l&&!r condition
245 0 0 0 $ip =~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/ or $ip =~ /^[\:0-9a-fA-F]+$/
465 0 0 0 not defined $ip or ref $ip ne ""