Branch Coverage

blib/lib/MySQL/Insert.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
97 0 0 unless @_ and $_[0]
99 0 0 ref $_[0] ? :
116 0 0 unless $$self{'_fields'}
117 0 0 wantarray ? :
140 0 0 if $self->_finish_current_row
156 0 0 if ($$self{'_do_append_row_to_query'})
158 0 0 if ($$self{'_total_rows'} >= $MAX_ROWS_TO_QUERY)
173 0 0 unless $$self{'_query_exists'}
179 0 0 if ($$self{'_statement'} =~ /^INSERT/i and $$self{'_on_duplicate_update'})
188 0 0 unless my $result = $$self{'_dbh'}->do($query)
201 0 0 unless ($self->get_fields)
202 0 0 unless ref $$self{'_current_row'} eq 'HASH'
209 0 0 if (ref $$self{'_current_row'} eq 'HASH') { }
227 0 0 if (ref $value eq 'SCALAR') { }