Branch Coverage

blib/lib/Geo/Weather.pm
Criterion Covered Total %
branch 1 174 0.5


line true false branch
127 1 0 unless $city
130 0 0 if ($city =~ /^\d+$/) { }
153 0 0 unless $$self{'results'}
162 0 0 unless $$self{'results'}
174 0 0 if length $report_hdr_color < 7
175 0 0 if length $report_cond_color < 7
176 0 0 if length $report_result_color < 7
190 0 0 if $data =~ /^\|{4}/
200 0 0 unless $$self{'results'}
220 0 0 unless $$self{'results'}
227 0 0 if ($$results{'heat'} ne 'N/A')
254 0 0 if ($$results{'wind'})
288 0 0 if ($$results{'baro'})
300 0 0 if ($$results{'baro'})
323 0 0 unless $$self{'results'}
325 0 0 if defined $table_size and length $table_size > 0
328 0 0 if $$self{'debug'} > 3
346 0 0 if /href/gi
347 0 0 if (/
0 0 elsif (m[
]i) { } 352 0 0 if (//) { } 0 0 elsif ($strip) { } 388 0 0 unless $page 392 0 0 if $mode eq 'zip' 393 0 0 if $mode eq 'cst' 394 0 0 unless $$self{'port'} eq '80' 402 0 0 if $$self{'debug'} 407 0 0 if $$self{'proxy'} and $proxy_user 409 0 0 if $$self{'timeout'} 412 0 0 if $$self{'proxy'} 416 0 0 unless ($response->is_success) 417 0 0 if $$self{'debug'} 424 0 0 if ($mode eq 'cst') 427 0 0 if $line eq '' 430 0 0 if ($line =~ s[.+URL=.+/(.+)">][$1]) 432 0 0 if $$self{'debug'} > 2 442 0 0 if $line eq '' 443 0 0 if $line =~ /