Branch Coverage

blib/lib/TAP/Filter.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
147 5 5 if not defined $name or ref $name
152 4 5 unless $@
165 3 5 unless defined $filter and UNIVERSAL::can($filter, 'can') and $filter->can('add_to_parser')
262 2 0 unless ($@)
280 16 10 unless defined $data
295 8 5 if $$spec{'description'}
297 4 9 if (my $dir = $$spec{'directive'})
299 2 2 if $$spec{'explanation'}
323 1 13 if @_ & 1