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 47 28 163 $is_valid and my($prop, $value_spec) = each %{$self->constraints;}
108 0 0 230 defined $prop and defined $value_spec
0 0 230 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 24 $value eq $value_spec or $value_spec eq '*'