Branch Coverage

blib/lib/Config/Onion.pm
Criterion Covered Total %
branch 21 26 80.7


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
60 2 0 unless ref $self
65 1 4 if (/\.local\./) { }
83 9 1 if @$main
84 4 6 if @$local
86 1 9 if ($self->prefix_key)
88 1 0 if exists $$cfg{$self->prefix_key}
112 0 3 if keys %$root > 1
115 1 2 unless ($child)