Branch Coverage

blib/lib/Catmandu/Importer/RDF.pm
Criterion Covered Total %
branch 37 54 68.5


line true false branch
32 8 0 defined $_[0]->file ? :
41 9 2 $ns // 1 ? :
92 0 16 if ($self->cache)
113 0 3 if $self->triples
114 0 3 if $self->predicate_map
120 3 0 if (defined $stream and defined(my $row = $stream->next)) { }
121 3 0 if (ref $row eq 'RDF::Query::VariableBindings' or ref $row eq 'RDF::Trine::VariableBindings') { }
126 0 4 $self->sparql_result eq 'aref' ? :
127 2 2 if ($val->is_resource) { }
2 0 elsif ($val->is_literal) { }
150 0 15 unless $stream
153 5 10 if ($self->triples) { }
154 4 1 if (my $triple = $stream->next) { }
167 3 7 if ($self->url)
174 3 11 if ($self->url)
185 9 0 if (ref $_[0] eq 'HASH') { }
188 6 15 ref $_ ? :
192 0 0 ref $_ ? :
200 0 3 unless $self->url
209 2 1 if ($ldf_client->is_fragment_server) { }
222 0 3 unless ($store)
231 0 3 unless ($rdf_query)
238 0 3 unless ($iterator)
248 5 6 $self->type ? :
251 3 8 if ($self->url) { }
255 6 0 if (not $self->type and $self->file and not $from_scalar)
258 2 6 if ($from_scalar) { }