Branch Coverage

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


line true false branch
38 3 10 unless ($self->_check($self->{'config'}))
43 1 9 if (defined $self->{'callback'} and ref $self->{'callback'} ne 'CODE')
61 2 3 if (ref $string_or_array_ref eq 'ARRAY') { }
91 15 6 if (ref $config_ref eq 'HASH') { }
3 3 elsif (ref $config_ref eq 'ARRAY') { }
93 2 8 if (ref $config_ref->{$key} ne '' and not $self->_check($config_ref->{$key}))
102 1 4 if (ref $val ne '' and not $self->_check($val))
120 2 10 if ($string =~ /^\s*$/ms)
128 1 9 if (length $key < 1)
133 1 8 unless ($key =~ /^[-\w\.:,]+\+?$/ms)
148 6 6 if (ref $config_ref eq 'HASH') { }
1 5 elsif (ref $config_ref eq 'ARRAY') { }
154 1 5 unless ($subkey =~ /^=/ms)