blib/lib/Data/Plist/BinaryReader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 30 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
326 | 7 | 386 | 8 | $objType != 0 and $size == 15 |
363 | 1 | 1 | 50 | length $str >= 8 and substr($str, 0, 8) eq 'bplist00' |
450 | 391 | 1 | 2 | $_ >= $OffsetTableOffset and $_ < $OffsetTableOffset + $NumObjects * $OffsetSize |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
141 | 0 | 0 | 1 | $size > 3 or $size < 2 |
167 | 1 | 0 | 0 | eval { do { ref($self)->open_string($buf) } } || $buf |
416 | 1 | 1 | 46 | $OffsetSize < 1 or $OffsetSize > 4 |
1 | 1 | 44 | $$self{'refsize'} < 1 or $$self{'refsize'} > 2 | |
1 | 0 | 41 | $OffsetTableOffset < 8 or $OffsetTableOffset > $end | |
1 | 1 | 40 | $OffsetTableOffset < 8 or $OffsetTableOffset > $end or $OffsetTableOffset + $NumObjects * $OffsetSize > $end | |
450 | 2 | 1 | 394 | $_ < 8 or $_ >= $end |