Branch Coverage

blib/lib/Config/Onion.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
21 4 4 unless ref $self
25 7 1 if @_
34 0 1 unless ref $self
38 1 0 if @_
47 4 4 unless ref $self
51 0 8 if (ref $_[$#_] eq 'HASH')
53 0 0 unless exists $_[$#_]{'use_ext'}
57 0 0 if exists $ca_opts->{'flatten_to_hash'}
70 3 0 unless ref $self
74 1 2 if (ref $_[$#_] eq 'HASH')
76 1 0 unless exists $_[$#_]{'use_ext'}
80 0 1 if exists $ca_opts->{'flatten_to_hash'}
85 2 1 if ($ca_opts->{'use_ext'})
94 2 6 if $ca_opts->{'use_ext'} and not /$ext_re/
95 1 5 if (/\.local\./) { }
112 10 1 if @$main
113 4 7 if @$local
115 1 10 if ($self->prefix_key)
117 1 0 if exists $$cfg{$self->prefix_key}
141 0 3 if keys %$root > 1
144 1 2 unless ($child)