Condition Coverage

blib/lib/HTML/GMUCK.pm
Criterion Covered Total %
condition 0 91 0.0


and 3 conditions

line !l l&&!r l&&r condition
221 0 0 0 $$this{'_xhtml'} and $lel eq 'img'
0 0 0 $$this{'_xhtml'} and $lel eq 'img' and $latt eq 'border'
279 0 0 0 not $$this{'_xhtml'} and $lel eq 'html' && $latt eq 'xmlns' || $latt eq 'xml:space' && $lel =~ /^(pre|s(cript|tyle))$/o
342 0 0 0 $lel eq 'input' and $attr eq 'name'
0 0 0 $lel eq 'input' and $attr eq 'name' and $line =~ /\stype=(\\?[\"\'])?(submi|rese)t\b/io
347 0 0 0 $lel eq 'map' and $attr eq 'id'
0 0 0 $lel eq 'map' and $attr eq 'id' and not $$this{'_xhtml'}
386 0 0 0 lc $elem eq 'script' and $mtype =~ /(ecm|jav)ascript/io
0 0 0 lc $elem eq 'script' and $mtype =~ /(ecm|jav)ascript/io and not lc($mtype) =~ m[^application/(ecm|jav)ascript$]
463 0 0 0 lc $start eq lc $end and $slash ne '/'
489 0 0 0 $$this{'_xhtml'} and not $el =~ /^$HTML::GMUCK::Compat_Elems$/io
0 0 0 $$this{'_xhtml'} and not $el =~ /^$HTML::GMUCK::Compat_Elems$/io and not $end =~ m[\s\\?/]o
0 0 0 not $$this{'_xml'} and $end =~ m[/>$]o
623 0 0 0 $$this{'_html'} and my($p1, $html, $t) = $rest =~ /^((html)\s+)(\w+)?/io
627 0 0 0 $$this{'_xhtml'} and $html ne 'html'
647 0 0 0 $$this{'_xml'} and uc $t eq 'PUBLIC'
717 0 0 0 not $minattr and $$this{'_xml'}
769 0 0 0 defined $pos and $pos > 0
770 0 0 0 $$this{'_tab_width'} > 1 and $pos > 0

or 2 conditions

line l !l condition
752 0 0 $q || '[none]'
792 0 0 $$err{'col'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 0 $! || $@
42 0 0 0 ref $class || $class
216 0 0 0 $val =~ /^\d+$/o or $val =~ /[\\\$\(\[]/o
244 0 0 0 $val =~ /^\d+%?$/o or $val =~ /[\\\$\(\[]/o
271 0 0 0 $val =~ /$vre/ or $val =~ /[\\\$\(\[]/o
279 0 0 0 $lel eq 'html' && $latt eq 'xmlns' || $latt eq 'xml:space' && $lel =~ /^(pre|s(cript|tyle))$/o
463 0 0 0 lc $start eq lc $end and $slash ne '/' or lc $start ne lc $end
747 0 0 0 $q eq '"' || $q eq q[']
748 0 0 0 $$this{'_xml'} || length $q
0 0 0 $is_ok ||= !($$this{'_xml'} || length $q)