Branch Coverage

blib/lib/Teng/Iterator.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
21 57 1 if ($self->{'sth'}) { }
24 5 52 unless ($row)
33 4 48 if ($self->{'suppress_object_creation'}) { }
36 11 37 if $self->{'apply_sql_types'}
55 27 2 if (defined $type) { }
1 1 elsif ($self->{'guess_sql_types'}) { }
56 9 18 if ($type == &SQL_BIGINT() or $type == &SQL_BIT() or $type == &SQL_TINYINT() or $type == &SQL_NUMERIC() or $type == &SQL_INTEGER() or $type == &SQL_SMALLINT() or $type == &SQL_DECIMAL() or $type == &SQL_FLOAT() or $type == &SQL_REAL() or $type == &SQL_DOUBLE()) { }
9 9 elsif ($type == &SQL_BOOLEAN()) { }
69 9 0 if ($self->{'teng'}{'boolean_value'}) { }
70 6 3 if ($row->{$column}) { }
82 1 0 if (&looks_like_number($row->{$column})) { }
96 21 0 if ($self->{'sth'})
102 21 0 unless ($self->{'suppress_object_creation'})
118 20 1 wantarray ? :