blib/lib/Pandoc/Walker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 27 | 70.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 4040 | 0 | 2 | &blessed($action) and $action->isa('Pandoc::Filter') |
92 | 921 | 3 | 835 | (&reftype($item) || '') eq 'HASH' and $item->{'t'} |
134 | 47 | 550 | 0 | defined $q && $q eq \(undef) |
line | l | !l | condition |
---|---|---|---|
16 | 4042 | 0 | shift() // (return sub { } ) |
22 | 0 | 0 | $action // 'undef' |
40 | 5 | 2 | shift() // sub { $_; } |
86 | 2144 | 1784 | &reftype($ast) || '' |
92 | 1343 | 416 | &reftype($item) || '' |
101 | 20 | 0 | &reftype($res) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 0 | 4040 | not ref $action or ref $action ne 'CODE' |
146 | 96 | 1 | 72 | not defined $q or $q eq \(undef) |