Condition Coverage

blib/lib/XML/Easy/Transform/RationalizeNamespacePrefixes.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
170 28 1 1 $prefix eq 'xml' and $ns ne 'http://www.w3.org/XML/1998/namespace'
211 22 5 10 $prefix eq '' and not exists $$assigned_prefixes{''}
232 27 6 4 $aprefix eq '' and $alocal_name eq 'xmlns'

or 3 conditions

line l !l&&r !l&&!r condition
241 3 0 7 $force_attr_prefix && length $new_prefix || $new_prefix ne $new_element_prefix