Branch Coverage

blib/lib/App/AFNI/SiemensPhysio.pm
Criterion Covered Total %
branch 7 82 8.5


line true false branch
148 0 0 unless $self and $$self{$k}
184 0 0 unless $fname and open my $fh, '<', $fname
195 0 0 unless $values =~ s/^((?$pulsStart)|(?$respStart))\W*//
199 0 0 $+{$_} ? :
212 0 0 if /(.*):\W+(.*)/
215 0 0 if eof and not /^6003$/
232 0 0 if abs $newrate - $$self{'PhRate'} < 1e-05 and not $$self{'trustIdx'} =~ /All|Phys/i
237 0 0 if $$self{'VERB'}
245 0 0 unless $$self{'trustIdx'} =~ /All|Phys/i
288 0 0 unless -d $dicomdir
302 0 0 unless my(@v) = `$dcmcmd`
315 0 0 if $#allvals > 0
336 0 0 if $$self{'VERB'}
339 0 0 unless $$self{'trustIdx'} =~ /All|MR/i
365 0 0 unless $outfile
368 0 0 if ($$self{'prefix'})
371 0 0 unless -d $bn
379 0 0 if $$self{'VERB'}
448 0 0 if $runtype and $runtype =~ /none/i
455 0 0 if $acutalmatlab
458 0 0 if $ENV{'MATLABBIN'}
462 0 0 unless $$self{'dat'} and -e $$self{'dat'}{'resp'} and -e $$self{'dat'}{'resp'}
477 0 0 unless $runtype =~ /matlab|McRetroTs/g
488 0 0 unless $runtype =~ /matlab|McRetroTs/i
502 0 0 if ($runtype =~ /matlab/i) { }
0 0 elsif ($runtype =~ /McRetroTs/i) { }
508 0 0 if $runcmd
510 0 0 if ($runcmd and not -e 'oba.slibase.1D') { }
514 0 0 if $outputname
535 0 3 if $end <= $start
541 1 2 if abs $offby > $maxDiffSec
550 0 5 unless /^(?\d{2})(?\d{2})(?\d{2}\.\d+)$/
571 0 0 if $$self{'VERB'}
575 0 0 if $#pval < 0
584 0 0 unless $outname
585 0 0 if $#pvals < 1
587 0 0 unless open my $OH, '>', $outname
604 0 1 if $MRstart < $physStart
607 0 1 if $MRend > $physEnd
619 0 1 if $sIdxS != $sIdxE or $eIdxS != $eIdxE
644 0 0 if $s and $e