| blib/lib/Time/Strptime/Format.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 40 | 65.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 | 20 | 0 | $types_table->{'year'} and $types_table->{'month'} |
| 3 | 17 | 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 | 22 | 1 | $options ||= {} |
| 113 | 22 | 1 | $options->{'locale'} || 'C' |
| 0 | 23 | $options->{'strict'} || 0 | |
| 145 | 4 | 91 | $1 || '' |
| 146 | 67 | 28 | $3 || '' |
| 187 | 7 | 16 | $self->{'format_table'} || {} |
| 210 | 0 | 32 | $1 || '' |
| 211 | 18 | 14 | $3 || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 130 | 23 | 23 | 0 | $self->{'_parser'} ||= $self->_compile_format |
| 303 | 20 | 0 | 3 | defined $fixed_offset or $types_table->{'epoch'} |