Branch Coverage

blib/lib/App/plackbench.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
51 5 151 if @_
53 38 118 unless (exists $stash{$key})
57 23 15 if (ref $value and ref $value eq "CODE")
89 1 10 if ($self->warm)
94 0 11 if ("DB"->can("enable_profile"))
123 1 10 if ($self->post_data) { }
144 5 0 if builtin::reftype($_)
159 2 4 unless ($sub)
163 1 3 if (not builtin::reftype($sub) or !builtin::reftype($sub) eq "CODE")
168 1 2 if (not $existing && builtin::reftype($existing) or builtin::reftype($existing) ne "ARRAY")
181 3 42 if ($response->is_error)