blib/lib/Pandoc/Walker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 27 | 70.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 3984 | 0 | 2 | &blessed($action) and $action->isa('Pandoc::Filter') |
92 | 909 | 1 | 829 | (&reftype($item) || '') eq 'HASH' and $item->{'t'} |
134 | 47 | 547 | 0 | defined $q && $q eq \(undef) |
line | l | !l | condition |
---|---|---|---|
16 | 3986 | 0 | shift() // (return sub { } ) |
22 | 0 | 0 | $action // 'undef' |
40 | 4 | 2 | shift() // sub { $_; } |
86 | 2114 | 1760 | &reftype($ast) || '' |
92 | 1331 | 408 | &reftype($item) || '' |
101 | 20 | 0 | &reftype($res) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 0 | 3984 | not ref $action or ref $action ne 'CODE' |
146 | 94 | 1 | 71 | not defined $q or $q eq \(undef) |