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
683 96 24 5 $_opt_obj->defined("active") and $_opt_obj->active eq $EMPTY
773 113 7 5 $_opt_obj->defined("state") and not $_opt_obj->state =~ / \A [[:alpha:]]{2} \Z /msux
776 122 2 1 $_opt_obj->partial and not $_opt_obj->defined("active")
782 92 24 9 $_opt_obj->range and $_opt_obj->active
793 115 7 3 $_opt_obj->gps and not $_opt_obj->gps =~ / \A [+-]? \d{1,3} [.] \d+ (?: [[:punct:]] | \s+ ) [+-]? \d{1,3} [.] \d+ \Z /msux
805 102 22 1 $report and not $report_abbrev{$report}
819 0 125 0 $refresh and not $refresh_abbrev{$refresh}
843 1 4 10 rng_valid($_opt_obj->fmonth) and rng_within($_opt_obj->fmonth, "1-12")
849 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
583 0 9 0 $merged_options{$k} //= $v
590 249 705 2171 $merged_options{$k} //= $v
687 14 12 99 $_opt_obj->fmonth or $_opt_obj->fday