Branch Coverage

blib/lib/Net/Amazon/MechanicalTurk/FilterChain.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
21 1 0 unless $self->filters
27 1 6 if ($#{$filters;} < 0) { }
43 4 1 if ($#params > 0) { }
1 0 elsif ($#params == 0) { }
55 0 0 if (UNIVERSAL::isa($filter, 'ARRAY')) { }
56 0 0 if $$filter[0] == $code
59 0 0 if $filter == $code
73 1 1 if (UNIVERSAL::isa($$filters[$i], 'ARRAY')) { }
74 0 1 unless $$filters[$i][0] == $code
77 1 0 unless $$filters[$i] == $code
86 6 8 if (not defined $filters or $pos > $#{$filters;}) { }
97 5 3 if (UNIVERSAL::isa($filter, 'ARRAY'))