Condition Coverage

blib/lib/HTML/LinkList.pm
Criterion Covered Total %
condition 60 96 62.5


and 3 conditions

line !l l&&!r l&&r condition
260 0 3 0 defined $args{'urls'} and @{$args{'urls'};}
511 0 0 3 defined $args{'link_tree'} and @{$args{'link_tree'};}
1192 185 0 0 exists $args{'descriptions'}{$link} and defined $args{'descriptions'}{$link}
185 0 0 exists $args{'descriptions'}{$link} and defined $args{'descriptions'}{$link} and $args{'descriptions'}{$link}
1200 77 93 0 $args{'current_url'} and exists $args{'current_parents'}{$link}
83 10 0 $args{'current_url'} and exists $args{'current_parents'}{$link} and $args{'current_parents'}{$link}
1283 4 0 31 $url ne '/' and $url =~ m[/$]o
1417 2 0 15 defined $args{'start_depth'} and $args{'tree_depth'} < $args{'start_depth'}
1442 41 30 0 $args{'end_depth'} && $tree_depth == $args{'end_depth'}
41 30 0 $args{'end_depth'} && $tree_depth == $args{'end_depth'}
1613 48 0 3 defined $args{'prepend_list'} and @{$args{'prepend_list'};}
1617 0 0 3 $#list_of_lists == 0 and ref $list_of_lists[0] eq 'ARRAY'
1628 51 0 0 defined $args{'append_list'} and @{$args{'append_list'};}
1632 0 0 0 $#list_of_lists == 0 and ref $list_of_lists[0] eq 'ARRAY'
1688 260 0 0 $hide and $nohide
260 0 0 $hide and $nohide and not $path =~ /$nohide/
0 0 0 $hide and $nohide and not $path =~ /$nohide/ and $path =~ /$hide/
260 0 0 $hide and not $nohide
260 0 0 $hide and not $nohide and $path =~ /$hide/
52 161 25 $args{'end_depth'} and $path_depth > $args{'end_depth'}
1747 6 11 3 $pd <= $current_url_depth and $args{'current_url'} =~ /^$path/
3 11 3 $pd >= $current_url_depth and $path =~ /^$current_url/
6 3 5 $parent and $pd >= $current_url_depth
9 3 2 $parent and $pd >= $current_url_depth and $path =~ /^$parent/
1782 91 24 19 $pd == $current_url_depth + 1 and $path =~ /^$current_url/
64 16 35 $pd == $current_url_depth and $path =~ /^$parent/
15 34 31 $grandparent and $pd == $parent_depth
49 7 24 $grandparent and $pd == $parent_depth and $path =~ /^$grandparent/
38 9 9 $greatgrandparent and $pd == $parent_depth - 1
47 0 9 $greatgrandparent and $pd == $parent_depth - 1 and $path =~ /^$greatgrandparent/

or 3 conditions

line l !l&&r !l&&!r condition
1740 11 0 2 $args{'navbar_type'} or $args{'do_navbar'}
1903 2 0 22 $args{'links_head'} ne $args{'subtree_head'} or $args{'links_foot'} ne $args{'subtree_foot'}