Branch Coverage

lib/REST/Neo4p/Schema.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
16 0 0 unless "REST::Neo4p"->connected
18 0 0 unless ("REST::Neo4p"->_check_version(2, 0, 1))
35 0 0 unless defined $label and @props
41 0 0 if (my $e = 'REST::Neo4p::ConflictException'->caught) { }
0 0 elsif ($e = 'REST::Neo4p::IndexExistsException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
48 0 0 ref $e && $e->can('rethrow') ? :
58 0 0 unless defined $label
63 0 0 if (my $e = 'REST::Neo4p::NotFoundException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
67 0 0 ref $e && $e->can('rethrow') ? :
80 0 0 unless defined $label and @names
85 0 0 if (my $e = 'REST::Neo4p::NotFoundException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
89 0 0 ref $e && $e->can('rethrow') ? :
105 0 0 unless defined $label and defined $property
106 0 0 ref $property ? :
112 0 0 if (my $e = 'REST::Neo4p::ConflictException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
113 0 0 if ($e->neo4j_message =~ qr/constraint cannot be created/)
119 0 0 ref $e && $e->can('rethrow') ? :
129 0 0 unless defined $label
134 0 0 if (my $e = 'REST::Neo4p::NotFoundException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
138 0 0 ref $e && $e->can('rethrow') ? :
158 0 0 unless defined $label and defined $property
159 0 0 ref $property ? :
164 0 0 if (my $e = 'REST::Neo4p::NotFoundException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
168 0 0 ref $e && $e->can('rethrow') ? :