Condition Coverage

blib/lib/Rose/DB/MariaDB.pm
Criterion Covered Total %
condition 0 79 0.0


and 3 conditions

line !l l&&!r l&&r condition
81 0 0 0 @_ and $self->has_dbh
88 0 0 0 @_ and $self->has_dbh
194 0 0 0 $hints and $version >= 3023012
264 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
272 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
280 0 0 0 $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
293 0 0 0 $size and $val->Size != $size
302 0 0 0 $from_db and $val =~ /^\d+$/
376 0 0 0 @_ > 1 and not ref $_[1]
397 0 0 0 @set and defined $set[0]
420 0 0 0 $col_info->{'TYPE_NAME'} eq 'timestamp' and defined $col_info->{'COLUMN_DEF'}
453 0 0 0 $col_info->{'mariadb_is_auto_increment'} and ref($self)->coerce_autoincrement_to_serial

or 2 conditions

line l !l condition
102 0 0 $3 || 0
247 0 0 $lock->{'type'} ||= 'for update'

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 $args{'db'} || $args{'database'}
264 0 0 0 $_[1] =~ /^(?:(?:now|cur(?:date|time)|sysdate)\(\)| current_(?:time|date|timestamp)(?:\(\))?|0000-00-00)$/xi or $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
272 0 0 0 $_[1] =~ /^(?:(?:now|cur(?:date|time)|sysdate)\(\)| current_(?:time|date|timestamp)(?:\(\))?|0000-00-00[ ]00:00:00)$/xi or $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
280 0 0 0 $_[1] =~ /^(?:(?:now|cur(?:date|time)|sysdate)\(\)| current_(?:time|date|timestamp)(?:\(\))?|0000-00-00[ ]00:00:00|00000000000000)$/xi or $_[0]->keyword_function_calls and $_[1] =~ /^\w+\(.*\)$/
302 0 0 0 $val =~ s/^0x// or $val =~ s/^X'(.*)'$/$1/
0 0 0 $val =~ s/^0x// or $val =~ s/^X'(.*)'$/$1/ or $val =~ /^[0-9a-f]+$/i
304 0 0 0 $size || length($val) * 4
308 0 0 0 $size || length $val
312 0 0 0 $size || length($val) * 4
316 0 0 0 $size || length($val) * 4
320 0 0 0 $size || length $val
349 0 0 0 $_[0]{'should_inline_bitfield_value'} ||= (shift())->database_version >= 5000003 ? 1 : 0
422 0 0 0 $col_info->{'COLUMN_DEF'} eq '0000-00-00 00:00:00' or $col_info->{'COLUMN_DEF'} eq '00000000000000'