Condition Coverage

blib/lib/PRANG/Graph/Meta/Class.pm
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
141 74 26 0 length $prefix and not exists $context->xsi->{$prefix}
158 3 0 0 $xmlns =~ m[^\w+://\w+\.w3\.org/.*schema]i and $attr->localname =~ /schema/i
164 1 0 56 my $tc = $meta_att->type_constraint and not $meta_att->xml_isa
243 388 32 16 $_->isa('XML::LibXML::Text') && $_->data =~ /\A\s*\Z/
301 60 11 202 $element->has_xml_max and $element->xml_max == 1
331 250 0 23 $element->has_xml_nodeName_attr && exists $init_arg_names{$key}
251 0 22 $element->has_xmlns_attr && exists $init_arg_xmlns{$key}
484 0 5 10 $xmlns && $xmlns->[$i]

or 2 conditions

line l !l condition
98 209 99 ref $_[0] || ''
146 83 17 $xmlns //= ""
379 60 1 $_->declaredPrefix // ""

or 3 conditions

line l !l&&r !l&&!r condition
391 0 386 403 $_->isa('XML::LibXML::Comment') || $_->isa('XML::LibXML::Text') && $_->data =~ /\A\s+\Z/