Branch Coverage

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


line true false branch
25 2680 6010 $m->[$_] ? :
34 0 82271 if $a != 1 and $a != @$k
35 19449 62822 $a == 1 ? :
36 11948 70323 if defined $pi->{$l}
40 52049 18274 if $map_s
51 37006 15573 unless $map_p
60 0 1993 if grep((!defined($_)), @v)
65 178 263 $invert ? :
22792 441 $unord ? :
78 0 37261 if grep((!defined($_)), @v)
93 0 10 if grep((!defined($_)), $u, $v)
102 58227 29620 $deep ? :
103 14 146041 $deep > 1 ? :
104 5533 38 $ensure ? :
140497 5571 if (defined $id) { }
106 14 146003 $deep > 1 ? :
108 58215 29594 $deep ? :
114 0 1017 if $a != 1 and $a != @$k
115 57 960 $a == 1 ? :
119 873 9 defined(my $dummy = &has_path) ? :
124 0 565 if $a != 1 and $a != @$k
125 28 537 $a == 1 ? :
126 7 558 unless exists $pi->{$l}
130 530 28 if $map_s
137 0 12 if $a > 1
138 0 12 unless exists $pi->{$from}
139 2 10 if $attr->{$from}
147 1168 4633 $a == 1 ? :
153 0 12266 if $a != 1 and $a != @$k
154 397 11869 $a == 1 ? :
159 0 13 unless defined &Graph::AdjacencyMap::Light::has_path
161 5 8 $a == 1 ? :
162 2 11 unless exists $attr->{$l}