Branch Coverage

blib/lib/SWISH/Filter/Document.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
53 0 0 unless $doc and $content_type
57 0 0 if (ref $doc) { }
58 0 0 unless (length $$doc)
64 0 0 unless $content_type
70 0 0 unless (-r $doc)
92 0 0 if $doc_ref
99 0 0 unless ($ENV{'FILTER_DEBUG'})
100 0 0 if $$self{'temp_file'}
120 0 0 unless ($used)
152 0 0 ref $$self{'cur_doc'} ? :
169 0 0 $self->filters_used ? :
200 0 0 if $content_type =~ /^\Q$_\E/
242 0 0 ref $$self{'cur_doc'} ? :
262 0 0 if $continue
274 0 0 unless $type
281 0 0 if ref $doc
284 0 0 unless open $sym, "<$doc"
285 0 0 if $self->is_binary
303 0 0 unless ref $doc
308 0 0 if $self->is_binary
310 0 0 unless print $fh $$doc
311 0 0 unless close $fh
383 0 0 if ($SWISH::Filter::Document::AUTOLOAD =~ /.*::set_(\w+)/ and $SWISH::Filter::extra_methods{$1}) { }
0 0 elsif ($SWISH::Filter::Document::AUTOLOAD =~ /.*::(\w+)/ and $SWISH::Filter::extra_methods{$1}) { }