Condition Coverage

blib/lib/Perinci/AccessUtil.pm
Criterion Covered Total %
condition 21 25 84.0


and 3 conditions

line !l l&&!r l&&r condition
28 0 1 1 $$nmeta{'result'}{'schema'} and $$nmeta{'result'}{'schema'}[0] eq 'buf'
31 2 1 3 defined $$res[2] and not ref $$res[2]
3 1 2 defined $$res[2] and not ref $$res[2] and $$res[2] =~ /[^\x20-\x7f]/

or 2 conditions

line l !l condition
21 8 2 $def_ver // 1.1
25 1 8 $encode // 1
43 6 0 $$res[3]{'riap.v'} // 1.1
58 1 0 $$res[2] // ''
73 1 1 $$req{'v'} // 1.1

or 3 conditions

line l !l&&r !l&&!r condition
21 1 10 0 $$res[3]{'riap.v'} //= $def_ver // 1.1
44 2 3 1 $ver == 1.1 or $ver == 1.2