blib/lib/Tie/PagedArray.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 27 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
102 | 0 | 0 | 18 | $page_size && int $page_size > 0 |
103 | 5 | 0 | 13 | $paging_dir and -d $paging_dir |
142 | 0 | 0 | 3 | defined $page_file and -f $page_file |
406 | 7 | 0 | 1 | $ins_start_offset == 0 and $ins_start_page_num > 0 |
496 | 720 | 13175 | 47721 | $index >= $$self[5] and $index <= $$self[6] |
505 | 0 | 370950 | 12194 | $index >= $page_idx and $index <= $page_end_idx |
537 | 0 | 0 | 13643 | $active_page_num > -1 and $active_page_num <= $#{$$self[0];} |
553 | 0 | 3324 | 10319 | defined $page_file and -f $page_file |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
207 | 0 | 0 | 59818 | $page_num > $#{$$self[0];} or $offset >= $$self[0][$page_num][1] |