Condition Coverage

blib/lib/PHP/Serialization.pm
Criterion Covered Total %
condition 21 36 58.3


and 3 conditions

line !l l&&!r l&&r condition
159 17 0 0 $sorthash and ref $sorthash eq 'HASH'
164 37 40 0 $i % 2 and @shash_arr
239 9 0 0 ref $sorthash eq 'HASH' and @shash_arr
9 0 0 ref $sorthash eq 'HASH' and @shash_arr and shift @shash_arr ne 'array'
344 2 317 1 $want and $c ne $want
349 2 317 0 $want and $c ne $want
380 10 0 14 $val =~ /^-?(?:[0-9]|[1-9]\d{1,10})$/ and abs $val < 2147483648
8 1 1 $val =~ /^-?\d+\.\d*$/ and not $iskey
393 8 0 0 $sorthash and $type eq 'HASH'
406 0 0 0 ref $sorthash eq 'HASH' && ref ${$sorthash;}{$val} eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
188 27 1 4 $type eq 'integer' or $type eq 'float'
392 6 2 0 $type eq 'HASH' or $type eq 'ARRAY'