Condition Coverage

blib/lib/Mojo/MySQL5/Connection.pm
Criterion Covered Total %
condition 6 39 15.3


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 $len >= 1 and $len <= 4
113 0 6 25 $len >= 2 and $len <= 4
393 0 0 1 $auth_len == 21 and length $$self{'auth_plugin_data'} == 20
432 0 0 0 $$self{'seq'} and $seq != ($$self{'seq'} + 1 & 255)
547 1 0 0 $self->state eq 'idle' and $$self{'socket'}

or 2 conditions

line l !l condition
15 0 7 $ENV{'MOJO_MYSQL_DEBUG'} // 0
87 0 0 $len == 6 or $len = 8
186 0 0 $self->url->options->{'utf8'} // 1
327 0 1 $self->url->options->{'utf8'} // 1
475 0 0 $$self{'error_message'} //= 'timeout'
523 0 0 $self->url->host || 'localhost'
0 0 $self->url->port || 3306
0 0 $self->url->options->{'connect_timeout'} // 10
554 0 0 $sep || '|'

or 3 conditions

line l !l&&r !l&&!r condition
411 0 0 0 $_[0]{'ioloop'} ||= 'Mojo::IOLoop'->new
470 0 0 0 $$self{'error_message'} //= $err