Condition Coverage

blib/lib/Data/Smile/PP.pm
Criterion Covered Total %
condition 69 160 43.1


and 3 conditions

line !l l&&!r l&&r condition
200 0 0 0 $v =~ /\A-?[0-9]+\z/ and $v >= '-9223372036854775808'
0 0 0 $v =~ /\A-?[0-9]+\z/ and $v >= '-9223372036854775808' and $v <= '9223372036854775807'
242 0 0 0 $use_bigint and $s =~ /\A-?[0-9]{19,}\z/
275 3044 612 1477 $num == 0 + $integer_text and abs $num >= '9007199254740992'
3656 645 832 $num == 0 + $integer_text and abs $num >= '9007199254740992' and $num >= '-9223372036854775808'
1257 634 198 $num == 0 + $integer_text and abs $num >= '9007199254740992' and $num >= '-9223372036854775808' and $num <= '18446744073709551615'
320 0 0 5133 defined $bits_needed and length $bits > $bits_needed
460 0 24688 3316 $t >= 64 and $t <= 127
468 0 24672 16 $t >= 128 and $t <= 191
477 0 21399 3273 $t >= 192 and $t <= 223
480 0 20945 454 $t >= 224 and $t <= 227
483 0 20927 18 $t >= 228 and $t <= 231
490 0 11321 9606 $t >= 236 and $t <= 239
531 0 23721 9884 $t >= 48 and $t <= 51
538 0 716 23005 $t >= 64 and $t <= 127
543 0 1 715 $t >= 128 and $t <= 191
551 0 0 1 $t >= 192 and $t <= 247
630 0 1 8 not $is_utf8 and $len >= 1
1 0 8 not $is_utf8 and $len >= 1 and $len <= 32
633 0 1 0 not $is_utf8 and $len >= 33
1 0 0 not $is_utf8 and $len >= 33 and $len <= 64
636 1 0 0 $is_utf8 and $len >= 2
1 0 0 $is_utf8 and $len >= 2 and $len <= 33
639 1 0 0 $is_utf8 and $len >= 34
1 0 0 $is_utf8 and $len >= 34 and $len <= 65
662 3 0 19 $ctx->{'enable_shared_names'} and @{$ctx->{'shared_names'};} < 1024
680 0 0 22 not $is_utf8 and $len >= 1
0 0 22 not $is_utf8 and $len >= 1 and $len <= 64
683 0 0 0 $is_utf8 and $len >= 2
0 0 0 $is_utf8 and $len >= 2 and $len <= 65
727 0 0 15 $n >= -16 and $n <= 15
740 2 7 5 $ctx->{'enable_shared_values'} and defined $ctx->{'value_to_idx'}{$cache_key}
815 0 30 0 $pos < length $bytes and substr($bytes, $pos, 1) eq "z"
904 3 0 2 @_ >= 3 and defined $opts
927 18 0 1 @_ >= 2 and defined $opts

or 2 conditions

line l !l condition
428 2 0 $hex || '0'
440 0 0 $hex || '0'

or 3 conditions

line l !l&&r !l&&!r condition
199 0 0 0 &_created_as_number($v) or &looks_like_number($v)
395 0 0 11414 $t == 0 or not defined $ctx->{'shared_values'}[$t - 1]
405 2 3 41733 $t == 34 or $t == 35
417 8592 0 33141 $t == 36 or $t == 37
494 0 0 9606 $idx < 31 or not defined $ctx->{'shared_values'}[$idx]
535 0 0 9884 $idx < 64 or not defined $ctx->{'shared_names'}[$idx]
588 0 0 0 not defined $e or utf8::is_utf8($e)
0 0 0 not defined $e or utf8::is_utf8($e) or length $e > 64
724 15 0 14 &_created_as_number($v) or &looks_like_number($v)
844 2 0 0 $rest == 10 or $rest == 13
2 0 0 $rest == 10 or $rest == 13 or $rest == 9
0 0 0 $rest == 10 or $rest == 13 or $rest == 9 or $rest == 32
856 18 0 1 eval { do { $x->isa("Path::Tiny") } } or eval { do { $x->isa("Path::Class::File") } }
872 0 0 0 eval { do { $file->can("read") } } or eval { do { $file->can("getline") } }
0 0 0 eval { do { $file->can("read") } } or eval { do { $file->can("getline") } } or ref $file eq "GLOB"
892 1 0 0 eval { do { $file->can("print") } } or eval { do { $file->can("write") } }
1 0 0 eval { do { $file->can("print") } } or eval { do { $file->can("write") } } or ref $file eq "GLOB"