Branch Coverage

blib/lib/Time/Moment/Role/Strptime.pm
Criterion Covered Total %
branch 5 6 83.3


line true false branch
16 1 1 unless eval { do { $obj = $class->from_object('Time::Piece'->strptime($str, $format)); 1 } }
19 1 1 if (defined $error)
20 0 1 if ref $error or $error =~ /\n(?!\z)/