Condition Coverage

blib/lib/MySQL/Diff.pm
Criterion Covered Total %
condition 0 104 0.0


and 3 conditions

line !l l&&!r l&&r condition
222 0 0 0 $fields2 and $f2
229 0 0 0 not $f1 =~ /$f2\(\d+,\d+\)/ and $f1 ne "$f2 DEFAULT '' NOT NULL"
0 0 0 not $f1 =~ /$f2\(\d+,\d+\)/ and $f1 ne "$f2 DEFAULT '' NOT NULL" and $f1 ne "$f2 NOT NULL"
254 0 0 0 $fields1 and $fields1->{$field}
290 0 0 0 $indices2 and $indices2->{$index}
320 0 0 0 $indices1 and $indices1->{$index}
322 0 0 0 not $table2->isa_primary($index) and $table2->is_unique($index)
0 0 0 not $table2->isa_primary($index) and $table2->is_unique($index) and _key_covers_auto_col($table2, $index)
347 0 0 0 $primary1 and not $primary2
355 0 0 0 not $primary1 and $primary2
391 0 0 0 $fks2 and $fks2->{$fk}
414 0 0 0 $fks1 and $fks1->{$fk}
436 0 0 0 $primary and $table->isa_primary($field)

or 2 conditions

line l !l condition
307 0 0 _check_for_auto_col($table2, $indices1->{$index}, 1) || ''
363 0 0 _check_for_auto_col($table2, $primary1) || ''
485 0 0 $options1 || 'blank'

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 0 ref $class || $class
86 0 0 0 $inx == 1 or $inx == 2
131 0 0 0 $self->{'opts'}{'only-both'} or $self->{'opts'}{'keep-old-tables'}
213 0 0 0 $fields1 or $fields2
229 0 0 0 not $self->{'opts'}{'tolerant'} or not $f1 =~ /$f2\(\d+,\d+\)/ and $f1 ne "$f2 DEFAULT '' NOT NULL" and $f1 ne "$f2 NOT NULL"
280 0 0 0 $indices1 or $indices2
291 0 0 0 $indices1->{$index} ne $indices2->{$index} or ($table1->is_unique($index) xor $table2->is_unique($index))
0 0 0 $indices1->{$index} ne $indices2->{$index} or ($table1->is_unique($index) xor $table2->is_unique($index)) or ($table1->is_fulltext($index) xor $table2->is_fulltext($index))
343 0 0 0 $primary1 or $primary2
383 0 0 0 $fks1 or $fks2
472 0 0 0 $options1 or $options2
500 0 0 0 $self->{'opts'}{"$auth$authnum"} || $self->{'opts'}{$auth}
508 0 0 0 $self->{'opts'}{'dbh'} or $self->{'opts'}{"host$authnum"}
0 0 0 $self->{'opts'}{'dbh'} or $self->{'opts'}{"host$authnum"} or $self->{'opts'}{"port$authnum"}
0 0 0 $self->{'opts'}{'dbh'} or $self->{'opts'}{"host$authnum"} or $self->{'opts'}{"port$authnum"} or $self->{'opts'}{"user$authnum"}
0 0 0 $self->{'opts'}{'dbh'} or $self->{'opts'}{"host$authnum"} or $self->{'opts'}{"port$authnum"} or $self->{'opts'}{"user$authnum"} or $self->{'opts'}{"password$authnum"}
0 0 0 $self->{'opts'}{'dbh'} or $self->{'opts'}{"host$authnum"} or $self->{'opts'}{"port$authnum"} or $self->{'opts'}{"user$authnum"} or $self->{'opts'}{"password$authnum"} or $self->{'opts'}{"socket$authnum"}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
291 0 0 0 0 $table1->is_unique($index) xor $table2->is_unique($index)
0 0 0 0 $table1->is_fulltext($index) xor $table2->is_fulltext($index)