Branch Coverage

blib/lib/RPC/JSON/Shell.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
62 0 0 if ($service)
64 0 0 if ($rpcInstance and $rpcInstance->service)
74 0 0 if ($curArg and $arg =~ /"\s*$/) { }
0 0 elsif ($arg =~ /^\s*"/ and not $curArg) { }
0 0 elsif ($curArg) { }
91 0 0 if ('RPC::JSON::Shell'->can(lc $method)) { }
0 0 elsif ($method =~ /^quit|exit$/i) { }
0 0 elsif ($rpcInstance->methods->{$method}) { }
104 0 0 if ($rpcInstance and $rpcInstance->service) { }
143 0 0 if (@args == 1) { }
145 0 0 if ($rpcInstance)
149 0 0 unless ($rpcInstance)
168 0 0 if ($rpcInstance and $rpcInstance->service)
188 0 0 if ($rpcInstance and $rpcInstance->service) { }
190 0 0 if ($methods and ref $methods eq 'HASH' and %$methods) { }
215 0 0 if ($rpcInstance and $rpcInstance->service and $method) { }
216 0 0 if (my $result = $rpcInstance->$method(@args)) { }