Condition Coverage

blib/lib/Mojo/Webqq/Log.pm
Criterion Covered Total %
condition 0 27 0.0


and 3 conditions

line !l l&&!r l&&r condition
58 0 0 0 $_[0] && $_[1]
66 0 0 0 $self->unicode_support and &Encode::is_utf8($log)
112 0 0 0 $self->console_output and -t STDOUT

or 2 conditions

line l !l condition
52 0 0 $opt{'head'} // ''
67 0 0 $self->encoding || 'console_out'
74 0 0 $self->encoding || 'console_out'

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 $opt{'level'} // $level
58 0 0 0 not $_[0] && $_[1] or $self->disable_color
0 0 0 not $_[0] && $_[1] or $self->disable_color or not $is_support_color
171 0 0 0 $ENV{'MOJO_LOG_LEVEL'} or (shift())->level