Branch Coverage

blib/lib/ODO/Jena/Graph/Settings.pm
Criterion Covered Total %
branch 119 294 40.4


line true false branch
25 0 4 unless ref $self
30 1 3 if (exists $properties{'PSetName'} and defined $properties{'PSetName'})
34 0 1 unless (UNIVERSAL::isa($properties{'PSetName'}, 'ODO::Jena::Graph::Properties::PSetName'))
43 0 1 unless ($self->can('properties'))
46 0 1 unless ($self->properties->can('PSetName'))
51 1 3 if (exists $properties{'PSetTable'} and defined $properties{'PSetTable'})
54 0 1 unless (UNIVERSAL::isa($properties{'PSetTable'}, 'ODO::Jena::Graph::Properties::PSetTable'))
63 0 1 unless ($self->can('properties'))
66 0 1 unless ($self->properties->can('PSetTable'))
71 1 3 if (exists $properties{'PSetType'} and defined $properties{'PSetType'})
74 0 1 unless (UNIVERSAL::isa($properties{'PSetType'}, 'ODO::Jena::Graph::Properties::PSetType'))
83 0 1 unless ($self->can('properties'))
86 0 1 unless ($self->properties->can('PSetType'))
104 0 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
114 0 3 unless UNIVERSAL::can($my_super, '__to_statement_array')
126 3 9 unless $propertyName and $propertyName ne ''
132 9 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
159 0 4 unless ($parent)
162 1 3 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::PSetName'))
169 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
190 0 4 unless ($parent)
193 1 3 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::PSetTable'))
200 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
221 0 4 unless ($parent)
224 1 3 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::PSetType'))
231 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
269 0 1 unless ref $self
275 0 1 if (exists $properties{'GraphLSet'} and defined $properties{'GraphLSet'})
279 0 0 unless (UNIVERSAL::isa($properties{'GraphLSet'}, 'ODO::Jena::Graph::Properties::GraphLSet'))
288 0 0 unless ($self->can('properties'))
291 0 0 unless ($self->properties->can('GraphLSet'))
296 0 1 if (exists $properties{'GraphName'} and defined $properties{'GraphName'})
299 0 0 unless (UNIVERSAL::isa($properties{'GraphName'}, 'ODO::Jena::Graph::Properties::GraphName'))
308 0 0 unless ($self->can('properties'))
311 0 0 unless ($self->properties->can('GraphName'))
316 0 1 if (exists $properties{'GraphType'} and defined $properties{'GraphType'})
319 0 0 unless (UNIVERSAL::isa($properties{'GraphType'}, 'ODO::Jena::Graph::Properties::GraphType'))
328 0 0 unless ($self->can('properties'))
331 0 0 unless ($self->properties->can('GraphType'))
336 0 1 if (exists $properties{'GraphId'} and defined $properties{'GraphId'})
339 0 0 unless (UNIVERSAL::isa($properties{'GraphId'}, 'ODO::Jena::Graph::Properties::GraphId'))
348 0 0 unless ($self->can('properties'))
351 0 0 unless ($self->properties->can('GraphId'))
356 0 1 if (exists $properties{'GraphPrefix'} and defined $properties{'GraphPrefix'})
359 0 0 unless (UNIVERSAL::isa($properties{'GraphPrefix'}, 'ODO::Jena::Graph::Properties::GraphPrefix'))
368 0 0 unless ($self->can('properties'))
371 0 0 unless ($self->properties->can('GraphPrefix'))
391 0 1 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
401 0 1 unless UNIVERSAL::can($my_super, '__to_statement_array')
415 1 5 unless $propertyName and $propertyName ne ''
421 3 1 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
448 0 2 unless ($parent)
451 1 1 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::GraphLSet'))
458 0 1 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
479 0 2 unless ($parent)
482 1 1 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::GraphName'))
489 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
510 0 2 unless ($parent)
513 1 1 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::GraphType'))
520 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
541 0 2 unless ($parent)
544 1 1 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::GraphId'))
551 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
572 0 1 unless ($parent)
575 0 1 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::GraphPrefix'))
583 0 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
621 0 3 unless ref $self
626 1 2 if (exists $properties{'LSetType'} and defined $properties{'LSetType'})
630 0 1 unless (UNIVERSAL::isa($properties{'LSetType'}, 'ODO::Jena::Graph::Properties::LSetType'))
639 0 1 unless ($self->can('properties'))
642 0 1 unless ($self->properties->can('LSetType'))
647 1 2 if (exists $properties{'LSetPSet'} and defined $properties{'LSetPSet'})
650 0 1 unless (UNIVERSAL::isa($properties{'LSetPSet'}, 'ODO::Jena::Graph::Properties::LSetPSet'))
659 0 1 unless ($self->can('properties'))
662 0 1 unless ($self->properties->can('LSetPSet'))
667 1 2 if (exists $properties{'LSetName'} and defined $properties{'LSetName'})
670 0 1 unless (UNIVERSAL::isa($properties{'LSetName'}, 'ODO::Jena::Graph::Properties::LSetName'))
679 0 1 unless ($self->can('properties'))
682 0 1 unless ($self->properties->can('LSetName'))
700 0 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
710 0 2 unless UNIVERSAL::can($my_super, '__to_statement_array')
722 2 6 unless $propertyName and $propertyName ne ''
728 4 2 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
755 0 3 unless ($parent)
758 1 2 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::LSetType'))
765 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
786 0 3 unless ($parent)
789 1 2 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::LSetPSet'))
796 0 1 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
817 0 3 unless ($parent)
820 1 2 if (scalar @_ > 0 and UNIVERSAL::isa($_[0], 'ODO::Jena::Graph::Properties::LSetName'))
827 1 0 if (UNIVERSAL::isa($value, 'ODO::Node::Literal')) { }
865 0 5 unless ref $self
884 4 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
894 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
901 0 0 unless $propertyName and $propertyName ne ''
907 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
952 0 5 unless ref $self
971 4 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
981 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
988 0 0 unless $propertyName and $propertyName ne ''
994 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1039 0 4 unless ref $self
1058 3 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1068 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1075 0 0 unless $propertyName and $propertyName ne ''
1081 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1126 0 5 unless ref $self
1145 4 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1155 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1162 0 0 unless $propertyName and $propertyName ne ''
1168 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1213 0 4 unless ref $self
1232 3 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1242 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1249 0 0 unless $propertyName and $propertyName ne ''
1255 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1300 0 3 unless ref $self
1319 2 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1329 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1336 0 0 unless $propertyName and $propertyName ne ''
1342 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1388 0 3 unless ref $self
1407 0 2 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1417 0 4 unless UNIVERSAL::can($my_super, '__to_statement_array')
1424 2 0 unless $propertyName and $propertyName ne ''
1430 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1478 0 4 unless ref $self
1497 0 3 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1507 0 6 unless UNIVERSAL::can($my_super, '__to_statement_array')
1514 3 0 unless $propertyName and $propertyName ne ''
1520 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1568 0 3 unless ref $self
1587 2 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1597 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1604 0 0 unless $propertyName and $propertyName ne ''
1610 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1655 0 3 unless ref $self
1674 2 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1684 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1691 0 0 unless $propertyName and $propertyName ne ''
1697 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }
1742 0 0 unless ref $self
1761 0 0 if UNIVERSAL::isa($self->subject, 'ODO::Node::Literal')
1771 0 0 unless UNIVERSAL::can($my_super, '__to_statement_array')
1778 0 0 unless $propertyName and $propertyName ne ''
1784 0 0 if (UNIVERSAL::isa($p_value, 'ODO::Node::Literal')) { }