Branch Coverage

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


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