Condition Coverage

blib/lib/Mojo/MySQL5/Connection.pm
Criterion Covered Total %
condition 6 44 13.6


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)
564 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'
510 0 0 $self->url->options->{'connect_timeout'} // 10
539 0 0 $self->url->host || '127.0.0.1'
0 0 $self->url->port || 3306
0 0 $self->url->options->{'connect_timeout'} // 10
571 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
504 0 0 0 $self->url->host eq '' or $self->url->host eq 'localhost'