| blib/lib/Catmandu/Iterable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 31 | 83.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 176 | 2 | 2 | 1 | &$sub($data) and ++$n > 1 |
| 430 | 5 | 2 | 5 | is_number($memo) and is_number($val) |
| 446 | 5 | 2 | 5 | is_number($memo) and is_number($val) |
| line | l | !l | condition |
|---|---|---|---|
| 72 | 5 | 1 | $start //= 0 |
| 198 | 779 | 25 | &$next() // (return) |
| 384 | 20 | 4 | &$next() // (last) |
| 471 | 0 | 6 | $opts{'header'} //= 1 |
| 472 | 0 | 6 | $opts{'col_sep'} //= " | " |
| 481 | 2109 | 42 | $$data{$cols[$i]} // "" |
| 511 | 5 | 0 | &$next() // (return) |
| 524 | 20 | 4 | $run ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 7 | 2 | 0 | $_generators{$self} ||= $self->generator |
| 407 | 22 | 8 | 0 | $generators[$i] ||= $iterators[$i]->generator |