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 $@
36 0 2 if keys %args
61 2 0 wantarray ? :
66 21 29 if $self->{'buffer'}
68 2 189 unless $self->{'tabledata'}->has_next_item
69 90 99 if ($self->{'filter'}) { }
71 15 75 if ($self->{'filter'}->($row))
78 12 87 if ($self->{'filter_hashref'}->($row_hashref))
88 0 23 if $self->{'buffer'}
90 21 2 $self->{'buffer'} ? :
96 0 27 unless $self->{'buffer'}