Branch Coverage

blib/lib/Pod/WordML.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
181 0 50 if ($_[0]{'module_flag'}) { }
0 50 elsif ($_[0]{'url_flag'}) { }
306 13 20 if ($self->{'in_item'}) { }
4 16 elsif ($self->{'in_item_list'}) { }
308 4 9 if ($self->{'item_count'} == 1) { }
323 13 20 if $self->{'in_item'}
376 0 1 if (@lines == 1) { }
1 0 elsif (@lines) { }
559 44 6 unless ($self->dont_escape)
570 49 1 unless $self->{'in_verbatim'}
633 0 1 if ($self->{'accept_codes'} and $self->{'accept_codes'}{'VerbatimFormatted'}) { }
0 1 elsif ($self->{'codes_in_verbatim'}) { }
647 1 0 if @$para > 3
674 0 2 unless defined $in and length $in
676 0 2 if ($in =~ /^(0[0-7]*)$/) { }
0 2 elsif ($in =~ /^0?x([0-9a-fA-F]+)$/) { }
679 0 2 if ($Pod::Escapes::NOT_ASCII)
681 0 0 unless ($in =~ /^\d+$/)
684 0 0 unless defined $in
693 2 0 if (defined $Pod::Escapes::Name2character_number{$in} and $Pod::Escapes::Name2character_number{$in} < 127) { }
0 0 elsif (defined $Pod::Escapes::Name2character_number{$in}) { }