Branch Coverage

lib/Web/ComposableRequest/Util.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
168 1 4 unless @params > 0
172 3 1 if exists $class_stash->{$class}
180 1 0 if defined $default
191 5 2 if not defined $param->[0] or &blessed($param->[0])
207 1 10 &is_arrayref($v) ? :
215 3 0 $v ? :
223 27 167 $_[0] && ref $_[0] eq 'ARRAY' ? :
227 12 38 $_[0] && ref $_[0] eq 'HASH' ? :
231 0 43 unless $candidate
233 7 36 if &is_arrayref($args[0])
235 11 32 &first(sub { $_ eq $candidate; } , @args) ? :
245 4 0 &is_arrayref($args[-1]) ? :
254 0 0 $src->can($k) ? :
0 34 $class ? :
257 11 21 if defined $v
268 0 6 exists $INC{'threads.pm'} ? :