Branch Coverage

blib/lib/DBIx/Class/Schema/Diff/SchemaData.pm
Criterion Covered Total %
branch 28 38 73.6


line true false branch
45 0 106 unless $self->data->{'sources'}
60 0 1 unless $path
63 0 1 if -e $file
66 0 1 unless open $out_fh, '>', $file
69 1 0 -f $file ? :
116 38 14 if not $v or ref $v
120 14 0 $v->can('connect') ? :
126 77149 28796 unless my $rt = ref $v
128 23854 4942 if ($rt eq 'HASH') { }
2663 2279 elsif ($rt eq 'ARRAY') { }
1634 645 elsif ($rt eq 'CODE') { }
155 24308 63968 if ($rt) { }
156 19793 4515 if ($rt eq 'HASH') { }
2236 2279 elsif ($rt eq 'ARRAY') { }
172 56474 43 if $v and $ns and $v ne $ns
180 0 2 unless scalar @keywords > 0
186 0 3 unless $self->can($meth)
221 23 0 if (my $columns = $rsrcData->{'columns'})
237 46 0 if exists $rsrcData->{$key}