line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JMAP::Validation::Checks::ContactInformation; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
3822
|
use JMAP::Validation::Tests::ContactInformation; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
115
|
|
4
|
5
|
|
|
5
|
|
18
|
use Test2::Bundle::Extended; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
19
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $is_ContactInformation_emails = array { |
7
|
|
|
|
|
|
|
filter_items { |
8
|
|
|
|
|
|
|
grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_email($_) } @_ |
9
|
|
|
|
|
|
|
}; |
10
|
|
|
|
|
|
|
end(); |
11
|
|
|
|
|
|
|
}; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $is_ContactInformation_phones = array { |
14
|
|
|
|
|
|
|
filter_items { |
15
|
|
|
|
|
|
|
grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_phone($_) } @_ |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
end(); |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
our $is_ContactInformation_online = array { |
21
|
|
|
|
|
|
|
filter_items { |
22
|
|
|
|
|
|
|
grep { ! JMAP::Validation::Tests::ContactInformation::is_ContactInformation_online($_) } @_ |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
end(); |
25
|
|
|
|
|
|
|
}; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |