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 45660 if $a != 1 and $a != @$k
35 8951 36709 $a == 1 ? :
36 11895 33765 if defined $pi->{$l}
40 25966 7799 if $map_s
51 11843 14634 unless $map_p
60 0 787 if grep((!defined($_)), @v)
65 174 263 $invert ? :
177 437 $unord ? :
78 0 27057 if grep((!defined($_)), @v)
93 0 10 if grep((!defined($_)), $u, $v)
102 32150 27700 $deep ? :
103 14 91967 $deep > 1 ? :
104 4755 38 $ensure ? :
87201 4793 defined $id ? :
106 14 91929 $deep > 1 ? :
108 32138 27674 $deep ? :
114 0 1009 if $a != 1 and $a != @$k
115 51 958 $a == 1 ? :
119 871 9 defined(my $dummy = &has_path) ? :
124 0 540 if $a != 1 and $a != @$k
125 22 518 $a == 1 ? :
126 7 533 unless exists $pi->{$l}
130 511 22 if $map_s
137 0 12 if $a > 1
138 0 12 unless exists $pi->{$from}
139 2 10 if $attr->{$from}
147 1145 4604 $a == 1 ? :
153 0 12203 if $a != 1 and $a != @$k
154 346 11857 $a == 1 ? :
159 0 13 unless defined &Graph::AdjacencyMap::Light::has_path
161 5 8 $a == 1 ? :
162 2 11 unless exists $attr->{$l}