Branch Coverage

blib/lib/Config/Dot.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
35 2 10 unless ($self->_check($self->{'config'}))
40 1 9 if (defined $self->{'callback'} and ref $self->{'callback'} ne 'CODE')
58 2 4 if (ref $string_or_array_ref eq 'ARRAY') { }
89 12 2 if (ref $config_hr eq 'HASH') { }
91 1 5 if (ref $config_hr->{$key} ne '' and not $self->_check($config_hr->{$key}))
111 2 11 if ($string =~ /^\s*$/ms)
119 1 10 if (length $key < 1)
124 1 9 unless ($key =~ /^[-\w\.:,]+\+?$/ms)
141 1 4 if (ref $config_hr->{$key} eq 'HASH') { }
147 1 3 if ($config_hr->{$key} =~ /\n/ms)