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
357 0 0 66 $r and $r =~ /Data::Sofu/
0 0 66 $r and $r =~ /Data::Sofu/ and $r->isa('Data::Sofu::Object')
360 56 0 10 $data->isReference and $data->valid
455 0 0 2 $r and $r =~ /Data::Sofu/
0 0 2 $r and $r =~ /Data::Sofu/ and $r->isa('Data::Sofu::Object')
508 0 2 2 $r and $r =~ /Data::Sofu::/
2 0 2 $r and $r =~ /Data::Sofu::/ and $data->isa('Data::Sofu::Object')
510 0 0 2 ref $data and ref $data eq 'HASH'
511 0 0 2 ref $data and ref $data eq 'HASH'
724 0 0 0 ref $ret and ref $ret eq 'SCALAR'
733 0 0 0 $tree[-1] and ref $tree[-1]
0 0 0 $tree[-1] and ref $tree[-1] and ref $tree[-1] eq 'ARRAY'
735 0 0 0 ref $ret and ref $ret eq 'SCALAR'
813 0 0 0 $tree[-1] and $tree[-1]->isValue
857 0 0 0 $tree[-1] and $tree[-1]->isList

or 2 conditions

line l !l condition
452 0 2 shift() || 0
513 0 2 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
688 0 0 0 ref $tree[-1] or not defined $tree[-1]
730 0 0 0 ref $ret or not defined $ret
828 0 0 0 $end or $elem