Branch Coverage

blib/lib/App/yajg/Hooks.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
14 0 2 unless &JSON::is_bool($_[0])
15 1 1 $_[0] ? :
21 0 2 unless &JSON::is_bool($_[0])
26 0 2 unless &JSON::is_bool($_[0])
27 1 1 $_[0] ? :
36 31 0 unless utf8::is_utf8($_)
42 0 6 unless defined $_[0] and not ref $_[0]
47 2 4 unless defined $uri{'host'}
55 6 6 /=/u ? :
64 0 1 unless utf8::is_utf8($code)
68 0 1 if $@