Condition Coverage

blib/lib/XML/RDDL.pm
Criterion Covered Total %
condition 12 23 52.1


and 3 conditions

line !l l&&!r l&&r condition
61 4 0 3 $$e{'NamespaceURI'} eq $XML::RDDL::NS_RDDL and $$e{'LocalName'} eq 'resource'

or 2 conditions

line l !l condition
63 0 3 get_attribute($e, $XML::RDDL::NS_XLINK, 'type') || 'simple'
64 0 3 get_attribute($e, $XML::RDDL::NS_XLINK, 'embed') || 'none'
65 0 3 get_attribute($e, $XML::RDDL::NS_XLINK, 'actuate') || 'none'
70 3 0 get_attribute($e, '', 'id') || ''
71 3 0 get_attribute($e, $XML::RDDL::NS_XLINK, 'role') || 'http://www.rddl.org/#resource'
72 3 0 get_attribute($e, $XML::RDDL::NS_XLINK, 'arcrole') || ''
73 3 0 get_attribute($e, $XML::RDDL::NS_XLINK, 'href') || ''
74 3 0 get_attribute($e, $XML::RDDL::NS_XLINK, 'title') || ''
76 3 0 get_last_defined($$self{'xLangStack'}) || ''
77 3 0 get_last_defined($$self{'xBaseStack'}) || ''