line |
!l |
l&&!r |
l&&r |
condition |
266
|
2 |
0 |
3 |
exists $self->{'true'} and exists $self->{'false'} |
273
|
1 |
0 |
2 |
defined $_[1] and ref $_[1] eq "CODE" |
286
|
1 |
0 |
3 |
defined $_[2] and ref $_[2] eq "CODE" |
401
|
12 |
1 |
1 |
$allow_tags and $obj->can("FREEZE") |
405
|
0 |
1 |
0 |
@results and ref $results[0] |
416
|
4 |
4 |
5 |
$convert_blessed and $obj->can("TO_JSON") |
418
|
0 |
3 |
2 |
defined $result and ref $result |
430
|
5 |
0 |
3 |
$bignum and _is_bignum($obj) |
523
|
20 |
0 |
20 |
&blessed($value) and $value->isa("JSON::PP::Boolean") |
541
|
10 |
3 |
7 |
$type eq "SCALAR" and defined $$value |
754
|
1 |
2 |
12387 |
$octets[0] && $octets[1] |
|
2 |
0 |
1 |
!$octets[0] && $octets[1] |
782
|
12387 |
20 |
3 |
$encoding ne "UTF-8" and $encoding ne "unknown" |
845
|
905 |
0 |
2 |
$singlequote and $ch eq "'" |
858
|
5 |
0 |
4 |
$singlequote and $ch eq "'" |
961
|
136950 |
103 |
0 |
$relaxed and $ch eq "/" |
966
|
0 |
0 |
0 |
defined $ch and $ch eq "/" |
|
0 |
0 |
0 |
defined $ch and $ch eq "*" |
967
|
0 |
0 |
0 |
defined next_chr() and $ch ne "\n" |
|
0 |
0 |
0 |
defined next_chr() and $ch ne "\n" and $ch ne "\r" |
974
|
0 |
0 |
0 |
defined next_chr() and $ch eq "/" |
995
|
136950 |
94 |
9 |
$relaxed and $ch eq "#" |
1018
|
0 |
26089 |
23 |
defined $ch and $ch eq "]" |
1046
|
748 |
9 |
2 |
$relaxed and $ch eq "]" |
1055
|
3 |
0 |
3 |
defined $ch and $ch ne "" |
1098
|
0 |
1381 |
9 |
defined $ch and $ch eq "}" |
1108
|
1730 |
0 |
2 |
$allow_barekey && $ch ne '"' && $ch ne q['] |
1138
|
352 |
0 |
1 |
$relaxed and $ch eq "}" |
1151
|
3 |
0 |
5 |
defined $ch and $ch ne "" |
1206
|
0 |
1 |
40 |
defined $ch and $ch =~ /\d/ |
1221
|
8 |
798 |
971 |
defined $ch and $ch =~ /\d/ |
1226
|
8 |
749 |
49 |
defined $ch and $ch eq "." |
1231
|
1 |
0 |
48 |
defined $ch && $ch =~ /\d/ |
1238
|
2 |
46 |
97 |
defined next_chr() and $ch =~ /\d/ |
1243
|
10 |
758 |
37 |
defined $ch and $ch eq 'e' || $ch eq 'E' |
1248
|
1 |
19 |
38 |
defined $ch and $ch eq '+' || $ch eq '-' |
|
1 |
1 |
18 |
defined $ch and $ch =~ /\d/ |
1263
|
16 |
38 |
33 |
defined next_chr() and $ch =~ /\d/ |
1294
|
0 |
0 |
64 |
$] >= "5.006" and require warnings |
1389
|
0 |
4 |
5 |
$cb_sk_object and @ks == 1 |
|
4 |
1 |
4 |
$cb_sk_object and @ks == 1 and exists $$cb_sk_object{$ks[0]} |
|
5 |
0 |
4 |
$cb_sk_object and @ks == 1 and exists $$cb_sk_object{$ks[0]} and ref $$cb_sk_object{$ks[0]} |
1636
|
23 |
370 |
1 |
$self->{'incr_nest'} <= 0 and $self->{'incr_mode'} == 3 |
1639
|
390 |
1 |
1 |
$max_size and $self->{'incr_pos'} > $max_size |
1642
|
33 |
50 |
308 |
$self->{'incr_nest'} <= 0 and $self->{'incr_mode'} == 3 |
1644
|
37 |
39 |
7 |
$self->{'incr_mode'} == 0 and $self->{'incr_pos'} |
1720
|
35 |
0 |
1 |
$p >= $len and $self->{'incr_nest'} |
1723
|
0 |
35 |
105 |
defined $s and $s =~ /[rueals]/ |
1732
|
394 |
2 |
3 |
$p >= $len and $self->{'incr_nest'} |
1735
|
0 |
389 |
93 |
defined $s and $s =~ /[0-9eE.+\-]/ |
line |
l |
!l&&r |
!l&&!r |
condition |
119
|
183 |
3 |
0 |
$JSON ||= "JSON::PP"->new->utf8 |
124
|
6187 |
19 |
0 |
$JSON ||= "JSON::PP"->new->utf8 |
278
|
2 |
1 |
0 |
$_[0]{'cb_object'} || $_[0]{'cb_sk_object'} |
283
|
0 |
0 |
4 |
@_ == 1 or @_ > 3 |
292
|
4 |
0 |
0 |
$_[0]{'cb_object'} || $_[0]{'cb_sk_object'} |
297
|
0 |
0 |
0 |
not defined $_[1] or $_[1] > 15 |
|
0 |
0 |
0 |
not defined $_[1] or $_[1] > 15 or $_[1] < 0 |
375
|
25063 |
78 |
0 |
ref $obj or $props->[7] |
402
|
1 |
0 |
0 |
ref $obj || $obj |
552
|
2 |
4 |
3 |
$type eq "SCALAR" or $type eq "REF" |
754
|
2 |
0 |
0 |
$octets[0] || $octets[1] |
769
|
1 |
3 |
25265 |
not defined $text or ref $text |
813
|
24981 |
198 |
5 |
$props->[7] or ref $result |
845
|
25420 |
2 |
905 |
$ch eq "\"" or $singlequote and $ch eq "'" |
846
|
771 |
41 |
93 |
$ch =~ /[0-9]/ or $ch eq "-" |
858
|
27143 |
5 |
4 |
$ch eq "\"" or $singlequote and $ch eq "'" |
941
|
4 |
0 |
0 |
not $relaxed or $ch ne "\t" |
961
|
25263 |
2406 |
137053 |
$ch eq "" or $ch =~ /\A[ \t\r\n]\z/ |
1071
|
0 |
0 |
1 |
not defined $ch or $ch ne ")" |
1111
|
1 |
2 |
1724 |
not defined $ch or $ch ne ":" |
1243
|
33 |
25 |
737 |
$ch eq 'e' || $ch eq 'E' |
1248
|
32 |
6 |
19 |
$ch eq '+' || $ch eq '-' |
1251
|
0 |
2 |
36 |
not defined $ch or $ch =~ /\D/ |
1271
|
48 |
22 |
731 |
$is_dec or $is_exp |
1480
|
687 |
57 |
0 |
$_[0]{'_incr_parser'} ||= "JSON::PP::IncrParser"->new |
1485
|
2 |
0 |
0 |
$_[0]{'_incr_parser'} ||= "JSON::PP::IncrParser"->new |
1490
|
0 |
0 |
0 |
$_[0]{'_incr_parser'} ||= "JSON::PP::IncrParser"->new |
1493
|
304 |
0 |
0 |
$_[0]{'_incr_parser'} ||= "JSON::PP::IncrParser"->new |
1576
|
2 |
0 |
0 |
$_[0]->isa('JSON::PP::Boolean') || $_[0]->isa('Types::Serialiser::BooleanBase') || $_[0]->isa('JSON::XS::Boolean') |
1689
|
6 |
3 |
2740 |
$mode == 4 or $mode == 5 |
1766
|
1 |
0 |
2889 |
$s eq "t" or $s eq "f" |
|
1 |
35 |
2854 |
$s eq "t" or $s eq "f" or $s eq "n" |
|
188 |
195 |
1290 |
$s eq "[" or $s eq "{" |
|
185 |
184 |
921 |
$s eq "]" or $s eq "}" |