Condition Coverage

blib/lib/Mock/Data.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
28 4 0 6 @_ == 1 && ref $_[0] eq 'ARRAY'
4 0 0 @_ == 1 && ref $_[0] eq 'HASH'
89 0 0 10 ref $new and ref($new)->isa('Mock::Data')
104 10 0 12 $name =~ /::([^:]+)$/ and not defined $self->generators->{$1}

or 3 conditions

line l !l&&r !l&&!r condition
144 1 3 0 $self->{'_generator_cache'}{$name} ||= $self->{'generators'}{$name}->compile
154 0 0 0 $self->{'_generator_cache'}{$name} ||= $gen->compile