blib/lib/Time/Strptime/Format.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 40 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
16 | 4 | 0 | 0 | exists $ENV{'PERL_TIME_STRPTIME_DEBUG'} && $ENV{'PERL_TIME_STRPTIME_DEBUG'} |
253 | 0 | 3 | 21 | $types_table->{'year'} and $types_table->{'month'} |
3 | 21 | 0 | $types_table->{'year'} and $types_table->{'month'} and $types_table->{'day'} | |
0 | 4 | 0 | $types_table->{'year'} and $types_table->{'month'} | |
0 | 3 | 0 | $types_table->{'year'} and $types_table->{'day365'} | |
315 | 20 | 8 | 0 | $types_table->{'hour12'} and $types_table->{'pm'} |
line | l | !l | condition |
---|---|---|---|
104 | 26 | 1 | $options ||= {} |
113 | 26 | 1 | $options->{'locale'} || 'C' |
0 | 27 | $options->{'strict'} || 0 | |
145 | 4 | 103 | $1 || '' |
146 | 73 | 34 | $3 || '' |
187 | 7 | 20 | $self->{'format_table'} || {} |
210 | 0 | 56 | $1 || '' |
211 | 34 | 22 | $3 || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
130 | 27 | 27 | 0 | $self->{'_parser'} ||= $self->_compile_format |
303 | 20 | 3 | 4 | defined $fixed_offset or $types_table->{'epoch'} |