Branch Coverage

blib/lib/REST/Neo4p/Constraint/RelationshipType.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
21 0 5 unless $self->tag
22 0 5 unless defined $constraints and ref $constraints eq "HASH"
23 3 2 if (my $cond = $constraints->{'_condition'}) { }
24 0 3 unless (grep /^$cond$/, ("only", "none"))
32 0 5 unless (defined $constraints->{'_type_list'} and ref $constraints->{'_type_list'} eq "ARRAY")
52 0 1 if (ref $_)
63 16 0 if defined $constraints->{'_type_list'}
73 0 0 unless $self->type_list
76 0 0 if ($tag eq $constraints->{'_type_list'}{$i})
87 0 0 unless ($condition =~ /^(only|none)$/)
96 0 14 unless defined $type
97 0 14 if ref($type) =~ /Neo4p::Relationship$/
98 12 2 grep(/^$type$/, $self->type_list) ? :