Condition Coverage

blib/lib/Moxy/Util.pm
Criterion Covered Total %
condition 0 14 0.0


or 2 conditions

line l !l condition
35 0 0 $charset ||= 'cp932'

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 0 $$self{'__charset'} ||= do { my $charset; if ($self->header('Content-Type') =~ /charset=([\w\-]+)/io) { $charset = $1; } ; $charset ||= ($self->content =~ /<\?xml version="1.0" encoding="([\w\-]+)"\?>/)[0]; $charset ||= ($self->content =~ /content); $charset ||= 'cp932'; $charset }
32 0 0 0 $charset ||= ($self->content =~ /<\?xml version="1.0" encoding="([\w\-]+)"\?>/)[0]
33 0 0 0 $charset ||= ($self->content =~ /
34 0 0 0 $charset ||= &$Detector($self->content)