Branch Coverage

blib/lib/Quiki/Formatter/HTML.pm
Criterion Covered Total %
branch 64 96 66.6


line true false branch
26 1 11 if ($content =~ /^\S/)
30 1 10 if ($content =~ /\S$/)
45 3 4 if ($1 eq '^') { }
54 0 5 @c ? :
70 18 30 if ($level > $#level) { }
2 28 elsif ($level < $#level) { }
72 8 10 $type eq '*' ? :
77 2 0 if $openitem
80 1 1 $ctype eq '*' ? :
84 10 18 if $openitem
85 1 27 if ($type ne $level[-1])
87 0 1 $ctype eq '*' ? :
90 1 0 $type eq '*' ? :
101 8 8 $ctype eq '*' ? :
105 1 8 @c ? :
119 5 71 if ($chunk =~ /^(\^|\|)/) { }
9 62 elsif ($chunk =~ /^\s{2}[*-]/) { }
4 58 elsif ($chunk =~ /^\s{3}/) { }
132 6 52 if ($chunk =~ /^ -{10,} \s* (\n|$) /x) { }
7 45 elsif ($chunk =~ m[^(={1,6}) ((?:\\=|[^=]|/[^=])+) \1\s*($|\n)]x) { }
134 2 4 $chunk ? :
141 1 6 if $l == 1
142 1 6 if $l == 2
143 1 6 if $l == 3
144 1 6 if $l == 4
145 1 6 if $l == 5
146 2 5 if $l == 6
148 1 6 $chunk ? :
187 3 1 @c ? :
234 0 0 length $4 ? :
0 0 length $1 ? :
0 0 length $1 && length $4 ? :
241 0 0 length $3 ? :
0 0 length $1 ? :
0 0 length $1 && length $3 ? :
248 0 0 length $4 ? :
0 0 length $1 ? :
0 0 length $1 && length $4 ? :
255 1 1 length $3 ? :
1 2 length $1 ? :
0 3 length $1 && length $3 ? :
281 1 2 if ($align eq 'right')
286 1 1 if ($align eq 'left')
291 0 1 if ($align eq 'center')
305 0 0 if ($mime =~ /^image/) { }
306 0 0 if ($align eq 'right')
310 0 0 if ($align eq 'left')
314 0 0 if ($align eq 'center')