line |
true |
false |
branch |
82
|
0 |
0 |
unless (&blessed($stmt) and $stmt->can('nodes'))
|
91
|
0 |
0 |
if ($stmt->isa('RDF::Trine::Statement::Quad')) { }
|
92
|
0 |
0 |
if (&blessed($context))
|
98
|
0 |
0 |
if ($context) { }
|
122
|
0 |
0 |
if ($node->is_blank) { }
|
|
0 |
0 |
elsif ($node->is_resource) { }
|
|
0 |
0 |
elsif ($node->isa('RDF::Trine::Node::Literal')) { }
|
136
|
0 |
0 |
if ($node->has_language) { }
|
|
0 |
0 |
elsif ($node->has_datatype) { }
|
163
|
0 |
0 |
unless ($self->_table_exists('Literals'))
|
164
|
0 |
0 |
unless ($dbh->do("\t\t\tCREATE TABLE IF NOT EXISTS Literals (\n\t\t\t\tID bigint unsigned PRIMARY KEY,\n\t\t\t\tValue longtext NOT NULL,\n\t\t\t\tLanguage text NOT NULL,\n\t\t\t\tDatatype text NOT NULL\n\t\t\t) CHARACTER SET utf8 COLLATE utf8_bin;\n"))
|
173
|
0 |
0 |
unless ($dbh->do("\t\t\tCREATE TABLE IF NOT EXISTS Resources (\n\t\t\t\tID bigint unsigned PRIMARY KEY,\n\t\t\t\tURI text NOT NULL\n\t\t\t);\n"))
|
179
|
0 |
0 |
unless ($dbh->do("\t\t\tCREATE TABLE IF NOT EXISTS Bnodes (\n\t\t\t\tID bigint unsigned PRIMARY KEY,\n\t\t\t\tName text NOT NULL\n\t\t\t);\n"))
|
185
|
0 |
0 |
unless ($dbh->do("\t\t\tCREATE TABLE IF NOT EXISTS Models (\n\t\t\t\tID bigint unsigned PRIMARY KEY,\n\t\t\t\tName text NOT NULL\n\t\t\t);\n"))
|
191
|
0 |
0 |
unless $dbh->commit
|
194
|
0 |
0 |
unless ($self->_table_exists("Statements$id"))
|
195
|
0 |
0 |
unless ($dbh->do("\t\t\tCREATE TABLE IF NOT EXISTS Statements$id (\n\t\t\t\tSubject bigint unsigned NOT NULL,\n\t\t\t\tPredicate bigint unsigned NOT NULL,\n\t\t\t\tObject bigint unsigned NOT NULL,\n\t\t\t\tContext bigint unsigned NOT NULL DEFAULT 0,\n\t\t\t\tPRIMARY KEY (Subject, Predicate, Object, Context)\n\t\t\t);\n"))
|