Branch Coverage

blib/lib/Mock/Data/GeneratorSub.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
13 0 13 if (ref $coderef eq 'HASH')
14 0 0 unless $coderef->{'params'}
17 0 13 if (ref $class)
22 0 13 unless &Scalar::Util::reftype($coderef) eq 'CODE'
32 0 10 ref $p->[0] eq 'HASH' ? :
34 0 0 ref $_[0] eq 'HASH' ? :
0 10 if $named_p
37 9 1 unless @_ > 1
45 10 1 @_ ? :
52 4 0 unless @_ or @$params