line |
true |
false |
branch |
80
|
16 |
219 |
if ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileString) { } |
|
21 |
198 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileNumber) { } |
|
25 |
173 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileReal) { } |
|
0 |
173 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileBool) { } |
|
0 |
173 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileData or $type == $Config::Apple::Profile::Payload::Types::Validation::ProfileNSDataBlob) { } |
|
0 |
173 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileDate) { } |
|
16 |
157 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileIdentifier) { } |
|
157 |
0 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileUUID) { } |
|
0 |
0 |
elsif ($type == $Config::Apple::Profile::Payload::Types::Validation::ProfileClass) { } |
142
|
6 |
22 |
if ref $value |
146
|
19 |
2 |
if ($value =~ /^(.+)$/su) { } |
183
|
6 |
75 |
if ref $value |
187
|
62 |
12 |
if ($value =~ /^$Config::Apple::Profile::Payload::Types::Validation::RE{'num'}{'int'}{-'keep'}$/u) |
213
|
6 |
43 |
if ref $value |
217
|
36 |
6 |
if ($value =~ /^$Config::Apple::Profile::Payload::Types::Validation::RE{'num'}{'real'}{-'keep'}$/iu) |
242
|
0 |
0 |
if ref $value |
246
|
0 |
0 |
if ($value) |
249
|
0 |
0 |
if (not $value) |
273
|
0 |
0 |
if (ref $value) |
275
|
0 |
0 |
unless blessed $value |
276
|
0 |
0 |
unless $value->isa('DateTime') |
277
|
0 |
0 |
unless $value->is_finite |
318
|
0 |
0 |
if (openhandle $value) |
324
|
0 |
0 |
unless (ref $value) |
326
|
0 |
0 |
if (not utf8::is_utf8($value) and length $value > 0) |
341
|
0 |
0 |
if ref $value |
360
|
6 |
22 |
if ref $value |
364
|
19 |
2 |
if ($value =~ /^(.+)$/su) |
367
|
14 |
5 |
if (not $matched_string =~ /\n/su and $matched_string =~ /^$Config::Apple::Profile::Payload::Types::Validation::RE{'net'}{'domain'}{-'nospace'}$/u) |
400
|
0 |
319 |
if ($class eq 'Data::UUID') |
406
|
100 |
219 |
if ($class eq 'Data::GUID') |
411
|
3 |
216 |
if ($class ne '') |
442
|
0 |
0 |
unless (blessed $object) |
448
|
0 |
0 |
if ($object->isa('Config::Apple::Profile::Payload::Common')) |