Condition Coverage

blib/lib/HTML/MobileConverter.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
118 0 1 0 $w and $h
1 0 0 $w and $h and $w < 100
1 0 0 $w and $h and $w < 100 and $h < 100
207 0 3 0 $$self{'maxlength'} and length $$self{'html'} > $$self{'maxlength'}

or 2 conditions

line l !l condition
18 0 1 $$self{'maxlength'} ||= 50000
19 0 1 $$self{'maxpctagcount'} ||= 10
20 0 1 $$self{'maxpctagrate'} ||= 0.1
25 1 0 $$self{'hrefhandler'} ||= sub { my $href = shift(); return 'URI'->new_abs($href, $$self{'baseuri'}); }
26 0 1 $$self{'mobiletag'} ||= {'a', 'name|accesskey|href|cti|ijam|utn|subject|body|telbook|kana|email|ista|ilet|iswf|irst', 'base', 'href', 'blink', '', 'blockquote', '', 'body', 'bgcolor|text|link|alink|vlink', 'br', 'clear', 'center', '', 'dd', '', 'dir', 'type', 'div', 'align', 'dl', '', 'dt', '', 'font', 'color|size', 'form', 'action|method|utn', 'head', '', 'h1', 'align', 'h2', 'align', 'h3', 'align', 'h4', 'align', 'h5', 'align', 'h6', 'align', 'hr', 'align|size|width|noshade|color', 'html', '', 'img', 'src|align|width|height|hspace|vspace|alt', 'input', 'type|name|size|maxlength|accesskey|value|istyle|checked', 'li', 'type|value', 'marquee', 'behavior|direction|loop|height|width|scrollmount|scrolldelay|bgcolor', 'menu', 'type', 'meta', 'http\\-equiv|content', 'object', 'declare|id|data|type|width|height', 'ol', 'type|start', 'option', 'selected|value', 'p', 'align', 'param', 'name|value|valuetype', 'plaintext', '', 'pre', '', 'select', 'name|size|multiple', 'textarea', 'name|accesskey|rows|cols|istyle', 'title', '', 'ul', 'type'}
120 1 0 $$attr{'alt'} || $$attr{'title'} || ''