Branch Coverage

blib/lib/DBIx/Mint/Table.pm
Criterion Covered Total %
branch 48 48 100.0


line true false branch
13 2 1 if (ref $_[0] and ref $_[0] eq 'DBIx::Mint')
33 6 4 if (not ref $proto) { }
35 2 4 if (ref $_[0] and ref $_[0] eq 'DBIx::Mint') { }
2 2 elsif (ref $_[0]) { }
55 2 2 if ($_[0] and ref $_[0] eq 'DBIx::Mint') { }
85 15 1 if ($schema->auto_pk)
94 3 7 wantarray ? :
110 4 7 if (not ref $proto) { }
112 2 2 if (@_ == 3) { }
115 1 1 unless ref $mint eq 'DBIx::Mint'
127 1 2 unless ref $set and ref $where
165 3 2 if (not ref $proto) { }
167 1 2 if (ref $_[0] eq 'DBIx::Mint') { }
1 1 elsif (ref $_[0]) { }
199 2 3 if (ref $proto and $res)
208 1 47 if ref $class
218 6 41 if (ref $_[0] and ref $_[0] eq 'DBIx::Mint') { }
221 1 5 if (ref $_[0]) { }
236 1 40 if (ref $_[0]) { }
254 5 42 unless defined $$res[0]
264 1 2 if (ref $_[0] eq 'DBIx::Mint') { }
271 1 2 unless defined $obj
278 3 2 if (ref $instance) { }
287 1 4 unless defined $schema