Branch Coverage

blib/lib/DBIx/Sunny/Schema.pm
Criterion Covered Total %
branch 17 74 22.9


line true false branch
31 0 2 if (ref $class)
34 0 0 unless $row
45 0 0 unless $row
54 0 2 if (ref $class)
57 0 0 unless $row
61 1 1 if ref $_[-1] and ref $_[-1] eq 'CODE'
70 0 0 unless $row
71 0 0 if ($filter)
82 0 5 if (ref $class)
88 1 4 if ref $_[-1] and ref $_[-1] eq 'CODE'
97 0 0 if ($filter)
111 0 2 if (ref $class)
113 0 0 if $class->readonly
122 0 0 if $self->readonly
134 0 0 ref $self ? :
139 0 0 unless ($validators)
143 0 0 unless ($deflaters)
147 0 0 unless (exists $validators->{$method})
151 0 0 ref $rule ? :
152 0 0 if (my $deflater = delete $rule->{'deflater'})
153 0 0 if not ref $deflater or ref $deflater ne 'CODE'
167 0 0 if $class eq (ref $DB::args[0] || $DB::args[0])
174 0 0 if (my(@deflaters) = keys %{$$deflaters{$method};})
194 7 1 ref $rule ? :
195 2 6 if (my $deflater = delete $rule->{'deflater'})
196 0 2 if not ref $deflater or ref $deflater ne 'CODE'
206 6 0 unless ($query_tmpl =~ /:$metakey/)
211 6 5 unless ($is_named_placeholder_query)
215 0 6 if ($placeholder_num != $bind_num)
230 0 0 if ($type->is_a_type_of('ArrayRef')) { }
235 0 0 if ($deflater{$key})
239 0 0 $type_parameter_bind_type ? :
248 0 0 if ($deflater{$key})
252 0 0 $bind_type ? :
262 0 0 if ($is_named_placeholder_query) { }
286 0 0 $type->is_a_type_of('Num') ? :
0 0 $type->is_a_type_of('Int') ? :