Branch Coverage

blib/lib/JSON/Client.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
16 0 4 unless ($port)
22 0 4 if ($verbose)
43 0 7 unless ($input)
49 3 4 unless ($sock)
52 0 4 if ($jcl->{'verbose'})
56 0 4 unless ($ok)
60 0 4 if ($jcl->{'verbose'})
63 0 4 unless (valid_json($got))
64 0 0 if ($jcl->{'verbose'})
82 3 5 unless ($sock)
100 6 0 if ($got =~ s/\x00//)