Condition Coverage

blib/lib/DBIx/AutoUpgrade/NativeStrings.pm
Criterion Covered Total %
condition 22 34 64.7


and 2 conditions

line l !l condition
100 0 39 $start_msg .= " in $package at $file line $line" and last

and 3 conditions

line !l l&&!r l&&r condition
83 168 6 0 $_ eq "bind_param" and $_[3]
6 0 0 $_ eq "bind_param" and $_[3] and not $self->{'bind_type_is_string'}->($_[3])
89 6 3 165 !ref($_[1]) && $_[1]
95 3 6 30 $sql and $arg_pos > 1
166 0 0 0 &looks_like_number($bind_type) && grep({$bind_type == $_;} @sql_string_types)

or 2 conditions

line l !l condition
52 3 3 ref $val || 'NOREF'
135 0 3 $dbh->{'Callbacks'} //= {}
136 0 3 $parent_callbacks->{'ChildCallbacks'} //= {}
164 0 0 ref $bind_type || ''

or 3 conditions

line l !l&&r !l&&!r condition
52 12 6 0 not $val or (ref $val || 'NOREF') eq $expected_reftype
54 6 9 3 $val //= $default_val
155 99 195 39 &looks_like_number($scalar) || utf8::is_utf8($scalar) || !($scalar =~ /\P{ASCII}/)