Condition Coverage

blib/lib/Statistics/SDT.pm
Criterion Covered Total %
condition 24 61 39.3


and 3 conditions

line !l l&&!r l&&r condition
198 42 0 1 is_float($$self{$counts_dep{$_}[0]}) and is_float($$self{$counts_dep{$_}[1]})
219 0 0 21 is_float($$self{$trials_dep{$_}[0]}) and is_float($$self{$trials_dep{$_}[1]})
239 8 0 28 not defined $self->{$_} and defined $$self{$rates_dep{$_}[0]}
8 19 9 not defined $self->{$_} and defined $$self{$rates_dep{$_}[0]} and $$self{$rates_dep{$_}[1]}
376 0 0 0 is_float($self->{'signal_trials'}) and is_float($self->{'misses'})
391 0 0 0 is_float($self->{'signal_trials'}) and is_float($self->{'correct_rejections'})
409 0 0 11 defined $count and defined $trials
596 5 0 8 defined $m and $m >= 2
621 5 0 0 $hr == 1 and $far == 1
635 0 0 0 $hr == 1 and $far == 1
694 1 0 0 $h == 1 and $f == 1

or 2 conditions

line l !l condition
179 12 6 $self->{'method'} ||= 'smith'
180 10 8 $self->{'precision_s'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
412 0 0 11 not is_int($trials) or $trials == 0
621 5 0 0 $hr || $far
0 0 5 not $hr || $far or $hr == 1 and $far == 1
635 0 0 0 $hr || $far
0 0 0 not $hr || $far or $hr == 1 and $far == 1
694 1 0 0 $h || $f
0 0 1 not $h || $f or $h == 1 and $f == 1
893 2 0 4 !($p =~ /^ 0 ? [.] \d+ $/msx) || ($p < 0 || $p > 1)