Branch Coverage

blib/lib/Connector/Proxy/Config/Versioned.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
37 0 3 unless (defined $config)
57 5 19 unless defined $val
72 0 1 unless $val
74 0 1 unless $val =~ /^\d+$/
89 0 1 unless (@keys)
95 0 4 unless ($key =~ /^\d+$/)
110 0 2 unless @keys
123 0 4 unless @keys
139 0 1 unless defined $val
141 0 1 if (ref $val ne "SCALAR")
157 79 94 unless @keys
164 69 25 if (@keys == 1) { }
2 23 elsif ($keys[0] =~ /^\d+$/) { }
166 29 40 if (ref $keys[0] eq 'SCALAR') { }
0 40 elsif ($keys[0] eq '') { }
177 27 13 if (not defined $val) { }
2 11 elsif ($keys[0] =~ /^\d+$/) { }