Branch Coverage

blib/lib/App/yajg/Hooks.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
12 6 0 if defined $_[0] and ref $_[0]
16 0 2 unless &_is_bool($_[0])
17 1 1 $_[0] ? :
23 0 2 unless &_is_bool($_[0])
28 0 2 unless &_is_bool($_[0])
29 1 1 $_[0] ? :
38 31 0 unless utf8::is_utf8($_)
44 0 6 unless defined $_[0] and not ref $_[0]
49 2 4 unless defined $uri{'host'}
57 6 6 /=/u ? :
66 0 1 unless utf8::is_utf8($code)
70 0 1 if $@