Condition Coverage

blib/lib/PRANG/Marshaller.pm
Criterion Covered Total %
condition 10 25 40.0


and 3 conditions

line !l l&&!r l&&r condition
161 72 0 0 $rootNodeNS and $expected_ns

or 2 conditions

line l !l condition
253 14 14 $gen_prefix ||= "a"
270 0 39 $xmlns || ''

or 3 conditions

line l !l&&r !l&&!r condition
65 236 172 0 $meta->does_role("PRANG::Graph") or $meta->meta->does_role("PRANG::Graph::Meta::Class")
72 369 39 0 $marshallers{$class} ||= do {
167 0 0 72 defined $rootNode->prefix or defined $rootNode->getAttribute("xmlns")
214 0 0 28 $zok or eval {
217 0 0 0 $zok ||= do {
233 0 0 0 length $name > 10 or not $name =~ /^[A-Za-z]\w+$/