blib/lib/Pandoc/Walker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 27 | 70.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 3540 | 0 | 2 | &blessed($action) and $action->isa('Pandoc::Filter') |
92 | 905 | 1 | 700 | (&reftype($item) || '') eq 'HASH' and $item->{'t'} |
134 | 47 | 420 | 0 | defined $q && $q eq \(undef) |
line | l | !l | condition |
---|---|---|---|
16 | 3542 | 0 | shift() // (return sub { } ) |
22 | 0 | 0 | $action // 'undef' |
40 | 4 | 2 | shift() // sub { $_; } |
86 | 1958 | 1478 | &reftype($ast) || '' |
92 | 1202 | 404 | &reftype($item) || '' |
101 | 20 | 0 | &reftype($res) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 0 | 3540 | not ref $action or ref $action ne 'CODE' |
146 | 94 | 1 | 69 | not defined $q or $q eq \(undef) |