Branch Coverage

blib/lib/FrameMaker/FromHTML.pm
Criterion Covered Total %
branch 0 180 0.0


line true false branch
91 0 0 if $tag =~ m[^hr[/]*$]
94 0 0 if ($tag =~ /^((area)|(base)|(button)|(title)|(div)|(style)|(head)|(meta)|(body)|(span)|(link)|(dl))$/) { }
105 0 0 unless ($$self{'htmldata'}{'betweentags'})
111 0 0 if ($tag =~ /^html$/o) { }
0 0 elsif ($tag =~ /^((p)|(h\d+)|(address)|(pre)|(blockquote)|(li)|(dt)|(dd)|(abbr)|(acronym))$/o) { }
0 0 elsif ($tag =~ /^((ol)|(ul))$/) { }
0 0 elsif ($tag =~ /^img$/o) { }
0 0 elsif ($tag =~ /^a$/o) { }
0 0 elsif ($tag =~ m[^br[/]*$]) { }
0 0 elsif ($tag =~ /^table$/o) { }
0 0 elsif ($tag =~ /^th$/o) { }
0 0 elsif ($tag =~ /^thead$/o) { }
0 0 elsif ($tag =~ /^tr$/o) { }
0 0 elsif ($tag =~ /^tbody$/o) { }
0 0 elsif ($tag =~ /^td$/o) { }
0 0 elsif ($tag =~ /^((b)|(i)|(sub)|(sup)|(strong)|(em)|(samp)|(kbd)|(var)|(cite)|(dfn)|(code)|(tt))$/) { }
121 0 0 if $tag =~ /((abbr)|(acronym))/
123 0 0 if ($tag =~ /^li$/) { }
127 0 0 if ($curtag eq 'ol') { }
129 0 0 if ($$self{'htmldata'}{'numfirst'}) { }
141 0 0 if $curtag eq 'ul'
161 0 0 if $tag eq 'ol'
170 0 0 unless ($$self{'htmldata'}{'intable'})
178 0 0 if $$self{'htmldata'}{'inflow'}
179 0 0 if $$self{'htmldata'}{'intable'}
183 0 0 if ($$attr{'src'})
200 0 0 if ($imgw and $imgh) { }
202 0 0 if ($imgw >= $imgh) { }
227 0 0 if (exists $$attr{'name'}) { }
0 0 elsif (exists $$attr{'href'}) { }
238 0 0 if ($$self{'htmldata'}{'inflow'}) { }
0 0 elsif ($$self{'htmldata'}{'intable'}) { }
240 0 0 unless $self->balanced('\\
241 0 0 unless $self->balanced('\\
244 0 0 if (@{$$self{'htmldata'}{'inlist'};}) { }
259 0 0 if $self->balanced('\\
260 0 0 unless $self->balanced('\\
261 0 0 if (not $self->balanced('\\
265 0 0 if $$self{'htmldata'}{'intblhd'}
266 0 0 if $$self{'htmldata'}{'intblbody'}
271 0 0 if $$self{'htmldata'}{'intblhd'}
272 0 0 if $$self{'htmldata'}{'intblbody'}
277 0 0 if $$self{'htmldata'}{'intblhd'}
278 0 0 if $$self{'htmldata'}{'intblbody'}
289 0 0 $$attr{'border'} && $$attr{'border'} ne '0' ? :
297 0 0 unless ($$self{'htmldata'}{'intblhd'})
299 0 0 if ($$self{'htmldata'}{'thistable'} =~ /\
310 0 0 if (defined $$self{'htmldata'}{'tblmatrix'}[$$self{'htmldata'}{'rowcount'}][$$self{'htmldata'}{'colcount'}])
328 0 0 if ($$attr{'rowspan'})
338 0 0 if ($$attr{'colspan'})
351 0 0 unless $$self{'htmldata'}{'intblhd'}
373 0 0 if ($$self{'htmldata'}{'intblhd'}) { }
380 0 0 unless $$self{'htmldata'}{'thistable'} =~ /\
383 0 0 if (defined $$self{'htmldata'}{'tblmatrix'}[$$self{'htmldata'}{'rowcount'}][$$self{'htmldata'}{'colcount'}])
401 0 0 if ($$attr{'rowspan'}) { }
0 0 elsif ($$attr{'colspan'}) { }
425 0 0 if $$self{'htmldata'}{'inflow'}
426 0 0 if $$self{'htmldata'}{'intable'}
446 0 0 if ($tag =~ /^((area)|(base)|(button)|(title)|(div)|(style)|(head)|(meta)|(body)|(span)|(link)|(dl))$/)
451 0 0 if ($tag =~ /html/i) { }
0 0 elsif ($tag =~ /^((p)|(h\d+)|(address)|(pre)|(blockquote)|(li)|(dd)|(dt)|(abbr)|(acronym))$/o) { }
0 0 elsif ($tag =~ /^((ol)|(ul))$/) { }
0 0 elsif ($tag =~ /^a$/) { }
0 0 elsif ($tag =~ /^table$/o) { }
0 0 elsif ($tag =~ /^th$/o) { }
0 0 elsif ($tag =~ /^tr$/o) { }
0 0 elsif ($tag =~ /^td$/o) { }
0 0 elsif ($tag =~ /^thead$/) { }
0 0 elsif ($tag =~ /^((b)|(i)|(sub)|(sup)|(strong)|(em)|(samp)|(kbd)|(var)|(cite)|(dfn)|(code)|(tt))$/) { }
458 0 0 unless open OFILE, ">$$self{'htmldata'}{'outfile'}"
469 0 0 if $$self{'htmldata'}{'inflow'}
480 0 0 if $$self{'htmldata'}{'inmark'}
481 0 0 if $$self{'htmldata'}{'inhref'}
492 0 0 $$self{'htmldata'}{'maxtblcols'} ? :
531 0 0 if ($$self{'htmldata'}{'maxcols'} > $$self{'htmldata'}{'maxtblcols'})
551 0 0 if $$self{'htmldata'}{'inflow'}
552 0 0 if $$self{'htmldata'}{'intable'}
566 0 0 if $$self{'htmldata'}{'ignore'}
575 0 0 if $text
576 0 0 if ($$self{'htmldata'}{'inflow'}) { }
0 0 elsif ($$self{'htmldata'}{'intable'}) { }
580 0 0 if ($text and $text =~ /\S/)
583 0 0 unless ($$self{'htmldata'}{'betweentags'} or $$self{'htmldata'}{'thisparstart'})
594 0 0 if ($$self{'htmldata'}{'inmark'}) { }
0 0 elsif ($$self{'htmldata'}{'inhref'}) { }
612 0 0 if ($text and $text =~ /\S/)
621 0 0 if ($$self{'htmldata'}{'inmark'}) { }
0 0 elsif ($$self{'htmldata'}{'inhref'}) { }
663 0 0 if ($astr =~ /&\w+\;/)
752 0 0 if $diffcount < 0