line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JMAP::Validation::Checks::File; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
3872
|
use JMAP::Validation::Checks::Number; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
120
|
|
4
|
5
|
|
|
5
|
|
321
|
use JMAP::Validation::Checks::String; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
97
|
|
5
|
5
|
|
|
5
|
|
16
|
use Test2::Bundle::Extended; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
20
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $is_File = hash { |
8
|
|
|
|
|
|
|
field blobId => $JMAP::Validation::Checks::String::is_id; |
9
|
|
|
|
|
|
|
field type => $JMAP::Validation::Checks::String::is_string_or_null; |
10
|
|
|
|
|
|
|
field name => $JMAP::Validation::Checks::String::is_string_or_null; |
11
|
|
|
|
|
|
|
field size => $JMAP::Validation::Checks::Number::is_number_or_null; |
12
|
|
|
|
|
|
|
end(); |
13
|
|
|
|
|
|
|
}; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |