blib/lib/DBIx/AutoUpgrade/NativeStrings.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 26 | 53.8 |
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]) | |
149 | 0 | 0 | 0 | &looks_like_number($bind_type) && grep({$bind_type == $_;} @sql_string_types) |
line | l | !l | condition |
---|---|---|---|
52 | 0 | 3 | ref $val || 'NOREF' |
118 | 0 | 3 | $dbh->{'Callbacks'} //= {} |
119 | 0 | 3 | $parent_callbacks->{'ChildCallbacks'} //= {} |
147 | 0 | 0 | ref $bind_type || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 15 | 3 | 0 | not $val or (ref $val || 'NOREF') eq $expected_reftype |
54 | 3 | 9 | 6 | $val //= $default_val |
138 | 99 | 195 | 39 | &looks_like_number($scalar) || utf8::is_utf8($scalar) || !($scalar =~ /\P{ASCII}/) |