Branch Coverage

blib/lib/POSIX/strftime/Compiler.pm
Criterion Covered Total %
branch 6 32 18.7


line true false branch
33 0 4 if (eval { do { require Time::TZOffset; 1 } })
109 0 0 exists $ENV{'TZ'} && $ENV{'TZ'} =~ /^(?:GMT|UTC)$/ ? :
116 0 0 if exists $ENV{'TZ'} and $ENV{'TZ'} =~ /^(?:GMT|UTC)$/
127 0 0 unless $offset2zone[$i] eq $diff1 and $offset2zone[$i + 3] eq $diff2
128 0 0 $diff2 eq $diff ? :
131 0 0 if ($diff =~ /^([+-])(\d\d)$/)
132 0 0 $1 eq '-' ? :
150 0 0 $year % 4 == 0 && ($year % 100 != 0 || $year % 400 == 0) ? :
156 0 0 $t[5] < 0 ? :
160 0 0 if ($days < 0) { }
167 0 0 if ($d >= 0)
311 2 0 if (exists $FORMAT_CHARS{$1} and not exists $SPRINTF_CHARS{$1})
315 0 1 unless ($disable_sprintf)
336 0 1 if ($need9char)
352 0 1 if $@
353 0 1 wantarray ? :