Branch Coverage

lib/CHI/Config.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
64 0 2 if (1 == @args and ref $args[0])
82 0 0 exists $ENV{'CHI_CONFIG_DIR'} ? :
97 0 2 if @{$self->_config_files;}
116 0 2 if ($entry{'spec'} and $entry{'spec'} ne $spec)
119 2 0 if ($entry{'min'})
122 0 2 if ($min > $VERSION)
126 0 2 if ($entry{'max'})
129 0 0 if ($max < $VERSION)
139 8 2 $entry{'name'} ? :
140 0 10 unless defined $entry{'type'}
141 2 8 if 'version' eq $entry{'type'}
142 8 0 if 'driver' eq $entry{'type'}
148 0 6 unless ('ARRAY' eq ref $array)
153 0 10 unless ('HASH' eq ref $entry)