Branch Coverage

blib/lib/Template/Sandbox/Library.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
22 8 5 if @_
32 1 25 unless $function_library{$pkg}
45 6 28 if $word =~ s/^!//
47 17 17 if ($word =~ s/^://) { }
51 7 10 if (exists $$tags{$word}) { }
9 1 elsif ($word eq 'all') { }
64 3 13 if ($delete) { }
75 3 14 if ($delete) { }
92 1 54 unless $$library{$name}
95 53 1 unless exists $$existing{$name}
99 21 2 if @functions