Condition Coverage

blib/lib/Geo/METARTAF.pm
Criterion Covered Total %
condition 0 176 0.0


and 3 conditions

line !l l&&!r l&&r condition
228 0 0 0 $self->{'taf'} and $tok[0] eq "AMD"
253 0 0 0 not $self->{'taf'} and $tok[0] =~ /^AUTO|CC[A-Z]$/
298 0 0 0 @tok and ($from_day, $from_hour, $to_day, $to_hour) = $tok[0] =~ m[^(\d\d)(\d\d)/(\d\d)(\d\d)$]
299 0 0 0 $self->{'taf'} and $from_hour >= 0
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24 and $to_hour >= 0
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24 and $to_hour >= 0 and $to_hour <= 24
357 0 0 0 @tok and ($from_day, $from_hour, $to_day, $to_hour) = $tok[0] =~ m[^(\d\d)(\d\d)/(\d\d)(\d\d)$]
358 0 0 0 $self->{'taf'} and $from_hour >= 0
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24 and $to_hour >= 0
0 0 0 $self->{'taf'} and $from_hour >= 0 and $from_hour <= 24 and $to_hour >= 0 and $to_hour <= 24
380 0 0 0 @tok and ($fromdir, $todir) = $tok[0] =~ /^(\d\d\d)V(\d\d\d)$/
401 0 0 0 $punit and $punit =~ /^I/
414 0 0 0 $tok[0] eq "ALL" and $tok[1] eq "RWY"
0 0 0 $tok[0] eq "RWY" and $tok[1] =~ /\d\d[LRC]?/
446 0 0 0 @tok and ($visibility) = $tok[0] =~ m[^(\d/\d)SM$]
456 0 0 0 defined $lt and $lt eq "M"
457 0 0 0 defined $lt and $lt eq "P"
469 0 0 0 $rlt and $rlt eq "M"
470 0 0 0 $rlt and $rlt eq "P"
471 0 0 0 $vlt and $vlt =~ /M/
472 0 0 0 $vlt and $vlt =~ /P/
480 0 0 0 defined $deg and "$deg$w" eq "+FC"
487 0 0 0 defined $deg and $deg eq "VC"
0 0 0 defined $deg and $deg eq "VC" and $self->{'taf'}
493 0 0 0 $amt eq "///" and $height eq "///"
503 0 0 0 defined $d and defined $n
615 0 0 0 $self->[0] ne "VRB" and $self->[0] == 0
0 0 0 $self->[0] ne "VRB" and $self->[0] == 0 and $self->[1] == 0
814 0 0 0 $shower and $wt{$t} =~ /s$/
822 0 0 0 @out and $shower

or 2 conditions

line l !l condition
62 0 0 $self->{'decode_language'} ||= "Geo::METARTAF::EN"
330 0 0 $self->{'visibility_dist'} ||= ">10000"
331 0 0 $self->{'visibility_units'} ||= "m"
432 0 0 $self->{'visibility_units'} ||= "metres"
440 0 0 $self->{'visibility_units'} ||= "kilometres"
450 0 0 $self->{'visibility_units'} ||= "Statute Miles"
459 0 0 $self->{'visibility_units'} ||= "Statute Miles"

or 3 conditions

line l !l&&r !l&&!r condition
216 0 0 0 $t eq "METAR" or $t eq "SPECI"
293 0 0 0 $t eq "TEMPO" or $t eq "BECMG"
0 0 0 $t eq "NOSIG" or $t eq "NSW"
391 0 0 0 $self->{'wind_dir'} ||= $wdir
392 0 0 0 $self->{'wind_speed'} ||= $spd
393 0 0 0 $self->{'wind_gusting'} ||= $gust
394 0 0 0 $self->{'wind_units'} ||= $unit
401 0 0 0 $u eq "A" or $punit and $punit =~ /^I/
407 0 0 0 $self->{'pressure'} ||= $p
408 0 0 0 $self->{'pressure_units'} ||= $u
431 0 0 0 $self->{'visibility_dist'} ||= $visibility
439 0 0 0 $self->{'visibility_dist'} ||= $visibility
449 0 0 0 $self->{'visibility_dist'} ||= $visibility
458 0 0 0 $self->{'visibility_dist'} ||= $mvisibility
461 0 0 0 $mvisibility =~ m[M|/] or $mvisibility =~ /^1$/
504 0 0 0 $self->{'temp'} ||= $t
505 0 0 0 $self->{'dewpoint'} ||= $d
566 0 0 0 $d == 1 or $d == 21
0 0 0 $d == 1 or $d == 21 or $d == 31
0 0 0 $d == 2 or $d == 22
0 0 0 $d == 3 or $d == 23
797 0 0 0 $t eq "VC" or $t eq "VT"