Branch Coverage

blib/lib/Pandoc/Walker.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
18 2 3540 if (&blessed($action) and $action->isa('Pandoc::Filter')) { }
0 3540 elsif (not ref $action or ref $action ne 'CODE') { }
25 1765 1777 if (@_) { }
39 6 3520 if (not ref $_[0]) { }
20 3500 elsif (ref $_[0] eq 'HASH') { }
78 0 104 wantarray ? :
88 1062 2374 if ($reftype eq 'ARRAY') { }
890 1484 elsif ($reftype eq 'HASH') { }
92 700 1 if ((&reftype($item) || '') eq 'HASH' and $item->{'t'})
95 21 679 if (defined $res)
97 1 20 if ($res eq \(undef)) { }
101 8 12 (&reftype($res) || '') eq 'ARRAY' ? :
134 0 467 defined $q && $q eq \(undef) ? :
146 95 69 if not defined $q or $q eq \(undef)