Branch Coverage

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


line true false branch
18 2 3984 if (&blessed($action) and $action->isa('Pandoc::Filter')) { }
0 3984 elsif (not ref $action or ref $action ne 'CODE') { }
25 2066 1920 if (@_) { }
39 6 3962 if (not ref $_[0]) { }
22 3940 elsif (ref $_[0] eq 'HASH') { }
78 0 106 wantarray ? :
88 1072 2802 if ($reftype eq 'ARRAY') { }
1036 1766 elsif ($reftype eq 'HASH') { }
92 829 1 if ((&reftype($item) || '') eq 'HASH' and $item->{'t'})
95 21 808 if (defined $res)
97 1 20 if ($res eq \(undef)) { }
101 8 12 (&reftype($res) || '') eq 'ARRAY' ? :
134 0 594 defined $q && $q eq \(undef) ? :
146 95 71 if not defined $q or $q eq \(undef)