Branch Coverage

blib/lib/Bio/SDRS.pm
Criterion Covered Total %
branch 7 138 5.0


line true false branch
162 0 1 if ($class ne $pkg)
190 0 1 exists $ENV{'TMPDIR'} ? :
192 0 1 if (exists $ENV{'USER'})
208 0 1 if (not $$self{'DEBUG'} and $$self{'TMP_CREATED'} and $$self{'STATE'} eq 'calculated')
287 0 1 unless $type
288 0 1 unless $type =~ /^$pkg$/
292 1 0 if (not exists $component{$name}) { }
0 0 elsif (not exists $$self{$name}) { }
0 0 elsif (defined $_[0]) { }
302 0 0 if ($name eq 'MULTIPLE' and $$self{'MULTIPLE'} <= 1)
306 0 0 if ($name eq 'LDOSE' and $$self{'LDOSE'} <= 0)
310 0 0 if ($name eq 'HDOSE' and $$self{'HDOSE'} <= $$self{'LDOSE'})
314 0 0 if ($name eq 'STEP' and $$self{'STEP'} <= 0)
318 0 0 if ($name eq 'MAXPROC' and $$self{'MAXPROC'} > 64 || $$self{'MAXPROC'} < 1)
322 0 0 if ($name eq 'TRIM' and $$self{'TRIM'} < 0 || $$self{'TRIM'} > 1)
327 0 0 if ($name eq 'SIGNIFICANCE' and $$self{'SIGNIFICANCE'} <= 0 || $$self{'SIGNIFICANCE'} >= 1)
345 0 0 if (scalar @_ == 0) { }
353 0 0 if ($dose < $dose1)
377 0 0 if (exists $$self{'RESPONSES'}{$assay})
381 0 0 if (scalar @{$$self{'DOSES'};} == 0)
386 0 0 if ($nresp != $ndoses)
410 0 0 if $$self{'STATE'} eq 'calculated'
439 0 0 if $count >= $assayNum
447 0 0 if ($pid = fork) { }
0 0 elsif (defined $pid) { }
448 0 0 if $$self{'DEBUG'}
454 0 0 unless open ECOUT, ">$file"
465 0 0 if ($dose - $last_dose > $$self{'STEP'})
468 0 0 if ($icount++ % $$self{'MAXPROC'} == $iproc)
483 0 0 if ($? != 0)
499 0 0 unless open IN, "<$infile"
506 0 0 if (defined $expressedAssays{$assay})
540 0 0 if ($max >= $$self{'CUTOFF'}) { }
551 0 0 if ($d >= 0) { }
552 0 0 if ($a != 0) { }
558 0 0 if ($a != 0) { }
612 0 0 if ($$self{'STATE'} ne 'calculated')
616 0 0 if (not defined $dose) { }
620 0 0 if (not exists $$self{'SORTED_DATA'}{$dose}) { }
641 0 0 if ($$self{'STATE'} ne 'calculated')
645 0 0 if (not defined $dose) { }
649 0 0 if (not exists $$self{'PVAL_DATA'}{$dose}) { }
692 0 0 unless defined $precision
693 0 0 if ($$self{'STATE'} ne 'calculated')
696 0 0 if (not defined $assay) { }
700 0 0 unless (exists $$self{'EC50DATA'}{$assay})
705 0 0 if (not defined $property) { }
709 0 0 if (not exists $$assaydata{$property}) { }
715 0 0 if ($ret ne '' and $ret != int $ret)
726 0 0 if (-d $$self{'TMPDIR'} and -w $$self{'TMPDIR'})
729 0 0 if (-d $$self{'TMPDIR'})
732 0 0 if (-w $$self{'TMPDIR'})
733 0 0 unless unlink $$self{'TMPDIR'}
752 0 0 if $dose == $ec50
753 0 0 if ($current >= $$self{'CUTOFF'}) { }
755 0 0 if $off_flag == 1
757 0 0 if ($seen == 1)
762 0 0 if ($off_flag == 0)
768 0 0 if $seen == 1
769 0 0 if $current >= $$self{'CUTOFF'}
778 0 0 if (@$range >= 2) { }
832 0 0 if $stdev eq 'NaN' or $stdev < $cutoff
836 0 0 if ($pam eq 'a') { }
0 0 elsif ($pam eq 'b') { }
839 0 0 if $l <= 0
846 0 0 if $l <= 0
869 0 0 if (defined $echo and $echo)
873 0 0 if ($status != 0)
884 0 0 if (substr($mesg, -1, 1) ne "\n")