Condition Coverage

blib/lib/Catalyst/Controller/SimpleCAS/Role/TextTranscode.pm
Criterion Covered Total %
condition 0 44 0.0


and 2 conditions

line l !l condition
371 0 0 $styles .= $tag->as_is and next

and 3 conditions

line !l l&&!r l&&r condition
182 0 0 0 $MIME and $MIME->subparts
223 0 0 0 $SubPart->content_type and $SubPart->content_type =~ m[multipart/related]
350 0 0 0 $in_body and $tag->is_end_tag('body')
351 0 0 0 $in_body and not $tag->is_comment
376 0 0 0 $strip and not $tag->is_tag('style')

or 2 conditions

line l !l condition
39 0 0 $c->req->params->{'dest_encoding'} || 'utf-8'
57 0 0 $self->get_strip_orig_filename(\$html) || 'content.mht'
188 0 0 encoding_from_html_document($src_octets) || 'utf-8'
330 0 0 $style ||= ''
504 0 0 $c->mount_url || ''
522 0 0 $c->mount_url || ''

or 3 conditions

line l !l&&r !l&&!r condition
33 0 0 0 $rct eq 'JSON' or $rct eq 'text/x-rapidapp-form-response'
187 0 0 0 not $upload or $upload->type =~ /^text/
245 0 0 0 HTML::Encoding::encoding_from_html_document($decoded) || HTML::Encoding::encoding_from_byte_order_mark($decoded) || HTML::Encoding::encoding_from_meta_element($decoded) || HTML::Encoding::xml_declaration_from_octets($decoded) || HTML::Encoding::encoding_from_first_chars($decoded) || HTML::Encoding::encoding_from_xml_declaration($decoded) || HTML::Encoding::encoding_from_content_type($decoded) || HTML::Encoding::encoding_from_xml_document($decoded)
260 0 0 0 $self->parse_html_base_href(\$html) || $self->get_mime_part_base_path($MainPart)
265 0 0 0 $Part == $MIME or $Part == $MainPart