| line |
true |
false |
branch |
|
22
|
0 |
0 |
unless $opts{'format'} |
|
23
|
0 |
0 |
unless $opts{'query'} |
|
28
|
0 |
0 |
if (not defined $opts{'output'}) { } |
|
|
0 |
0 |
elsif (ref $opts{'output'} eq 'GLOB') { } |
|
35
|
0 |
0 |
unless open $output_fh, '>', $opts{'output'} |
|
49
|
0 |
0 |
unless $r->success |
|
52
|
0 |
0 |
if defined $opts{'output'} |
|
67
|
0 |
0 |
unless $opts{'format'} |
|
76
|
0 |
0 |
if (not defined $opts{'output'}) { } |
|
|
0 |
0 |
elsif (ref $opts{'output'} eq 'GLOB') { } |
|
83
|
0 |
0 |
unless open $output_fh, '>', $opts{'output'} |
|
88
|
0 |
0 |
ref $opts{'compress'} ? : |
|
105
|
0 |
0 |
unless $r->success |
|
110
|
0 |
0 |
if defined $opts{'output'} |
|
129
|
0 |
0 |
unless my $gz = Compress::Zlib::gzopen($fh, 'wb') |
|
135
|
0 |
0 |
unless $context->gzwrite($content) |
|
151
|
0 |
0 |
unless defined $_[0] |
|
153
|
0 |
0 |
unless ($_[0] =~ /^RQL|RDQL|SeRQL$/) |
|
170
|
0 |
0 |
@_ == 1 ? : |
|
187
|
0 |
0 |
unless ($r->success) |
|
209
|
0 |
0 |
if (@_ == 1) { } |
|
215
|
0 |
0 |
unless exists $opts{$k} |
|
219
|
0 |
0 |
unless ($opts{'format'} =~ /^rdfxml|ntriples|turtle$/) |
|
224
|
0 |
0 |
$opts{'verify'} ? : |
|
232
|
0 |
0 |
if exists $opts{'base'} |
|
236
|
0 |
0 |
unless ($r->success) |
|
243
|
0 |
0 |
if ($$_{'msg'} =~ /^Data is correct and contains ([\d,]+) statement/) |
|
246
|
0 |
0 |
if ($$_{'msg'} =~ /^Processed ([\d,]+) statement/) |
|
249
|
0 |
0 |
if (defined $triple_count) |
|
274
|
0 |
0 |
if (@_ == 1) { } |
|
280
|
0 |
0 |
unless exists $opts{$k} |
|
284
|
0 |
0 |
unless exists $opts{'base'} |
|
287
|
0 |
0 |
unless ($opts{'format'} =~ /^rdfxml|ntriples|turtle$/) |
|
293
|
0 |
0 |
if ($opts{'uri'} =~ /^file:/ and not $opts{'server_file'}) |
|
296
|
0 |
0 |
unless (defined $content) |
|
308
|
0 |
0 |
$opts{'verify'} ? : |
|
318
|
0 |
0 |
unless ($r->success) |
|
325
|
0 |
0 |
if ($$_{'msg'} =~ /^Data is correct and contains ([\d,]+) statement/) { } |
|
|
0 |
0 |
elsif ($$_{'msg'} =~ /^Processed ([\d,]+) statement/) { } |
|
331
|
0 |
0 |
if (defined $triple_count) |
|
346
|
0 |
0 |
unless $r->success |
|
349
|
0 |
0 |
if ($$_{'msg'} eq 'Repository cleared') |
|
362
|
0 |
0 |
if defined $_[0] |
|
363
|
0 |
0 |
if defined $_[1] |
|
364
|
0 |
0 |
if defined $_[2] |
|
368
|
0 |
0 |
unless ($r->success) |
|
373
|
0 |
0 |
if ($$_{'msg'} =~ /^Removed (\d+)/) |
|
403
|
0 |
0 |
if (@_ == 1) { } |
|
408
|
0 |
0 |
unless defined $opts{'id'} |
|
418
|
0 |
0 |
if (exists $opts{'query_language'}) |
|
422
|
0 |
0 |
if exists $opts{'strip'} |