Branch Coverage

lib/JMAP/Validation/Tests/Contact.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
17 0 248832 unless JMAP::Validation::Tests::Object::is_object($value)
18 0 248832 unless JMAP::Validation::Tests::String::is_id($value->{'id'})
19 0 248832 unless JMAP::Validation::Tests::Boolean::is_boolean($value->{'isFlagged'})
21 221184 27648 if (defined $value->{'avatar'})
22 0 221184 unless JMAP::Validation::Tests::File::is_File($value->{'avatar'})
38 0 2239488 unless JMAP::Validation::Tests::String::is_string($value->{$field})
41 0 248832 unless JMAP::Validation::Tests::String::is_date($value->{'birthday'})
42 0 248832 unless JMAP::Validation::Tests::String::is_date($value->{'anniversary'})
45 0 746496 unless JMAP::Validation::Tests::Array::is_array($value->{$ContactInformation_type})
52 0 11943936 unless &$method($ContactInformation)
56 0 248832 unless JMAP::Validation::Tests::Array::is_array($value->{'addresses'})
59 0 2488320 unless JMAP::Validation::Tests::Address::is_Address($address)