Branch Coverage

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


line true false branch
34 3 10 unless ($self->_check($self->{'config'}))
39 1 9 if (defined $self->{'callback'} and ref $self->{'callback'} ne 'CODE')
57 2 3 if (ref $string_or_array_ref eq 'ARRAY') { }
87 15 6 if (ref $config_ref eq 'HASH') { }
3 3 elsif (ref $config_ref eq 'ARRAY') { }
89 2 8 if (ref $config_ref->{$key} ne '' and not $self->_check($config_ref->{$key}))
98 1 4 if (ref $val ne '' and not $self->_check($val))
116 2 10 if ($string =~ /^\s*$/ms)
124 1 9 if (length $key < 1)
129 1 8 unless ($key =~ /^[-\w\.:,]+\+?$/ms)
144 6 6 if (ref $config_ref eq 'HASH') { }
1 5 elsif (ref $config_ref eq 'ARRAY') { }
150 1 5 unless ($subkey =~ /^=/ms)