Branch Coverage

blib/lib/Art/World.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
92 8 1 unless ($meta->get_class($owner) =~ /^Art::World::Artist$/u)
96 3 2 if ($art->title =~ $self->title)
166 1 32 $self->isa('Art::World::Work') ? :
168 33 0 if ($self->can($attribute)) { }
169 32 1 if ($self->$attribute + $difference >= 0) { }
239 4 4 !('Art::World::Util'->new_meta->get_class($collector) =~ /^Art::World::Coinvestor$/u) ? :
290 0 0 if $self->discourse
367 3 0 $highest_reputation > 1 ? :
372 3 0 if (&any(sub {
395 3 8 $self->has_collectors ? :
412 3 8 if (scalar @{$self->collectors} > 1)