Branch Coverage

blib/lib/Pod/Elemental/Transformer/Pod5.pm
Criterion Covered Total %
branch 40 42 95.2


line true false branch
74 0 40 unless defined $target
89 25 132 if (s_command(["begin", "end"], $region_para))
93 6 19 $region_para->command eq 'begin' ? :
95 0 25 if $_ < 0
97 13 12 if not $_ and "$r_colon$r_target" eq $name
111 4 229 $_->isa($self->_gen_class('Nonpod')) ? :
128 180 15 unless &$s_region($para)
130 2 13 if ($para->command eq "for")
134 1 1 $colon ? :
154 4 9 $colon ? :
181 48 149 if ($elem->isa($self->_gen_class("Text")))
182 4 30 $elem->content =~ /\A\s/ ? :
34 14 $is_pod ? :
191 15 182 if ($elem->isa($self->_class("Region")))
195 40 157 if ($elem->isa($self->_gen_class("Command")))
212 10 276 if $para->isa($class)
225 26 145 if $#$paras - $start < 2
228 135 10 unless $class
232 19 7 if ($paras->[$next]->isa($class) or s_blank($paras->[$next]))
242 6 4 unless @to_collect >= 3
262 81 3 unless $this->isa($self->_class("Data"))