Condition Coverage

blib/lib/Mojo/Weixin/Util.pm
Criterion Covered Total %
condition 0 60 0.0


and 3 conditions

line !l l&&!r l&&r condition
168 0 0 0 ref $cb eq 'CODE' and not &$cb('HASH', $deep, $_, $ref->{$_})
170 0 0 0 $unicode and not &Encode::is_utf8($_)
0 0 0 not $unicode and &Encode::is_utf8($_)
178 0 0 0 $recursive and ref $ref->{$_} eq 'ARRAY'
179 0 0 0 $unicode and not &Encode::is_utf8($ref->{$_})
0 0 0 not $unicode and &Encode::is_utf8($ref->{$_})
198 0 0 0 ref $cb eq 'CODE' and not &$cb('ARRAY', $deep, $_)
199 0 0 0 $recursive and ref $_ eq 'ARRAY'
200 0 0 0 $unicode and not &Encode::is_utf8($_)
0 0 0 not $unicode and &Encode::is_utf8($_)
286 0 0 0 ($_[0]{'level_color'} //= 'yellow') && ($_[0]{'content_color'} //= 'yellow')
299 0 0 0 ($_[0]{'level_color'} //= 'red') && ($_[0]{'content_color'} //= 'red')
307 0 0 0 ($_[0]{'level_color'} //= 'red') && ($_[0]{'content_color'} //= 'red')
315 0 0 0 ($_[0]{'level_color'} //= 'blue') && ($_[0]{'content_color'} //= 'blue')

or 2 conditions

line l !l condition
141 0 0 shift() || ''
143 0 0 $p{'max_bytes'} || 200
144 0 0 $p{'max_lines'} || 10
161 0 0 $opt{'unicode'} // 0
162 0 0 $opt{'recursive'} // 1
164 0 0 $opt{'deep'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
178 0 0 0 $recursive and ref $ref->{$_} eq 'ARRAY' or ref $ref->{$_} eq 'HASH'
199 0 0 0 $recursive and ref $_ eq 'ARRAY' or ref $_ eq 'HASH'