Condition Coverage

blib/lib/Weather/Underground.pm
Criterion Covered Total %
condition 58 96 60.4


and 3 conditions

line !l l&&!r l&&r condition
295 2 0 0 $parameters{'cache_max_age'} and $parameters{'cache_file'}
476 188 3 136 $$token[0] eq 'T' and not $$token[2]
35 76 80 $state{'interesting'} and $$token[0] eq 'S'
111 61 19 $state{'interesting'} and $$token[0] eq 'S' and uc $$token[1] eq 'TR'
92 42 38 $$token[0] eq 'S' and uc $$token[1] eq 'TD'
134 2 36 $$token[0] eq 'S' and uc $$token[1] eq 'TD' and $state{'incontent'}
101 16 19 not $state{'interesting'} and $$token[0] eq 'S'
117 17 2 not $state{'interesting'} and $$token[0] eq 'S' and uc $$token[1] eq 'TABLE'
33 1 1 not $state{'interesting'} and $$token[0] eq 'S' and uc $$token[1] eq 'TABLE' and $$token[2]{'border'} == 1
47 87 1 $$token[0] eq 'E' and uc $$token[1] eq 'TABLE'
134 0 1 $$token[0] eq 'E' and uc $$token[1] eq 'TABLE' and $state{'interesting'}
607 243 9 190 $$token[0] eq 'T' and not $$token[2]
252 190 0 $$token[0] eq 'T' and not $$token[2] and $state{'interesting'}
0 319 123 not $state{'interesting'} and $$token[0] eq 'S'
319 122 1 not $state{'interesting'} and $$token[0] eq 'S' and uc $$token[1] eq 'TABLE'
441 0 0 $state{'interesting'} and $$token[0] eq 'S'
441 0 0 $state{'interesting'} and $$token[0] eq 'S' and uc $$token[1] eq 'TR'
441 0 0 $state{'incontent'} and $$token[0] eq 'E'
441 0 0 $state{'incontent'} and $$token[0] eq 'E' and uc $$token[1] eq 'TR'
441 0 0 $state{'interesting'} and $$token[0] eq 'E'
441 0 0 $state{'interesting'} and $$token[0] eq 'E' and uc $$token[1] eq 'TABLE'
764 1 0 0 not length $temperature_celsius and length $temperature_fahrenheit
1 0 0 not length $temperature_fahrenheit and length $temperature_celsius
774 1 0 0 not length $dewpoint_celsius and length $dewpoint_fahrenheit
1 0 0 not length $dewpoint_fahrenheit and length $dewpoint_celsius
784 1 0 0 not length $visibility_miles and length $visibility_kilometers
1 0 0 not length $visibility_kilometers and length $visibility_miles
797 1 0 0 not length $wind_milesperhour and length $wind_kilometersperhour
1 0 0 not length $wind_kilometersperhour and length $wind_milesperhour

or 3 conditions

line l !l&&r !l&&!r condition
295 0 0 2 $parameters{'cache_max_age'} or $parameters{'cache_file'}
542 1 17 1 $state{'inheader'} || $state{'incontent'}
648 0 0 0 $state{'inheader'} || $state{'incontent'}