Branch Coverage

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


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