Branch Coverage

blib/lib/App/hopen/Asset.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
70 7 33 if (@_) { }
33 0 elsif (exists $self->{'target'}) { }
72 0 7 unless $candidate
73 7 0 unless $candidate->DOES('Path::Class::File') or $candidate->DOES('Path::Class::Dir')
7 0 if (eval { do { $candidate->DOES('App::hopen::Util::BasedPath') unless $candidate->DOES('Path::Class::File') or $candidate->DOES('Path::Class::Dir') } }) { }
104 0 4 unless my $self = shift()
121 7 0 unless $self->name