blib/lib/Mock/Data/GeneratorSub.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 20 | 50.0 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 72 | if (ref $coderef eq "HASH") |
14 | 0 | 0 | unless $coderef->{'params'} |
17 | 0 | 72 | if (ref $class) |
22 | 0 | 72 | unless &Scalar::Util::reftype($coderef) eq "CODE" |
32 | 0 | 190 | ref $p->[0] eq 'HASH' ? : |
34 | 0 | 0 | ref $_[0] eq 'HASH' ? : |
0 | 190 | if $named_p | |
37 | 189 | 1 | unless @_ > 1 |
45 | 190 | 1 | @_ ? : |
52 | 38 | 0 | unless @_ or @$params |