Branch Coverage

blib/lib/JSON/Client.pm
Criterion Covered Total %
branch 15 22 68.1


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