line |
true |
false |
branch |
13
|
0 |
17915952 |
unless JMAP::Validation::Tests::Object::is_object($value) |
15
|
0 |
17915952 |
unless JMAP::Validation::Tests::String::is_string($value->{'type'}) |
16
|
0 |
17915952 |
unless $value->{'type'} =~ qr/fax|home|mobile|other|pager|personal|uri|username|work/ |
18
|
8957976 |
8957976 |
if (defined $value->{'label'}) |
19
|
0 |
8957976 |
unless JMAP::Validation::Tests::String::is_string($value->{'label'}) |
22
|
0 |
17915952 |
unless JMAP::Validation::Tests::String::is_string($value->{'value'}) |
23
|
0 |
17915952 |
unless JMAP::Validation::Tests::Boolean::is_boolean($value->{'isDefault'}) |
31
|
0 |
4478988 |
unless is_ContactInformation($value) |
32
|
0 |
4478988 |
unless $value->{'type'} =~ qr/personal|work|other/ |
40
|
0 |
8957976 |
unless is_ContactInformation($value) |
41
|
0 |
8957976 |
unless $value->{'type'} =~ qr/home|work|mobile|fax|pager|other/ |
49
|
0 |
4478988 |
unless is_ContactInformation($value) |
50
|
0 |
4478988 |
unless $value->{'type'} =~ qr/uri|username|other/ |