Branch Coverage

blib/lib/Math/Random/AcceptReject.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
89 0 0 if defined $_
101 0 0 unless (defined $args{'ymax'})
104 0 0 unless (ref $args{'random'} eq 'CODE')
107 0 0 unless (defined $args{'pdf'})
110 0 0 unless (ref $args{'pdf'})
114 0 0 if ($@ or not defined $args{'pdf'})
115 0 0 $@ ? :
121 0 0 if (ref($args{'pdf'}) =~ /^Math::Symbolic/)
123 0 0 unless ref $sub eq 'CODE'
127 0 0 unless (ref $args{'pdf'} eq 'CODE')
140 0 0 if ($$self{'xmin'} >= $$self{'xmax'})
168 0 0 if (ref $rnd eq 'CODE') { }
170 0 0 unless @$cache
175 0 0 unless @$cache