Branch Coverage

lib/JMAP/Validation/Tests/Address.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
13 0 2488320 unless JMAP::Validation::Tests::Object::is_object($value)
15 0 2488320 unless JMAP::Validation::Tests::String::is_string($value->{'type'})
16 0 2488320 unless $value->{'type'} =~ qr/^(?:home|work|billing|postal|other)$/
19 0 12441600 unless JMAP::Validation::Tests::String::is_string($value->{$field})
22 0 2488320 unless JMAP::Validation::Tests::Boolean::is_boolean($value->{'isDefault'})