| blib/lib/Catmandu/Iterable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 31 | 83.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 170 | 2 | 2 | 1 | &$sub($data) and ++$n > 1 |
| 418 | 5 | 2 | 5 | is_number($memo) and is_number($val) |
| 434 | 5 | 2 | 5 | is_number($memo) and is_number($val) |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 5 | 1 | $start //= 0 |
| 192 | 776 | 24 | &$next() // (return) |
| 372 | 20 | 4 | &$next() // (last) |
| 459 | 0 | 6 | $opts{'header'} //= 1 |
| 460 | 0 | 6 | $opts{'col_sep'} //= " | " |
| 469 | 2109 | 42 | $$data{$cols[$i]} // "" |
| 499 | 5 | 0 | &$next() // (return) |
| 512 | 20 | 4 | $run ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 34 | 7 | 2 | 0 | $_generators{$self} ||= $self->generator |
| 395 | 22 | 8 | 0 | $generators[$i] ||= $iterators[$i]->generator |