blib/lib/Mock/Data.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 18 | 38.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 4 | 0 | 9 | @_ == 1 && ref $_[0] eq 'ARRAY' |
4 | 0 | 0 | @_ == 1 && ref $_[0] eq 'HASH' | |
89 | 0 | 0 | 14 | ref $self and ref($self)->isa("Mock::Data") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 0 | 72 | 0 | $self->generators->{$1} //= $gen |
144 | 137 | 37 | 0 | $self->{'_generator_cache'}{$name} ||= $self->{'generators'}{$name}->compile |
154 | 0 | 0 | 0 | $self->{'_generator_cache'}{$name} ||= $gen->compile |