Condition Coverage

blib/lib/Config/Singleton.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
233 3 1 3 $set_default and $set_default ne $filename
271 6 0 9 defined $filename and length $filename

or 2 conditions

line l !l condition
179 3 13 ref $value || ''

or 3 conditions

line l !l&&r !l&&!r condition
197 10 0 0 $filename || $class->default_filename
227 3 0 0 $$arg{'filename'} || $app_config->_default_filename_for_class($self)
3 3 0 $set_default ||= $$arg{'filename'} || $app_config->_default_filename_for_class($self)
253 11 6 0 $default ||= $self->new($self->_get_default_filename)
295 0 0 0 $ENV{uc($module_base) . '_CONFIG_FILE'} || lc($module_base) . '.yaml'