Branch Coverage

blib/lib/DBIx/AutoUpgrade/NativeStrings.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
52 0 18 unless not $val or (ref $val || 'NOREF') eq $expected_reftype
55 15 3 if $val
60 0 3 if @invalid_options
63 0 3 if $self->{'native'} eq "locale"
74 0 3 unless $dbh->isa("DBI::db")
75 0 3 if @invalid_args
83 0 6 if $_ eq "bind_param" and $_[3] and not $self->{'bind_type_is_string'}->($_[3])
87 58 116 $self->{'native'} eq 'default' ? :
91 0 39 unless $self->{'debug'}
95 30 9 if $sql and $arg_pos > 1
100 39 39 unless $package =~ /^DBI/
113 0 420 unless $_[$i]
116 297 123 if (not ref $_[$i]) { }
18 105 elsif (ref $_[$i] eq 'ARRAY') { }
117 264 33 if dont_need_upgrade($_[$i])
147 0 39 $previous_cb ? :
164 0 0 if (ref $bind_type || '') eq "HASH"