Condition Coverage

blib/lib/Data/Sofu/SofuML.pm
Criterion Covered Total %
condition 14 58 24.1


and 3 conditions

line !l l&&!r l&&r condition
285 0 0 66 $r and $r =~ /Data::Sofu/
0 0 66 $r and $r =~ /Data::Sofu/ and $r->isa('Data::Sofu::Object')
288 56 0 10 $data->isReference and $data->valid
383 0 0 2 $r and $r =~ /Data::Sofu/
0 0 2 $r and $r =~ /Data::Sofu/ and $r->isa('Data::Sofu::Object')
436 0 2 2 $r and $r =~ /Data::Sofu::/
2 0 2 $r and $r =~ /Data::Sofu::/ and $data->isa('Data::Sofu::Object')
438 0 0 2 ref $data and ref $data eq 'HASH'
439 0 0 2 ref $data and ref $data eq 'HASH'
628 0 0 0 ref $ret and ref $ret eq 'SCALAR'
637 0 0 0 $tree[-1] and ref $tree[-1]
0 0 0 $tree[-1] and ref $tree[-1] and ref $tree[-1] eq 'ARRAY'
639 0 0 0 ref $ret and ref $ret eq 'SCALAR'
705 0 0 0 $tree[-1] and $tree[-1]->isValue
737 0 0 0 $tree[-1] and $tree[-1]->isList

or 2 conditions

line l !l condition
380 0 2 shift() || 0
441 0 2 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
604 0 0 0 ref $tree[-1] or not defined $tree[-1]
634 0 0 0 ref $ret or not defined $ret
714 0 0 0 $end or $elem