Branch Coverage

blib/lib/RDF/DOAP/Resource.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
71 2 40 $_[1] ? :
0 42 unless my $model = $_[1] ? &Model()->assert_return($_[1]) : $MODEL
74 10 32 if $objects{&refaddr($model)}{$identifier}
79 84 262 unless $a->does(&WithURI())
91 27 111 unless my $name = $attr{$st->predicate}
93 58 53 if ($multi{$st->predicate}) { }
112 0 0 unless $self->has_rdf_model and $self->has_rdf_about
116 0 0 wantarray ? :
123 0 0 wantarray ? :
130 0 0 wantarray ? :
136 0 0 if $self->can('fixes')
140 0 0 if (&blessed($hash->{$k}) and $hash->{$k}->isa('RDF::Trine::Node'))
143 0 0 if (ref $hash->{$k} eq 'ARRAY')
145 0 0 &blessed($_) && $_->isa('RDF::Trine::Node') ? :
149 0 0 if $self->has_rdf_about
168 54 139 if &Identifier()->check(@_)