Branch Coverage

blib/lib/LaTeX/TikZ/Scope.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
76 2 236 if exists $$cache{$tag}
91 199 141 if (@_) { }
112 269 10 unless $my_tc->check($body)
153 38 124 if ($type eq 'clip') { }
23 101 elsif ($type eq 'layer') { }
156 0 23 if defined $layer
165 81 60 @raw_mods ? :
167 40 41 if (@raw_mods and @body == 1 and $body[0] =~ /^\s*\\draw\b\s*([^\[].*)\s*$/)
175 4 34 $_ == $#clips && defined $mods_string ? :
182 37 104 if (not @clips and defined $mods_string)
187 23 118 if (defined $layer)
210 73 52 if ($my_tc->check($left)) { }
213 55 18 if ($my_tc->check($right)) { }
223 5 24 if ($_->type eq 'layer')
228 50 5 unless ($has_different_layers)
230 1 22 if ($_->type eq 'layer')
237 19 36 if (not $has_different_layers and @$common) { }
257 12 40 if ($my_tc->check($right)) { }
266 12 82 $rev ? :