Branch Coverage

blib/lib/Test/MockRandom.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
32 17 21 if (ref $_[0] eq 'Test::MockRandom') { }
47 44 3 unless $_ < 0
9 29 if grep {$_ >= 1 unless $_ < 0;} @data
48 25 4 @data ? :
57 10 28 if (ref $_[0] eq 'Test::MockRandom') { }
64 1 27 ref $_[0] ? :
69 33 5 if $@
90 3 10 unless @import_list
91 1 9 if @import_list == 1 and $import_list[0] eq ''
95 2 8 if (ref $tgt eq 'HASH') { }
98 1 3 unless grep {$sym eq $_;} 'rand', 'srand', 'oneish'
99 1 2 ref $$tgt{$sym} eq 'ARRAY' ? :
105 2 6 $tgt =~ /^__PACKAGE__$/ ? :
149 2 2 if (ref $custom eq 'HASH') { }
164 1 8 unless $self eq 'Test::MockRandom'
166 1 7 unless $pkg