Branch Coverage

blib/lib/Lab/Data/Analysis/TekTDS.pm
Criterion Covered Total %
branch 37 74 50.0


line true false branch
45 0 1 unless defined $option and ref $option eq "HASH"
46 1 0 unless exists $option->{'dropraw'}
47 1 0 unless exists $option->{'interpolate'}
48 1 0 unless exists $option->{'print_summary'}
73 6 15 if $str =~ /^\d+/u
76 0 1 if $DEBUG
82 0 1 if $DEBUG
85 2 34 if (exists $fseq->[$j]{'DAT:SOU'})
88 1 1 unless exists $a->{'RAW'}{'CHAN'}{$ch}
89 1 1 unless exists $a->{'CHAN'}{$ch}
95 0 36 if $DEBUG
97 25 11 if ($k =~ /^(DAT|WFMP|CURV)/u)
103 0 1 if $DEBUG > 2
104 0 1 if $option->{'print_summary'}
133 1 0 if ($a->{'RAW'}{'CHAN'}{$ch}{'WFMP:PT_F'} eq 'Y') { }
142 125 2375 unless defined $ymin and $y > $ymin
143 109 2391 unless defined $ymax and $y < $ymax
156 0 0 unless defined $ymin and $y > $ymin
157 0 0 unless defined $ymax and $y < $ymax
161 0 0 unless defined $ymin and $y > $ymin
162 0 0 unless defined $ymax and $y < $ymax
174 1 0 if ($option->{'interpolate'})
178 1 9 unless defined $hchan
184 0 1 if $option->{'dropraw'}
185 1 0 unless exists $event->{'ANALYZE'}
188 1 0 unless exists $event->{'ANALYZE'}{$stream}
198 0 10 if (ref $h ne "HASH")
204 0 10 if $x < $h->{'XMIN'} or $x > $h->{'XMAX'}
209 10 0 if (exists $h->{'Y'}) { }
254 0 0 if $k =~ /\?$/u
255 0 0 if $k eq "CURV"
273 0 1 if ($enc =~ /^ASC/iu) { }
277 0 1 unless (substr($dat, 0, 2) =~ /^#\d/u)
283 1 0 if ($wd == 1) { }
284 1 0 if ($enc =~ /^RPB/iu) { }
292 0 0 if ($enc =~ /RPB/iu) { }
298 0 0 if ($enc =~ /^S/iu) { }