Branch Coverage

blib/lib/Config/Cmd.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
32 1 9 unless $section
37 2 35 if ($e eq '=') { }
2 33 elsif ($e =~ /(-.+)=(.+)/u) { }
20 13 elsif ($e =~ /^-/u) { }
41 1 1 if ($key)
51 5 15 if ($key)
57 12 1 if ($key)
66 2 7 if ($key)
82 14 8 if (defined $$tuple{'value'}) { }
84 1 13 if $value =~ /\s/u
102 1 8 if defined $self->filename
103 8 0 if $self->section
111 1 8 if defined $self->filename
112 8 0 if (-e $self->_default_filename) { }
0 0 elsif (-e $ENV{'HOME'} . '.' . $self->_default_filename) { }