Branch Coverage

blib/lib/RDF/Trine/Parser/Redland.pm
Criterion Covered Total %
branch 4 28 14.2


line true false branch
92 4 1 if defined $FORMATS{$format}[1]
99 1 0 unless ($ENV{'RDFTRINE_NO_REDLAND'})
102 0 1 unless ($@)
121 0 0 unless ($HAVE_REDLAND_PARSER)
125 0 0 unless (defined $args{'name'})
129 0 0 unless ($FORMATS{$args{'name'}})
134 0 0 unless my $parser = 'RDF::Redland::Parser'->new($args{'name'})
164 0 0 if ($base and &blessed($base) and $base->isa('URI'))
167 0 0 defined $base ? :
171 0 0 if ($@)
179 0 0 if ($self->{'canonicalize'})
182 0 0 if ($o->isa('RDF::Trine::Node::Literal') and $o->has_datatype)
193 0 0 if $handler and &reftype($handler) eq 'CODE'
199 0 0 if (my $map = $self->{'namespaces'})