Branch Coverage

blib/lib/Perinci/AccessUtil.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
22 8 2 if ($$res[3]{'riap.v'} >= 1.2)
25 1 7 if $$res[3]{'riap.result_encoding'}
26 2 5 if ($nmeta)
27 1 1 unless $$nmeta{'result'}{'schema'} and $$nmeta{'result'}{'schema'}[0] eq 'buf'
30 2 2 unless defined $$res[2] and not ref $$res[2] and $$res[2] =~ /[^\x20-\x7f]/
43 1 5 unless $ver == 1.1 or $ver == 1.2
47 3 2 if ($ver >= 1.2)
50 0 5 unless $k =~ /\Ariap\./
52 2 3 if ($k eq 'riap.v') { }
2 1 elsif ($k eq 'riap.result_encoding') { }
54 1 1 unless $val eq 'base64'
73 1 1 if ($v >= 1.2)
74 1 0 if ($$req{'args'})
77 1 1 unless /\A(.+):base64\z/