Branch Coverage

blib/lib/SQL/Type/Guess.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
146 46 281 if $descriptor = &$_($value)
153 30 16 if ($type) { }
154 6 24 if ($type =~ s/\s*\((\d+)\)//) { }
22 2 elsif ($type =~ s/\s*\((\d+),(\d+)\)//) { }
155 2 4 if ($1 > $descriptor->{'length'})
162 6 16 $new_pre > $descriptor->{'pre'} ? :
163 0 22 $2 > $descriptor->{'post'} ? :
170 20 26 if ($type ne $this_value_type)
171 0 20 unless (exists $$column_map{"$type;$this_value_type"})
203 8 8 if ($new_type ne ($column_type->{$col} || ''))
239 0 1 defined $options{'user'} ? :