Branch Coverage

blib/lib/ODO/RDFS/Property.pm
Criterion Covered Total %
branch 7 34 20.5


line true false branch
29 0 32 unless ref $self
38 0 32 if (exists $properties{'subPropertyOf'} and defined $properties{'subPropertyOf'})
41 0 0 unless (UNIVERSAL::isa($properties{'subPropertyOf'}, 'ODO::RDFS::Properties::subPropertyOf'))
45 0 0 unless ($self->can('properties'))
49 0 0 unless ($self->properties->can('subPropertyOf'))
58 0 32 if (exists $properties{'range'} and defined $properties{'range'})
61 0 0 unless (UNIVERSAL::isa($properties{'range'}, 'ODO::RDFS::Properties::range'))
65 0 0 unless ($self->can('properties'))
69 0 0 unless ($self->properties->can('range'))
78 0 32 if (exists $properties{'domain'} and defined $properties{'domain'})
81 0 0 unless (UNIVERSAL::isa($properties{'domain'}, 'ODO::RDFS::Properties::domain'))
85 0 0 unless ($self->can('properties'))
89 0 0 unless ($self->properties->can('domain'))
111 0 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
125 0 5 unless UNIVERSAL::can($my_super, '__to_statement_array')
136 5 15 unless $propertyName and $propertyName ne ''
144 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }