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
232 3 1 3 $set_default and $set_default ne $filename
270 6 0 9 defined $filename and length $filename

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
196 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)
252 11 6 0 $default ||= $self->new($self->_get_default_filename)
294 0 0 0 $ENV{uc($module_base) . '_CONFIG_FILE'} || lc($module_base) . '.yaml'