Branch Coverage

blib/lib/Armadito/Agent/Config.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
32 0 0 if ($file) { }
33 0 0 unless -f $file
34 0 0 unless -r $file
41 0 0 unless open $handle, '<', $file
45 0 0 if ($line =~ /([\w-]+)\s*=\s*(.+)/)
54 0 0 if (exists $self->{$key}) { }
69 0 0 if (defined $params{'options'}{$key} and $params{'options'}{$key} ne '')
80 0 0 unless defined $self->{$old}
82 0 0 if $old =~ /^no-/ and not $self->{$old}
90 0 0 if ($handler->{'new'})
91 0 0 if (ref $handler->{'new'} eq 'HASH') { }
0 0 elsif (ref $handler->{'new'} eq 'ARRAY') { }
96 0 0 if ($value =~ /^\+(\S+)/) { }
99 0 0 $self->{$key} ? :
125 0 0 if ($self->{'logfile'})
130 0 0 if ($self->{'ca-cert-file'} and $self->{'ca-cert-dir'})
135 0 0 if ($self->{'logger'} =~ /file/i and not $self->{'logfile'})
155 0 0 if ($self->{$option} and ref $self->{$option} eq '') { }
165 0 0 if $self->{'ca-cert-file'}
167 0 0 if $self->{'ca-cert-dir'}
169 0 0 if $self->{'logfile'}