Condition Coverage

blib/lib/REST/Neo4p/Constraint/Property.pm
Criterion Covered Total %
condition 15 25 60.0


and 3 conditions

line !l l&&!r l&&r condition
15 0 1 17 defined $constraints and ref $constraints eq 'HASH'
32 0 0 1 not ref $key and $key =~ /^[a-z0-9_]+$/i
93 39 28 166 $is_valid and my($prop, $value_spec) = each %{$self->constraints;}
108 0 0 220 defined $prop and defined $value_spec
0 0 220 defined $prop and defined $value_spec and defined $condition

or 2 conditions

line l !l condition
24 3 14 $constraints->{'_priority'} ||= 0
235 3 2 $self->constraints->{'_relationship_type'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
35 0 1 0 not ref $value or ref $value eq 'ARRAY'
147 52 0 16 $value eq $value_spec or $value_spec eq '*'