Branch Coverage

blib/lib/App/hopen/Util/BasedPath.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
77 0 4 unless ref $self
90 0 1 unless ref $self
92 1 0 $self->is_file ? :
138 0 0 unless ref $self
139 0 0 unless ref $new_base and $new_base->DOES('Path::Class::Dir')
142 0 0 $self->is_file ? :
158 2 1 $self->is_file ? :
176 0 6 unless ref $self
179 0 6 unless $self->path and $self->path->DOES('Path::Class::Dir') || $self->path->DOES('Path::Class::File')
182 1 5 unless $self->path->is_relative
186 0 5 if not ref $self->base and $self->base ne ''
188 1 4 unless $self->base and $self->base->DOES('Path::Class::Dir')