Branch Coverage

blib/lib/App/AFNI/SemainsPhysio.pm
Criterion Covered Total %
branch 7 74 9.4


line true false branch
120 0 0 unless $self and $$self{$k}
156 0 0 unless $fname and open my $fh, '<', $fname
167 0 0 unless $values =~ s/^((?$pulsStart)|(?$respStart))\W*//
171 0 0 $+{$_} ? :
184 0 0 if /(.*):\W+(.*)/
187 0 0 if eof and not /^6003$/
203 0 0 if abs $newrate - $$self{'PhRate'} < 1e-05
206 0 0 if $$self{'VERB'}
257 0 0 unless -d $dicomdir
271 0 0 unless my(@v) = `$dcmcmd`
284 0 0 if $#allvals > 0
305 0 0 if $$self{'VERB'}
334 0 0 unless $outfile
337 0 0 if ($$self{'prefix'})
340 0 0 unless -d $bn
348 0 0 if $$self{'VERB'}
401 0 0 if $runtype and $runtype =~ /none/i
404 0 0 unless $$self{'dat'} and -e $$self{'dat'}{'resp'} and -e $$self{'dat'}{'resp'}
419 0 0 unless $runtype =~ /matlab|McRetroTs/g
428 0 0 unless $runtype =~ /matlab|McRetroTs/i
440 0 0 if ($runtype =~ /matlab/i) { }
0 0 elsif ($runtype =~ /McRetroTs/i) { }
446 0 0 if $runcmd
448 0 0 if ($runcmd and not -e 'oba.slibase.1D') { }
452 0 0 if $outputname
473 0 3 if $end <= $start
479 1 2 if abs $offby > $maxDiffSec
488 0 5 unless /^(?\d{2})(?\d{2})(?\d{2}\.\d+)$/
509 0 0 if $$self{'VERB'}
513 0 0 if $#pval < 0
522 0 0 unless $outname
523 0 0 if $#pvals < 1
525 0 0 unless open my $OH, '>', $outname
542 0 1 if $MRstart < $physStart
545 0 1 if $MRend > $physEnd
557 0 1 if $sIdxS != $sIdxE or $eIdxS != $eIdxE
580 0 0 if $s and $e