Branch Coverage

blib/lib/JSON/RPC/Spec/Procedure.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
25 4 45 if (ref $obj ne 'HASH')
35 9 36 if ($method eq '' or $method =~ /\A\.|\A[0-9]+\z/)
46 8 28 if ($self->_is_notification)
49 9 19 if ($err)
51 4 5 if ($err =~ /rpc_method_not_found/) { }
1 4 elsif ($err =~ /rpc_invalid_params/) { }
76 6 31 unless ($matched)