Condition Coverage

blib/lib/Time/Str/Util.pm
Criterion Covered Total %
condition 9 27 33.3


and 3 conditions

line !l l&&!r l&&r condition
43 6 0 0 defined $ENV{'TZDIR'} and -d $ENV{'TZDIR'}
46 30 0 0 -d $dir and -f "$dir/UTC"
51 6 0 0 -d $macos and -f "$macos/UTC"
71 1 13 18 defined $string && $string =~ /$ValidName_Rx/
99 1 10 15 defined $string && $string =~ /$ValidPOSIX_Rx/
139 0 0 0 defined $tzdb_directory and -f "$tzdb_directory/UTC"
152 0 0 0 defined $tzdb_directory and valid_tzdb_timezone($tz)
175 0 0 0 defined $tzdb_directory and valid_tzdb_timezone($tz)

or 3 conditions

line l !l&&r !l&&!r condition
129 0 0 0 $tzdb_directory //= find_tzdb_directory()