Branch Coverage

lib/Asset/Pack.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
152 1 2 if ($md > 0 and $fd <= $md)
167 0 3 if (@fail) { }
0 3 elsif (not @ok || -e $index_path) { }
2 1 elsif (@ok) { }
205 0 21 unless defined $libdir
231 0 3 unless $index
233 2 3 unless ref $$index{$key}
234 3 0 if (eval { do { $$index{$key}->isa('Path::Tiny') } })
258 0 3 if $path->is_dir
296 7 14 if (exists $$metadata{'VERSION'})
300 17 4 unless $variables
301 0 8 unless $variable =~ /\A[%\$\@]/
302 0 8 unless $variable =~ /\A[\@%\$]?[[:alpha:]_]/
303 0 8 if exists $$reserved{$variable}
305 3 5 if ($variable =~ /\A\@(.*$)/)
310 1 4 if ($variable =~ /\A\%(.*$)/)
315 4 0 if ($variable =~ /\A\$(.*$)/)