Branch Coverage

blib/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
43 0 0 unless $self->db_schema
47 0 0 if (not defined $self->preserve_case) { }
0 0 elsif ($self->preserve_case) { }
129 0 0 unless (exists $rels{$fk})
130 0 0 if ($self->db_schema and $self->db_schema->[0] ne "%" and not &any(sub { $_ eq $remote_schema; } , @{$self->db_schema;}))
164 0 0 $schema ? :
192 0 0 if ($sth->fetchrow_array)
198 0 0 unless ($data_type =~ /^(?:(?:var)?(?:char|graphic)|decimal)\z/i)
202 0 0 if ($data_type eq 'double') { }
0 0 elsif ($data_type eq 'decimal') { }
0 0 elsif ($data_type =~ /^(?:((?:var)?char) \(\) for bit data|(long varchar) for bit data)\z/i) { }
210 0 0 unless $info->{'size'}
212 0 0 if ($size[0] == 5 and $size[1] == 0)
223 0 0 if ($base_type eq 'long varchar') { }
227 0 0 if ($base_type eq 'char') { }
0 0 elsif ($base_type eq 'varchar') { }
240 0 0 if $size
244 0 0 if ((eval { do { lc ${$info->{'default_value'};} } } || '') =~ /^current (date|time(?:stamp)?)\z/i)