Branch Coverage

blib/lib/Prophet/Record.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
93 0 0 if ($foreign_class->isa('Prophet::Collection')) { }
0 0 elsif ($foreign_class->isa('Prophet::Record')) { }
203 0 0 unless keys %$props
205 0 0 unless $self->validate_props($props)
247 0 0 unless $_[0]
253 0 0 unless $_[0]
259 0 0 if ($args{'luid'}) { }
262 0 0 if $self->uuid
266 0 0 if $self->luid
278 0 0 if defined $args{'luid'}
286 0 0 $self->uuid ? :
320 0 0 unless $self->uuid
323 0 0 unless $self->validate_props($args{'props'})
325 0 0 unless grep {defined $_;} values %{$args{'props'};}
344 0 0 unless $self->uuid
376 0 0 unless $self->uuid
418 0 0 $args{'limit'} ? :
452 0 0 $h{$_}++ == 0 ? :
471 0 0 unless $self->_validate_prop_name($key)
472 0 0 if (my $sub = $self->can('validate_prop_' . $key))
475 0 0 unless &$sub($self, 'props', $props, 'errors', $errors)
478 0 0 if (@errors)
518 0 0 if (my $sub = $self->can('canonicalize_prop_' . $prop))
546 0 0 unless defined $props->{$key}
586 0 0 if (my(@options) = $self->recommended_values_for_prop($prop))
589 0 0 if scalar grep({$args->{'props'}{$prop} eq $_;} @options) or $args->{'props'}{$prop} =~ s/!$//
618 0 0 if (my $code = $self->can('_recommended_values_for_prop_' . $prop)) { }
674 0 0 unless $format
709 0 0 if ($atom =~ /,/) { }
714 0 0 unless ($value =~ /^\$/)
746 0 0 $self->_summary_format ? :
751 0 0 if wantarray
805 0 0 if ($value_in =~ /^\$[gu]uid/) { }
0 0 elsif ($value_in eq '$luid') { }
867 0 0 unless $self->REFERENCES->{$class}
882 0 0 unless $self->REFERENCES->{$class}