Branch Coverage

blib/lib/Fey/Schema.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
51 1 220 if $self->table($name)
66 2 1 unless &blessed($table)
125 5 7 &blessed($table) ? :
129 2 10 unless $self->_fks->{$name}
144 36 3 $table1->isa('Fey::Table') ? :
4 39 !&blessed($table1) ? :
149 35 3 $table2->isa('Fey::Table') ? :
5 38 !&blessed($table2) ? :
157 1 42 unless $self->_fks->{$name1}
161 77 9 if &blessed($_)
162 38 5 unless grep {$_->is_alias if &blessed($_);} $table1, $table2
164 0 5 unless &blessed($table1)
167 1 4 unless &blessed($table2)
195 1 4 $table1->name eq $fk->source_table->name ? :