Condition Coverage

lib/Weather/GHCN/Options.pm
Criterion Covered Total %
condition 32 36 88.8


and 3 conditions

line !l l&&!r l&&r condition
596 95 24 5 $_opt_obj->defined("active") and $_opt_obj->active eq $EMPTY
686 112 7 5 $_opt_obj->defined("state") and not $_opt_obj->state =~ / \A [[:alpha:]]{2} \Z /msux
689 121 2 1 $_opt_obj->partial and not $_opt_obj->defined("active")
695 91 24 9 $_opt_obj->range and $_opt_obj->active
706 114 7 3 $_opt_obj->gps and not $_opt_obj->gps =~ / \A [+-]? \d{1,3} [.] \d+ (?: [[:punct:]] | \s+ ) [+-]? \d{1,3} [.] \d+ \Z /msux
718 101 22 1 $report and not $report_abbrev{$report}
732 0 124 0 $refresh and not $refresh_abbrev{$refresh}
756 1 4 10 rng_valid($_opt_obj->fmonth) and rng_within($_opt_obj->fmonth, "1-12")
762 1 4 10 rng_valid($_opt_obj->fday) and rng_within($_opt_obj->fday, "1-31")

or 3 conditions

line l !l&&r !l&&!r condition
496 0 8 0 $merged_options{$k} //= $v
503 247 700 2153 $merged_options{$k} //= $v
600 14 12 98 $_opt_obj->fmonth or $_opt_obj->fday