Branch Coverage

blib/lib/Graph/AdjacencyMap/Light.pm
Criterion Covered Total %
branch 56 66 84.8


line true false branch
25 1261 1987 $m->[$_] ? :
34 0 46068 if $a != 1 and $a != @$k
35 8970 37098 $a == 1 ? :
36 11879 34189 if defined $pi->{$l}
40 26372 7817 if $map_s
51 11843 15056 unless $map_p
60 0 787 if grep((!defined($_)), @v)
65 174 263 $invert ? :
177 437 $unord ? :
78 0 27144 if grep((!defined($_)), @v)
93 0 10 if grep((!defined($_)), $u, $v)
102 32535 10194 $deep ? :
103 14 75231 $deep > 1 ? :
104 4769 38 $ensure ? :
70451 4807 defined $id ? :
106 14 75193 $deep > 1 ? :
108 32523 10168 $deep ? :
114 0 1004 if $a != 1 and $a != @$k
115 51 953 $a == 1 ? :
119 866 9 defined(my $dummy = &has_path) ? :
124 0 556 if $a != 1 and $a != @$k
125 22 534 $a == 1 ? :
126 7 549 unless exists $pi->{$l}
130 527 22 if $map_s
137 0 12 if $a > 1
138 0 12 unless exists $pi->{$from}
139 2 10 if $attr->{$from}
147 1146 4608 $a == 1 ? :
153 0 12191 if $a != 1 and $a != @$k
154 346 11845 $a == 1 ? :
159 0 13 unless defined &Graph::AdjacencyMap::Light::has_path
161 5 8 $a == 1 ? :
162 2 11 unless exists $attr->{$l}