Branch Coverage

blib/lib/Alice/Config.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
151 0 1 unless -d $self->path
170 1 0 if (-e $self->fullpath) { }
176 0 1 if ($$config{'ignore'} and ref $$config{'ignore'} eq 'ARRAY')
180 0 1 if ($@)
196 0 1 if $port and $port =~ /\d+/
197 0 1 if $address
201 0 1 if ($log)
211 0 0 if ($self->commandline->{'port'})
219 0 0 if ($self->commandline->{'address'})
222 0 0 if ($self->address eq 'localhost')
231 3 0 if (exists $$config{$key} and my $attr = $self->meta->get_attribute($key)) { }
232 1 2 if $attr->has_write_method
243 0 2 unless -d $self->path
246 2 0 if ($fh) { }
251 0 2 if $callback
274 1 2 unless $self->ignore->{$type}