Branch Coverage

blib/lib/LaTeX/TikZ/Scope.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
91 4 228 if exists $$cache{$tag}
134 38 126 if ($type eq 'clip') { }
23 103 elsif ($type eq 'layer') { }
137 0 23 if defined $layer
146 83 62 @raw_mods ? :
148 42 41 if (@raw_mods and @body == 1 and $body[0] =~ /^\s*\\draw\b\s*([^\[].*)\s*$/)
156 4 34 $_ == $#clips && defined $mods_string ? :
163 37 108 if (not @clips and defined $mods_string)
168 23 122 if (defined $layer)
185 75 64 if ($my_tc->check($left)) { }
187 57 18 if ($my_tc->check($right)) { }
196 6 46 if ($_->type eq 'layer')
202 20 37 if (not $has_different_layers and @$common) { }
225 12 52 if ($my_tc->check($right)) { }
234 12 95 $rev ? :