Condition Coverage

blib/lib/Geo/WeatherNWS.pm
Criterion Covered Total %
condition 46 83 55.4


and 3 conditions

line !l l&&!r l&&r condition
110 0 1 12 defined $F and defined $wind_speed_mph
118 8 1 3 $F <= 50 and $wind_speed_mph > 3
138 0 0 10 defined $F and defined $rh
547 92 0 8 $column == 1 and $Line =~ m[^\d{4}/\d{2}/\d{2}$]
551 92 0 8 $column == 2 and $Line =~ /^\d{2}:\d{2}$/
559 65 27 8 $Line =~ /^([A-Z][A-Z0-9]{3})/ and not $have_icao_code
609 6 0 0 $Winddir <= 67.5 and $Winddir >= 22.5
6 0 0 $Winddir <= 112.5 and $Winddir >= 67.5
6 0 0 $Winddir <= 157.5 and $Winddir >= 112.5
6 0 0 $Winddir <= 202.5 and $Winddir >= 157.5
0 0 6 $Winddir <= 247.5 and $Winddir >= 202.5
0 0 0 $Winddir <= 292.5 and $Winddir >= 247.5
0 0 0 $Winddir <= 337.5 and $Winddir >= 292.5
903 0 7 0 $Remark and $Remark >= 800

or 2 conditions

line l !l condition
327 1 8 ref $Proto || $Proto || 'Geo::WeatherNWS'

or 3 conditions

line l !l&&r !l&&!r condition
559 6 0 63 $Line =~ / (BR|TS|MI|PR|BC|DR|BL|SH|FZ|DZ|RA|SN|SG|IC|PE|PL|GR|GS|UP|FG|FU|VA|DU|SA|HZ|PY|PO|SQ|FC|SS) ([A-Z])* /x or $Line =~ /^VC([A-Z])*/
6 0 63 $Line =~ / (BR|TS|MI|PR|BC|DR|BL|SH|FZ|DZ|RA|SN|SG|IC|PE|PL|GR|GS|UP|FG|FU|VA|DU|SA|HZ|PY|PO|SQ|FC|SS) ([A-Z])* /x or $Line =~ /^VC([A-Z])*/ or $Line =~ /[\+\-]VC([A-Z])*/
0 0 63 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/
0 0 63 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/ or $Line =~ /^(CLR)/
0 2 61 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/ or $Line =~ /^(CLR)/ or $Line =~ /^(FEW)/
2 2 59 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/ or $Line =~ /^(CLR)/ or $Line =~ /^(FEW)/ or $Line =~ /^(SCT[0-9])/
4 1 58 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/ or $Line =~ /^(CLR)/ or $Line =~ /^(FEW)/ or $Line =~ /^(SCT[0-9])/ or $Line =~ /^(BKN[0-9])/
3 6 52 $Line =~ /^(VV[0-9])/ or $Line =~ /^(SKC[0-9])/ or $Line =~ /^(CLR)/ or $Line =~ /^(FEW)/ or $Line =~ /^(SCT[0-9])/ or $Line =~ /^(BKN[0-9])/ or $Line =~ /^(OVC[0-9])/
8 0 44 $Line =~ m[^([0-9][0-9]/[0-9][0-9])] or $Line =~ m[^(M[0-9][0-9]/)]
8 0 44 $Line =~ m[^([0-9][0-9]/[0-9][0-9])] or $Line =~ m[^(M[0-9][0-9]/)] or $Line =~ m[^(M[0-9][0-9]/M[0-9][0-9])]
0 0 44 $Line =~ m[^([0-9][0-9]/[0-9][0-9])] or $Line =~ m[^(M[0-9][0-9]/)] or $Line =~ m[^(M[0-9][0-9]/M[0-9][0-9])] or $Line =~ m[^([0-9][0-9]/M[0-9][0-9])]
609 2 0 6 $Winddir <= 22.5 or $Winddir >= 337.5
899 0 0 7 not defined $Remark or $Remark eq ''