Branch Coverage

lib/Class/DBI/DFV.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
70 0 8 if $DEBUG
72 1 7 if ($self)
77 4 1 unless exists $$data{$field}
82 0 8 if $DEBUG
91 2 6 if ($results->has_invalid or $results->has_missing) { }
104 1 5 if ($self)
106 0 1 if $self->id ne $$data{$primary_column}
114 0 6 if $DEBUG
135 1 8 unless @_
193 7 1 if $_CACHED_PROFILES{$class}
202 1 0 unless ($$profile{'optional'})
214 1 7 ref $_[0] ? :
215 1 7 $self ? :
240 8 5 unless scalar @fields
257 10 3 unless $existing
263 1 2 if ($new_id and $new_id eq $old_id)