Branch Coverage

blib/lib/Art/World.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
91 8 1 unless ($meta->get_class($owner) =~ /^Art::World::Artist$/u)
95 3 2 if ($art->title =~ $self->title)
146 100 0 unless ($self->does('Art::World::Unserializable'))
201 1 32 $self->isa('Art::World::Work') ? :
203 33 0 if ($self->can($attribute)) { }
204 32 1 if ($self->$attribute + $difference >= 0) { }
274 4 4 !('Art::World::Util'->new_meta->get_class($collector) =~ /^Art::World::Coinvestor$/u) ? :
325 0 0 if $self->discourse
402 3 0 $highest_reputation > 1 ? :
407 3 0 if (&any(sub {
430 3 108 $self->has_collectors ? :
447 3 108 if (scalar @{$self->collectors} > 1)