| line |
!l |
l&&!r |
l&&r |
condition |
|
54
|
25 |
45 |
0 |
$dtype and $dtype eq 'HASH' || $dtype eq 'ARRAY' |
|
63
|
65 |
11 |
81 |
$dtype and $dtype eq 'HASH' || $dtype eq 'ARRAY' |
|
102
|
157 |
49 |
47 |
$ctype eq 'ARRAY' and 'HASH' eq ref $_ |
|
|
206 |
11 |
36 |
$ctype eq 'ARRAY' and 'HASH' eq ref $_ and keys %$_ == 1 |
|
|
60 |
32 |
4 |
$ctype eq 'ARRAY' and 'HASH' eq ref $_ and keys %$_ == 1 and $_->{'$ref'} |
|
|
32 |
0 |
4 |
$ctype eq 'ARRAY' and 'HASH' eq ref $_ and keys %$_ == 1 and $_->{'$ref'} and not ref $_->{'$ref'} |
|
112
|
100 |
22 |
31 |
'HASH' eq ref $v and keys %$v == 1 |
|
|
122 |
29 |
2 |
'HASH' eq ref $v and keys %$v == 1 and $v->{'$ref'} |
|
|
29 |
0 |
2 |
'HASH' eq ref $v and keys %$v == 1 and $v->{'$ref'} and not ref $v->{'$ref'} |
|
|
147 |
0 |
4 |
$k eq '$ref' and not ref $_->{$k} |
|
|
146 |
0 |
1 |
$k eq 'id' || $k eq '$id' and not ref $v |
|
116
|
2 |
0 |
2 |
$r and 'HASH' eq ref $r |
|
231
|
4 |
26 |
0 |
$is_required && $self->{'strict'} |
|
|
0 |
30 |
0 |
not $is_required && $self->{'strict'} and exists $schmpt->{'default'} |
|
261
|
29 |
33 |
1 |
$is_required && $self->{'strict'} |
|
|
1 |
61 |
1 |
not $is_required && $self->{'strict'} and defined $schmpt->{'default'} |
|
287
|
53 |
0 |
10 |
$schmpt->{'enum'} and 'ARRAY' eq ref $schmpt->{'enum'} |
|
|
53 |
0 |
10 |
$schmpt->{'enum'} and 'ARRAY' eq ref $schmpt->{'enum'} and @{$schmpt->{'enum'};} |
|
292
|
57 |
0 |
6 |
$schmpt->{'format'} and $formats{$schmpt->{'format'}} |
|
313
|
0 |
15 |
0 |
$is_required && $self->{'strict'} |
|
|
0 |
15 |
0 |
not $is_required && $self->{'strict'} and defined $schmpt->{'default'} |
|
323
|
10 |
5 |
0 |
defined $minimum and $exclusiveMinimum |
|
327
|
12 |
3 |
0 |
defined $maximum and $exclusiveMaximum |
|
355
|
15 |
0 |
0 |
$schmpt->{'enum'} and 'ARRAY' eq ref $schmpt->{'enum'} |
|
|
15 |
0 |
0 |
$schmpt->{'enum'} and 'ARRAY' eq ref $schmpt->{'enum'} and @{$schmpt->{'enum'};} |
|
360
|
15 |
0 |
0 |
$schmpt->{'format'} and $formats{$schmpt->{'format'}} |
|
465
|
0 |
25 |
1 |
$is_required && $self->{'strict'} |
|
|
1 |
25 |
0 |
not $is_required && $self->{'strict'} and $schmpt->{'default'} |
|
471
|
2 |
0 |
24 |
$schmpt->{'properties'} and 'HASH' eq ref $schmpt->{'properties'} |
|
473
|
2 |
0 |
22 |
$schmpt->{'required'} and 'ARRAY' eq ref $schmpt->{'required'} |
|
511
|
0 |
0 |
2 |
$schmpt->{'properties'} and 'HASH' eq ref $schmpt->{'properties'} |
|
527
|
0 |
0 |
10 |
$schmpt->{'properties'} and 'HASH' eq ref $schmpt->{'properties'} |
|
559
|
3 |
0 |
0 |
$is_required && $self->{'strict'} |
|
|
0 |
3 |
0 |
not $is_required && $self->{'strict'} and $schmpt->{'default'} |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
30
|
0 |
0 |
0 |
$file =~ /\.yaml$/i or $file =~ /\.yml$/i |
|
54
|
21 |
0 |
24 |
$dtype eq 'HASH' || $dtype eq 'ARRAY' |
|
63
|
53 |
37 |
2 |
$dtype eq 'HASH' || $dtype eq 'ARRAY' |
|
78
|
1 |
0 |
25 |
$self->{'full_schema'}{'id'} || $self->{'full_schema'}{'$id'} |
|
112
|
1 |
0 |
146 |
$k eq 'id' || $k eq '$id' |
|
134
|
0 |
1 |
28 |
$opts{'coercion'} // $opts{'coersion'} |
|
140
|
9 |
20 |
0 |
$schema->{'type'} // _guess_schema_type($schema) |
|
180
|
0 |
0 |
42 |
defined $shmpt->{'additionalProperties'} or $shmpt->{'patternProperties'} |
|
|
0 |
6 |
36 |
defined $shmpt->{'additionalProperties'} or $shmpt->{'patternProperties'} or $shmpt->{'properties'} |
|
|
6 |
0 |
36 |
defined $shmpt->{'additionalProperties'} or $shmpt->{'patternProperties'} or $shmpt->{'properties'} or defined $shmpt->{'minProperties'} |
|
|
6 |
0 |
36 |
defined $shmpt->{'additionalProperties'} or $shmpt->{'patternProperties'} or $shmpt->{'properties'} or defined $shmpt->{'minProperties'} or defined $shmpt->{'maxProperties'} |
|
186
|
0 |
0 |
36 |
defined $shmpt->{'additionalItems'} or defined $shmpt->{'uniqueItems'} |
|
|
0 |
0 |
36 |
defined $shmpt->{'additionalItems'} or defined $shmpt->{'uniqueItems'} or $shmpt->{'items'} |
|
|
0 |
0 |
36 |
defined $shmpt->{'additionalItems'} or defined $shmpt->{'uniqueItems'} or $shmpt->{'items'} or defined $shmpt->{'minItems'} |
|
|
0 |
0 |
36 |
defined $shmpt->{'additionalItems'} or defined $shmpt->{'uniqueItems'} or $shmpt->{'items'} or defined $shmpt->{'minItems'} or defined $shmpt->{'maxItems'} |
|
192
|
3 |
1 |
32 |
defined $shmpt->{'minimum'} or defined $shmpt->{'maximum'} |
|
|
4 |
0 |
32 |
defined $shmpt->{'minimum'} or defined $shmpt->{'maximum'} or exists $shmpt->{'exclusiveMinimum'} |
|
|
0 |
0 |
32 |
defined $shmpt->{'minimum'} or defined $shmpt->{'maximum'} or exists $shmpt->{'exclusiveMinimum'} or exists $shmpt->{'exclusiveMaximum'} |
|
|
0 |
0 |
32 |
defined $shmpt->{'minimum'} or defined $shmpt->{'maximum'} or exists $shmpt->{'exclusiveMinimum'} or exists $shmpt->{'exclusiveMaximum'} or defined $shmpt->{'multipleOf'} |
|
296
|
0 |
1 |
62 |
$self->{'to_json'} or $self->{'coercion'} |
|
364
|
0 |
1 |
14 |
$self->{'to_json'} or $self->{'coercion'} |
|
393
|
30 |
18 |
9 |
$subschm->{'type'} // $type |
|
|
48 |
9 |
0 |
($subschm->{'type'} // $type) // _guess_schema_type($schm) |
|
479
|
35 |
12 |
0 |
$schmpt->{'properties'}{$k}{'type'} // _guess_schema_type($schmpt->{'properties'}{$k}) |
|
501
|
1 |
1 |
0 |
$schmpt->{'patternProperties'}{$pt}{'type'} // _guess_schema_type($schmpt->{'patternProperties'}{$pt}) |
|
524
|
0 |
0 |
10 |
ref $schmpt->{'additionalProperties'} or $schmpt->{'additionalProperties'} |
|
582
|
3 |
0 |
0 |
$schmpt->{'items'}{'type'} // _guess_schema_type($schmpt->{'items'}) |