Branch Coverage

blib/lib/Markapl/TagHandlers.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
23 0 227 if (my $len = Devel::Declare::toke_scan_word($Offset, 1))
37 60 167 if (substr($linestr, $Offset, 1) eq '(')
56 0 0 defined $proto && length $proto ? :
63 211 16 if (substr($linestr, $Offset, 1) eq '{')
73 227 0 if (substr($linestr, $Offset, 1) eq '{')
83 16 211 if (substr($linestr, $Offset, 1) eq ';')
117 2 107 if ($in_closure)
123 9 100 if (grep {$tag eq $_;} 'Markapl::Tags'->html_inline) { }
128 2 99 ref $_ && $_->isa('Markapl::Tag') ? :
130 100 0 if defined $block and ref $block eq 'CODE'
136 2 107 if ($original_buffer)
147 232 2494 if defined $alt{$tag}
157 0 227 if $Offset == $offset_before
165 60 167 if (defined $proto) { }
179 4 105 if (@attr == 1) { }
182 1 3 if ($1 eq '#') { }
191 24 1 if (defined $v) { }
202 2 107 if (defined wantarray and not wantarray)