Branch Coverage

blib/lib/Time/Piece/Adaptive.pm
Criterion Covered Total %
branch 2 44 4.5


line true false branch
76 2 0 if (exists $_special_exports{$method}) { }
93 0 1 if (delete $params{':override'}) { }
133 0 0 unless $_[0] and $_[0] eq 'stringify' || $_[0] eq 'stringify_arg'
138 0 0 if exists $args{'stringify'}
139 0 0 if exists $args{'stringify_args'}
156 0 0 unless eval { do { $_[0]->isa('Time::Piece') } }
158 0 0 unless $_[0] and $_[0] eq 'stringify' || $_[0] eq 'stringify_arg'
160 0 0 unless defined $time
165 0 0 unless eval { do { $_[0]->isa('Time::Piece') } }
167 0 0 unless $_[0] and $_[0] eq 'stringify' || $_[0] eq 'stringify_arg'
169 0 0 unless defined $time
176 0 0 if wantarray
179 0 0 if exists $args{'stringify'}
180 0 0 if exists $args{'stringify_args'}
221 0 0 if (ref $format) { }
0 0 elsif (defined $format) { }
223 0 0 if (defined $arg) { }
224 0 0 if defined $arg
260 0 0 if ($_[1])
270 0 0 if $new->isa('Time::Piece')
309 0 0 exists $args{'stringify'} ? :
310 0 0 if exists $args{'stringify_args'}