Condition Coverage

blib/lib/XML/Handler/Dtd2Html.pm
Criterion Covered Total %
condition 0 70 0.0


and 2 conditions

line l !l condition
493 0 0 s/^([A-Za-z_:][0-9A-Za-z\.\-_:]*)// and $$self{'hash_element'}{$name}{'uses'}{$1} = 1

and 3 conditions

line !l l&&!r l&&r condition
463 0 0 0 $type eq 'element' and exists $$self{'hash_attr'}{$name}
600 0 0 0 $$self{'flag_href'} and not $href
825 0 0 0 $$self{'flag_comment'} and exists $$decl{'comments'}
834 0 0 0 uc $entry eq 'TITLE' and $$decl{'type'} eq 'doctype'
864 0 0 0 $$self{'flag_comment'} and exists $$self{'hash_attr'}{$name}
956 0 0 0 defined $$decl{'PublicId'} && defined $$decl{'SystemId'}
1316 0 0 0 $$self{'flag_comment'} and exists $$decl{'comments'}
1366 0 0 0 $type ne 'CDATA' and $type ne 'ID'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF' and $type ne 'IDREFS'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF' and $type ne 'IDREFS' and $type ne 'ENTITY'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF' and $type ne 'IDREFS' and $type ne 'ENTITY' and $type ne 'ENTITIES'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF' and $type ne 'IDREFS' and $type ne 'ENTITY' and $type ne 'ENTITIES' and $type ne 'NMTOKEN'
0 0 0 $type ne 'CDATA' and $type ne 'ID' and $type ne 'IDREF' and $type ne 'IDREFS' and $type ne 'ENTITY' and $type ne 'ENTITIES' and $type ne 'NMTOKEN' and $type ne 'NMTOKENS'
1458 0 0 0 -e $filename and -e uc $filename

or 2 conditions

line l !l condition
448 0 0 $hash{'language'} || 'en'

or 3 conditions

line l !l&&r !l&&!r condition
11 0 0 0 ref $proto || $proto
61 0 0 0 ref $proto || $proto
212 0 0 0 ref $proto || $proto
834 0 0 0 uc $entry eq 'BRIEF' or uc $entry eq 'HIDDEN'
0 0 0 uc $entry eq 'BRIEF' or uc $entry eq 'HIDDEN' or uc $entry eq 'TITLE' and $$decl{'type'} eq 'doctype'
877 0 0 0 uc $entry eq 'BRIEF' or uc $entry eq 'HIDDEN'
1000 0 0 0 $type eq 'CDATA' || $type eq 'ID' || $type eq 'IDREF' || $type eq 'IDREFS' || $type eq 'ENTITY' || $type eq 'ENTITIES' || $type eq 'NMTOKEN' || $type eq 'NMTOKENS'