Branch Coverage

blib/lib/TableDataRole/Munge/Filter.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
23 0 2 unless my $tabledata = delete $args{'tabledata'}
26 0 2 unless $filter or $filter_hashref
28 2 2 unless defined $_
29 0 2 unless (ref $_ eq "CODE")
33 0 0 if $@
37 0 2 if keys %args
62 2 0 wantarray ? :
67 21 29 if $self->{'buffer'}
69 2 189 unless $self->{'tabledata'}->has_next_item
70 90 99 if ($self->{'filter'}) { }
72 15 75 if ($self->{'filter'}->($row))
79 12 87 if ($self->{'filter_hashref'}->($row_hashref))
89 0 23 if $self->{'buffer'}
91 21 2 $self->{'buffer'} ? :
97 0 27 unless $self->{'buffer'}