Branch Coverage

blib/lib/DBIx/MySQLSequence.pm
Criterion Covered Total %
branch 0 108 0.0


line true false branch
196 0 0 unless my $dbh = shift()
197 0 0 unless my $name = shift()
200 0 0 unless (_INSTANCE $dbh, 'DBI::db')
203 0 0 unless ($$dbh{'Driver'}{'Name'} eq 'mysql')
215 0 0 unless $self->dbh->{'AutoCommit'}
261 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
265 0 0 unless $rv
312 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
316 0 0 unless defined $rv
317 0 0 unless ($rv)
319 0 0 unless $rv = $self->_create_sequence_table
324 0 0 ref $self ? :
0 0 $rv ? :
345 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
348 0 0 unless my $rv = $self->_sequence_table_exists
367 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
371 0 0 unless defined $rv
372 0 0 unless $rv
393 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
400 0 0 $rv ? :
415 0 0 ref $_[0] ? :
0 0 unless my $self = ref $_[0] ? shift() : $_[0]->new(@_)
421 0 0 unless my $rv = $self->_db_void("update $DBIx::MySQLSequence::MYSQL_SEQUENCE_TABLE\n\t\tset sequence_value = last_insert_id(sequence_value + sequence_increment)\n\t\twhere sequence_name = ?", [lc $$self{'name'}])
427 0 0 $value ? :
446 0 0 if (ref $class)
449 0 0 unless my $dbh = shift()
474 0 0 unless defined $tables
475 0 0 unless $tables
478 0 0 if $_ eq $DBIx::MySQLSequence::MYSQL_SEQUENCE_TABLE
491 0 0 unless defined $rv
492 0 0 ref $rv && $$rv ? :
515 0 0 defined $_[0] && $_[0] =~ /^-?\d+$/ ? :
516 0 0 defined $_[0] && $_[0] =~ /^-?\d+$/ ? :
540 0 0 unless defined $record
541 0 0 unless $record
581 0 0 unless (_ARRAY0 $arguments)
587 0 0 unless $$self{'dbh'}
588 0 0 unless $$self{'dbh'}{'AutoCommit'}
592 0 0 unless $sth
596 0 0 unless ($result)
604 0 0 if ($rformat == 0) { }
0 0 elsif ($rformat == 1) { }
0 0 elsif ($rformat == 2) { }
0 0 elsif ($rformat == 3) { }
611 0 0 $rv ? :
617 0 0 scalar @list ? :
622 0 0 $rv ? :
644 0 0 if (ref $either) { }
680 0 0 ref $either ? :