Branch Coverage

blib/lib/RDF/Lazy/Node.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
27 0 29 if not ref $self or $AUTOLOAD =~ /^(.+::)?DESTROY$/
37 6 3 if (@_) { }
40 0 8 unless my $type = $self->graph->uri($_)
41 5 3 if grep {$_->str eq $type->str;} @$types
58 0 16 unless @_
61 14 2 if ($self->is_literal) { }
1 1 elsif ($self->is_resource) { }
1 0 elsif ($self->is_blank) { }
62 0 14 if $check eq '' or $check eq 'literal'
63 1 13 if $check eq '@' and $self->lang
64 3 10 if $check =~ /^@(.+)/ and $self->lang($1)
65 1 9 if $check =~ /^\^\^?$/ and $self->datatype
66 0 9 if $check =~ /^\^\^?(.+)$/ and $self->datatype($1)
68 0 1 if $check eq ':' or $check eq 'resource'
70 1 0 if $check eq '-' or $check eq 'blank'
90 0 18 if $property =~ /^(query|lang)$/