Condition Coverage

blib/lib/SWISH/Filter.pm
Criterion Covered Total %
condition 2 13 15.3


or 2 conditions

line l !l condition
168 0 1 $$self{'doc_class'} ||= 'SWISH::Filter::Document'
269 0 0 delete $attr{'document'} || die("Failed to supply document attribute 'document' when calling filter()\n")

or 3 conditions

line l !l&&r !l&&!r condition
151 0 1 0 ref $class || $class
292 0 0 0 $content_type ||= $self->decode_content_type($doc)
298 0 0 0 $attr{'name'} ||= $doc