Branch Coverage

blib/lib/Test/Requires.pm
Criterion Covered Total %
branch 16 20 80.0


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