Branch Coverage

inc/Test/Requires.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
19 59 44 if (@_ == 1 and ref $_[0] and ref $_[0] eq 'HASH') { }
32 0 103 if $mod eq "Test::Requires"
33 0 103 if (@_ != 3)
39 59 44 if (my $e = $@)
43 59 0 if (not defined $builder->has_plan) { }
0 0 elsif ($builder->has_plan eq 'no_plan') { }
47 0 0 if ($builder->can("parent") and $builder->parent)
55 0 0 if ($builder->can("parent") and $builder->parent)
61 59 0 if ($e =~ /^Can't locate/) { }
0 0 elsif ($e =~ /^Perl (\S+) required/) { }
0 0 elsif ($e =~ /^\Q$mod\E version (\S+) required/) { }