Branch Coverage

lib/JMAP/Validation/Tests/String.pm
Criterion Covered Total %
branch 2 8 25.0


line true false branch
53 0 4 unless JMAP::Validation::Tests::Array::is_array($value)
56 0 4 unless is_id($id)
66 0 0 unless $value =~ /^(\d\d\d\d)-(\d\d)-(\d\d)$/
68 0 0 unless eval { do { 'DateTime'->new('year', $1, 'month', $2, 'day', $3) } }