Condition Coverage

blib/lib/Geo/TAF.pm
Criterion Covered Total %
condition 34 122 27.8


and 3 conditions

line !l l&&!r l&&r condition
199 0 0 3 @tok and ($from, $to) = $tok[0] =~ /^(\d\d)(\d\d)$/
200 0 0 3 $$self{'taf'} and $from >= 0
0 0 3 $$self{'taf'} and $from >= 0 and $from <= 24
0 0 3 $$self{'taf'} and $from >= 0 and $from <= 24 and $to >= 0
0 0 3 $$self{'taf'} and $from >= 0 and $from <= 24 and $to >= 0 and $to <= 24
250 0 1 0 @tok and ($from, $to) = $tok[0] =~ /^(\d\d)(\d\d)$/
251 0 0 0 $$self{'taf'} and $from >= 0
0 0 0 $$self{'taf'} and $from >= 0 and $from <= 24
0 0 0 $$self{'taf'} and $from >= 0 and $from <= 24 and $to >= 0
0 0 0 $$self{'taf'} and $from >= 0 and $from <= 24 and $to >= 0 and $to <= 24
271 1 2 0 @tok and ($fromdir, $todir) = $tok[0] =~ /^(\d\d\d)V(\d\d\d)$/
291 1 0 0 $punit and $punit =~ /^I/
319 0 0 0 @tok and ($viz) = $tok[0] =~ m[^(\d/\d)SM$]
339 0 0 0 $rlt and $rlt eq 'M'
340 0 0 0 $rlt and $rlt eq 'P'
341 0 0 0 $vlt and $vlt eq 'M'
342 0 0 0 $vlt and $vlt eq 'P'
351 5 0 0 $amt eq '///' and $height eq '///'
358 0 0 1 defined $d and defined $n
597 1 0 0 $t eq '+' and $$self[0] eq 'FC'
613 0 0 1 @out and $shower

or 2 conditions

line l !l condition
52 0 2 $$self{'chunk_package'} ||= 'Geo::TAF::EN'
229 0 0 $$self{'viz_dist'} ||= '>10000'
230 0 0 $$self{'viz_units'} ||= 'm'
305 2 2 $$self{'viz_units'} ||= 'm'
313 0 0 $$self{'viz_units'} ||= 'Km'
323 0 0 $$self{'viz_units'} ||= 'miles'
331 0 0 $$self{'viz_units'} ||= 'Stat. Miles'

or 3 conditions

line l !l&&r !l&&!r condition
195 2 1 18 $t eq 'TEMPO' or $t eq 'BECMG'
0 0 18 $t eq 'NOSIG' or $t eq 'NSW'
281 1 2 0 $$self{'wind_dir'} ||= $wdir
282 1 2 0 $$self{'wind_speed'} ||= $spd
283 0 0 3 $$self{'wind_gusting'} ||= $gust
284 1 2 0 $$self{'wind_units'} ||= $unit
291 0 0 1 $u eq 'A' or $punit and $punit =~ /^I/
297 0 1 0 $$self{'pressure'} ||= $p
298 0 1 0 $$self{'pressure_units'} ||= $u
304 2 2 0 $$self{'viz_dist'} ||= $viz
312 0 0 0 $$self{'viz_dist'} ||= $viz
322 0 0 0 $$self{'viz_dist'} ||= $viz
330 0 0 0 $$self{'viz_dist'} ||= $mviz
359 0 1 0 $$self{'temp'} ||= $t
360 0 1 0 $$self{'dewpoint'} ||= $d