blib/lib/Test/DatabaseRow/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 40 | 45 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
145 | 1 | 38 | 2 | $oper eq '=' and not defined $value |
333 | 13 | 26 | 3 | not $self->has_min_results || $self->has_max_results || $self->has_results and $num_rows_from_db == 0 |
341 | 30 | 8 | 1 | $self->has_results and $num_rows_from_db != $self->results |
348 | 36 | 1 | 1 | $self->has_min_results and $num_rows_from_db < $self->min_results |
355 | 35 | 1 | 1 | $self->has_max_results and $num_rows_from_db > $self->max_results |
550 | 1 | 232 | 0 | defined $_[0] and 0 + $_[0] |
line | l | !l | condition |
---|---|---|---|
313 | 8 | 11 | $$self{'verbose'} || 0 |
317 | 1 | 18 | $$self{'verbose_data'} || 0 |
366 | 8 | 23 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 22 | 40 | 1 | $$self{'sql_and_bind'} ||= $self->_build_sql_and_bind |
124 | 10 | 0 | 1 | ref $sql_and_bind eq '' or blessed $sql_and_bind |
175 | 59 | 47 | 0 | $$self{'db_results'} ||= $self->_build_db_results |
216 | 0 | 1 | 0 | $$self{'db_results_dumped'} ||= $self->_build_db_results_dumped |
333 | 2 | 9 | 29 | $self->has_min_results || $self->has_max_results || $self->has_results |
555 | 2 | 2 | 226 | $n == 11 or $n == 12 |
4 | 2 | 224 | $n == 11 or $n == 12 or $n == 13 |