Branch Coverage

blib/lib/DateTime/Ordinal.pm
Criterion Covered Total %
branch 43 74 58.1


line true false branch
74 0 0 $_[1] ? :
76 7 1 $_[1] ? :
78 0 0 $_[1] ? :
82 0 0 $_[1] ? :
85 3 0 $_[1] ? :
86 0 0 $_[1] ? :
87 2 0 $_[1] ? :
88 0 0 $_[1] ? :
89 0 0 $_[1] ? :
90 6 0 $_[1] ? :
91 3 0 $_[1] ? :
111 0 0 $_[1] ? :
125 0 0 $_[1] ? :
192 0 5 if $args{'sub_format'}
218 4 0 $self->can($1) ? :
35 0 $strftime_patterns{$3} ? :
0 0 $5 ? :
35 0 $3 ? :
4 35 $1 ? :
222 20 0 unless wantarray
234 0 0 $_[3] ? :
242 511 340 $sub_format{$ordinal or ''} && $val ? :
246 134 44 $_[0] =~ /(?<!1)([123])$/ ? :
0 178 $_[1] ? :
250 191 184 $_[1] ? :
253 24 382 if ($trip[1] > 1) { }
366 16 elsif ($trip[0] or $trip[1]) { }
255 22 24 $string ? :
22 24 $string ? :
46 2 if $trip[$_]
262 0 6 $ord != 0 ? :
8 6 $string ? :
14 392 if $trip[2]
273 10 11 $ns =~ /and/ ? :
2 4 $o == 0 ? :
21 6 $ns ? :
27 4 if $h