Branch Coverage

inc/Test/Requires.pm
Criterion Covered Total %
branch 9 18 50.0


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