Condition Coverage

blib/lib/Mojo/Webqq/Util.pm
Criterion Covered Total %
condition 0 78 0.0


and 3 conditions

line !l l&&!r l&&r condition
136 0 0 0 ($bytes[$i] & 192) != 0 and ($bytes[$i] & 32) == 0
0 0 0 ($bytes[$i] & 224) != 0 and ($bytes[$i] & 16) == 0
0 0 0 ($bytes[$i] & 240) != 0 and ($bytes[$i] & 8) == 0
219 0 0 0 ref $cb eq 'CODE' and not &$cb('HASH', $deep, $_, $ref->{$_})
221 0 0 0 $unicode and not &Encode::is_utf8($_)
0 0 0 not $unicode and &Encode::is_utf8($_)
229 0 0 0 $recursive and ref $ref->{$_} eq 'ARRAY'
230 0 0 0 $unicode and not &Encode::is_utf8($ref->{$_})
0 0 0 not $unicode and &Encode::is_utf8($ref->{$_})
249 0 0 0 ref $cb eq 'CODE' and not &$cb('ARRAY', $deep, $_)
250 0 0 0 $recursive and ref $_ eq 'ARRAY'
251 0 0 0 $unicode and not &Encode::is_utf8($_)
0 0 0 not $unicode and &Encode::is_utf8($_)
329 0 0 0 defined $info and $i > 0
350 0 0 0 ($_[0]{'level_color'} //= 'yellow') && ($_[0]{'content_color'} //= 'yellow')
358 0 0 0 ($_[0]{'level_color'} //= 'red') && ($_[0]{'content_color'} //= 'red')
366 0 0 0 ($_[0]{'level_color'} //= 'red') && ($_[0]{'content_color'} //= 'red')
374 0 0 0 ($_[0]{'level_color'} //= 'blue') && ($_[0]{'content_color'} //= 'blue')

or 2 conditions

line l !l condition
127 0 0 shift() // 21
168 0 0 shift() || ''
170 0 0 $p{'max_bytes'} || 200
171 0 0 $p{'max_lines'} || 8
195 0 0 $c{$_[0]} || 'online'
205 0 0 $c{$_[0]} || 'unknown'
212 0 0 $opt{'unicode'} // 0
213 0 0 $opt{'recursive'} // 1
215 0 0 $opt{'deep'} // 0

or 3 conditions

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