Branch Coverage

blib/lib/App/Framework/Core.pm
Criterion Covered Total %
branch 89 174 51.1


line true false branch
167 0 26 if $class_debug
219 26 0 unless ($this->name)
226 26 0 if (exists $LOADED_MODULES{'Date::Manip'})
241 0 26 if $class_debug
314 0 460 if ($^O =~ /MSWin32/i)
316 0 0 unless $class->find_lib($module)
321 0 460 if $class_debug
330 275 185 if ($@) { }
185 0 elsif (defined $version) { }
332 0 275 if $class_debug
338 0 460 if $class_debug
357 0 54 unless ($pkg)
364 54 0 if ($loaded)
369 51 3 if (not scalar @{"${pkg}::ISA";}) { }
371 0 51 if $class_debug
376 0 3 if $class_debug
401 0 27 if $class_debug
402 0 27 if $class_debug
407 0 27 if $class_debug
413 0 27 if $class_debug
419 0 1 if $class_debug
423 0 1 unless $loaded
425 0 1 if $class_debug
426 0 1 if $class_debug
432 0 27 if $class_debug
436 0 27 unless $loaded
438 0 27 if $class_debug
439 0 27 if $class_debug
441 0 27 if $class_debug
442 0 27 if $class_debug
456 0 27 if $class_debug
457 0 27 if $class_debug
490 0 0 if (-f $file)
492 0 0 if (open my $fh, "<$file")
498 0 0 if ($line =~ /^\s*package\s+$module\s*;/)
506 0 0 if $found
539 0 0 unless (exists $libs{$base})
612 26 28 if (ref $this)
627 56 52 unless exists $inc{$path}
629 0 108 unless exists $inc{$path}
684 0 51 if $this->debug >= 5
696 0 130 if (exists $$features_href{$feature} or exists $$features_href{$feature_guess})
701 0 0 if (exists $$feature_args_href{$feat})
717 130 0 if ($personality)
727 130 275 if ($this->dynamic_load($module))
735 0 130 unless $loaded
737 0 130 unless $loaded
741 130 0 if ($loaded)
830 14 38 if (lc $name eq lc $feature)
875 978 0 if (exists $$features_href{$name}) { }
904 5 10 if (exists $$features_href{$name})
940 0 891 if (%args)
1021 328 570 unless @args
1031 74 824 if (exists $$feature_methods_href{$fn})
1094 270 0 if $label
1113 270 0 if $label
1186 36 0 if ($ok)
1203 0 68 if (exists $values{$key}) { }
1232 0 36 if (keys %args_clash)
1285 76 90 if (@$feature_options_aref)
1303 0 36 unless ($ret)
1502 58 42 if $sub
1520 0 26 if ($this->debug)
1522 0 0 unless ($package eq 'main')
1541 0 286 if ($@) { }
1579 239 21 unless $this->$field
1598 26 0 unless $this->$field_name
1629 63 202 if (exists $stash{$external_name})
1635 26 37 if ($type eq 'SCALAR')
1637 21 5 if (defined $alias)
1642 0 63 if ($type eq 'ARRAY')
1645 0 0 if (@alias)
1650 0 63 if ($type eq 'HASH') { }
37 26 elsif ($type eq 'CODE') { }
1652 0 0 if (%alias)
1659 37 0 if (defined &alias)
1709 501 717 if ref $fields{$field}
1714 16 701 if ($ix >= 0)
1726 16 0 if (defined $fields{$1}) { }
1744 16 20 if (keys %changed)
1772 0 0 if ($this->options->option('debug') >= $min_debug)
1800 0 0 if (not defined $level) { }
1816 0 0 if (not defined $level)
1849 0 0 if (defined $alias)
1852 0 0 if (@alias)
1855 0 0 if (%alias)
1858 0 0 if (defined &alias)