Branch Coverage

blib/lib/Gantry/Utils/Model.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
23 0 0 unless $$dbh{'AutoCommit'}
32 0 0 unless $$dbh{'AutoCommit'}
74 0 0 if ($@)
86 0 0 unless @retvals
87 0 0 if wantarray
88 0 0 if $#retvals == 0
99 0 0 if (@_ > 1) { }
103 0 0 if ($$attr{'order_by'})
119 0 0 unless $id
133 0 0 if (@_ == 1) { }
146 0 0 if (ref($_[-1]) =~ /HASH/)
150 0 0 if ($$attr{'order_by'})
155 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (ref $_[0] eq 'ARRAY') { }
172 0 0 if (my $rows_per_page = delete $$attr{'rows'})
204 0 0 if ($sth->fetch) { }
224 0 0 if (not defined $$value_for{$primary} and $class->can('get_sequence_name'))
247 0 0 unless ($dbh->do($sql))
248 0 0 unless $$dbh{'AutoCommit'}
269 0 0 unless ($sth->fetch)
280 0 0 ref $_[0] ? :
285 0 0 defined $row ? :
327 0 0 unless ($dbh->do($sql))
328 0 0 unless $$dbh{'AutoCommit'}
352 0 0 wantarray ? :