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'})
244 0 26 if $class_debug
317 0 460 if ($^O =~ /MSWin32/i)
319 0 0 unless $class->find_lib($module)
324 0 460 if $class_debug
333 275 185 if ($@) { }
185 0 elsif (defined $version) { }
335 0 275 if $class_debug
341 0 460 if $class_debug
360 0 54 unless ($pkg)
367 54 0 if ($loaded)
372 51 3 if (not scalar @{"${pkg}::ISA";}) { }
374 0 51 if $class_debug
379 0 3 if $class_debug
404 0 27 if $class_debug
405 0 27 if $class_debug
410 0 27 if $class_debug
416 0 27 if $class_debug
422 0 1 if $class_debug
426 0 1 unless $loaded
428 0 1 if $class_debug
429 0 1 if $class_debug
435 0 27 if $class_debug
439 0 27 unless $loaded
441 0 27 if $class_debug
442 0 27 if $class_debug
444 0 27 if $class_debug
445 0 27 if $class_debug
459 0 27 if $class_debug
460 0 27 if $class_debug
493 0 0 if (-f $file)
495 0 0 if (open my $fh, "<$file")
501 0 0 if ($line =~ /^\s*package\s+$module\s*;/)
509 0 0 if $found
542 0 0 unless (exists $libs{$base})
615 26 28 if (ref $this)
630 56 52 unless exists $inc{$path}
632 0 108 unless exists $inc{$path}
687 0 51 if $this->debug >= 5
699 0 130 if (exists $features_href->{$feature} or exists $features_href->{$feature_guess})
704 0 0 if (exists $feature_args_href->{$feat})
720 130 0 if ($personality)
730 130 275 if ($this->dynamic_load($module))
738 0 130 unless $loaded
740 0 130 unless $loaded
744 130 0 if ($loaded)
833 14 38 if (lc $name eq lc $feature)
878 978 0 if (exists $features_href->{$name}) { }
907 5 10 if (exists $features_href->{$name})
943 0 891 if (%args)
1024 328 570 unless @args
1034 74 824 if (exists $feature_methods_href->{$fn})
1097 270 0 if $label
1116 270 0 if $label
1189 36 0 if ($ok)
1206 0 68 if (exists $values{$key}) { }
1235 0 36 if (keys %args_clash)
1288 76 90 if (@$feature_options_aref)
1306 0 36 unless ($ret)
1505 58 42 if $sub
1523 0 26 if ($this->debug)
1525 0 0 unless ($package eq 'main')
1544 0 286 if ($@) { }
1582 239 21 unless $this->$field
1601 26 0 unless $this->$field_name
1632 63 202 if (exists $stash{$external_name})
1638 26 37 if ($type eq 'SCALAR')
1640 21 5 if (defined $alias)
1645 0 63 if ($type eq 'ARRAY')
1648 0 0 if (@alias)
1653 0 63 if ($type eq 'HASH') { }
37 26 elsif ($type eq 'CODE') { }
1655 0 0 if (%alias)
1662 37 0 if (defined &alias)
1712 501 717 if ref $fields{$field}
1717 16 701 if ($ix >= 0)
1729 16 0 if (defined $fields{$1}) { }
1747 16 20 if (keys %changed)
1775 0 0 if ($this->options->option('debug') >= $min_debug)
1803 0 0 if (not defined $level) { }
1819 0 0 if (not defined $level)
1852 0 0 if (defined $alias)
1855 0 0 if (@alias)
1858 0 0 if (%alias)
1861 0 0 if (defined &alias)