Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
51 0 0 $opt{'head'} // ''
66 0 0 $self->encoding || 'console_out'
73 0 0 $self->encoding || 'console_out'

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 0 $opt{'level'} // $level
57 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
170 0 0 0 $ENV{'MOJO_LOG_LEVEL'} or (shift())->level