Branch Coverage

blib/lib/Pod/AsciiDoctor.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
67 12 7 if (my($input_level) = $command =~ /head([0-9])/u)
74 8 4 defined $data->{'topheaders'}{$input_level} ? :
80 1 18 if ($command =~ /over/u)
84 1 18 if ($command =~ /back/u)
88 2 17 if ($command =~ /item/u)
120 1 28 if $seq_command eq "B"
121 18 10 if $seq_command eq "C"
122 2 8 if $seq_command eq "I" or $seq_command eq "F"
124 2 6 if ($seq_command eq "L")
129 1 1 if ($seq_argument =~ /(.+)\|(.+)/u) { }
1 0 elsif ($seq_argument =~ /(.+)/u) { }
139 1 1 if ($link =~ m[(.+?\://)(.+)]u) { }
1 0 elsif (length $link) { }
142 1 0 if length $text
147 0 1 if (my($s, $e) = $link =~ m[(.+)/(.+)]u) { }
150 0 0 if $text
155 0 1 if $text
166 12 0 if ($command =~ /head/u) { }
0 0 elsif ($command =~ /item/u) { }
186 2 0 $list ? :
189 2 0 if ($list)