Branch Coverage

blib/lib/Art/World.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
100 8 1 unless ($meta->get_class($owner) =~ /^Art::World::Artist$/u)
102 3 2 if ($art->title =~ $self->title)
142 100 0 unless ($self->does('Art::World::Unserializable'))
197 1 32 $self->isa('Art::World::Work') ? :
199 33 0 if ($self->can($attribute)) { }
200 32 1 if ($self->$attribute + $difference >= 0) { }
269 4 4 !('Art::World::Util'->new_meta->get_class($collector) =~ /^Art::World::Coinvestor$/u) ? :
391 3 0 $highest_reputation > 1 ? :
396 3 0 if (&any(sub {
419 3 108 $self->has_collectors ? :
435 3 108 if (scalar @{$self->collectors} > 1)