Condition Coverage

blib/lib/OSPF/LSDB/View6.pm
Criterion Covered Total %
condition 77 115 66.9


and 3 conditions

line !l l&&!r l&&r condition
224 12 8 2 $type ne "pointtopoint" and @hashes > 1
243 0 12 1 $ifaddrs->{$intf} and $ifaddrs->{$intf}{$rid} > 1
12 12 1 $type eq "pointtopoint" and ($ifaddrs->{$intf} and $ifaddrs->{$intf}{$rid} > 1)
301 51 3 2 not $nethash->{$addr}{$netrid} and keys %$nv > 1
310 53 6 1 not $nethash->{$addr}{$netrid} and keys %$ev > 1
349 8 1 95 $nethash->{$addr}{$netrid} and $nethash->{$addr}{$netrid}{$area}
401 0 103 3 $ifaddrs->{$intf} and $ifaddrs->{$intf}{$rid} > 1
408 52 8 46 $netrid eq $rid && $addr eq $intf
653 0 103 4 $routehash->{$arid}{'areas'} and not $routehash->{$arid}{'areas'}{$area}
667 53 3 46 $arid eq $rid and $tv
56 41 5 $arid eq $rid and $tv and not grep({$addr eq $_->{'interface'};} @{$$tv{"hashes"};})
827 0 0 9 $lv->{'graph'} && $lv->{'graph'}{'N'}
945 21 10 0 $routehash->{$asbr} and $routehash->{$asbr}{'areas'}{$area}
1194 0 0 0 $elem->{'colors'}{'gray'} && $colors->{'gray'}
1228 0 0 0 $elem->{'colors'}{'gray'} && $colors->{'gray'}

or 2 conditions

line l !l condition
1635 0 4 $_->{'shape'} ||= "box"
1636 2 2 $_->{'style'} ||= "solid"
1672 3 2 $_->{'shape'} ||= "ellipse"
1673 2 3 $_->{'style'} ||= "solid"
1710 4 2 $_->{'shape'} ||= "ellipse"
1711 1 5 $_->{'style'} ||= "solid"
1728 0 5 $_->{'shape'} ||= "box"
1729 0 5 $_->{'style'} ||= "solid"
1796 3 3 $_->{'label'} ||= "router"
1797 2 4 $_->{'shape'} ||= "box"
1798 0 6 $_->{'style'} ||= "solid"
1818 3 2 $_->{'label'} ||= "router"
3 2 $_->{'shape'} ||= "box"
1819 3 2 $_->{'style'} ||= "solid"
1842 4 2 $_->{'style'} ||= "solid"
1886 3 1 $_->{'shape'} ||= "ellipse"
1887 2 2 $_->{'style'} ||= "solid"
1900 1 3 $_->{'label'} ||= "area border\\nrouter"
1901 0 4 $_->{'shape'} ||= "box"
1902 1 3 $_->{'style'} ||= "bold"

or 3 conditions

line l !l&&r !l&&!r condition
229 14 2 2 $linkhash->{$rid} && $linkhash->{$rid}{$area} && $linkhash->{$rid}{$area}{$dstrid} || $routehash->{$dstrid}{'missing'}
319 4 2 2 $colors{'orange'} || $colors{'blue'}
661 96 6 1 $tv or $routehash->{$arid}{'missing'}
1194 0 0 0 not $elem->{'colors'}{'gray'} && $colors->{'gray'} or $elem->{'colors'}{'gray'} ne $colors->{'gray'}
1202 0 0 0 delete $elem->{'colors'}{'gray'} || ()
0 0 0 $colors->{'gray'} || ()
1228 0 0 0 not $elem->{'colors'}{'gray'} && $colors->{'gray'} or $elem->{'colors'}{'gray'} ne $colors->{'gray'}
1234 0 0 0 delete $elem->{'colors'}{'gray'} || ()
0 0 0 $colors->{'gray'} || ()
1366 0 0 0 $nethash->{$netaddr}{$netrid}{$area}{'graph'}{'N'} || $transithash->{$netaddr}{$netrid}{$area}{$rid}{'graph'}{'N'}