Branch Coverage

blib/lib/SWISH/Filter.pm
Criterion Covered Total %
branch 4 62 6.4


line true false branch
153 0 0 ref $_[0] ? :
0 1 if @_
159 0 1 if $attr{'ignore_filters'}
176 0 0 unless ($filters)
177 0 0 unless $$self{'ignore_filter_list'}
264 0 0 ref $_[0] ? :
0 0 if @_
267 0 0 unless $self->filter_list
275 0 0 if (ref $content_type)
278 0 0 unless ($type)
286 0 0 if (ref $doc) { }
287 0 0 unless $content_type
293 0 0 unless ($content_type)
308 0 0 unless $doc_object
318 0 0 unless $filter->can_filter_mimetype($doc_object->content_type)
329 0 0 if ($@)
337 0 0 $filtered_doc ? :
343 0 0 if ($filtered_doc)
362 0 0 unless $doc_object->continue(0)
370 0 0 if $ENV{'FILTER_DEBUG'}
385 0 0 unless $$attr{$setting}
391 0 0 if ($setting eq 'name')
414 0 0 if $ENV{'FILTER_DEBUG'}
426 0 1 unless ($filter_ref)
427 0 0 ref $$self{'filters'} ? :
440 0 1 unless (@filters)
446 0 0 unless $a->type <=> $b->type
465 0 0 unless ($content_type)
470 0 0 if (exists $can_filter{$content_type}) { }
478 0 0 if ($filter->can_filter_mimetype($content_type))
495 0 0 unless $file