Condition Coverage

lib/Badger/Config/Filesystem.pm
Criterion Covered Total %
condition 0 100 0.0


and 3 conditions

line !l l&&!r l&&r condition
181 0 0 0 $file && $file->exists
182 0 0 0 $dir && $dir->exists
233 0 0 0 $file and $file->exists
238 0 0 0 $file and $file->exists
397 0 0 0 $tref eq "HASH" and $cref eq "HASH"
617 0 0 0 $data and ref $data eq "HASH"

or 2 conditions

line l !l condition
59 0 0 $config->{'filespec'} ||= {"encoding", $encoding}
92 0 0 $config->{'data'} || {}
100 0 0 $config->{'quiet'} || 0
101 0 0 $config->{'dir_tree'} // 1
208 0 0 $self->{'stat_ttl'} || (return 0)
209 0 0 $self->{'not_found'}{$uri} || (return 0)
271 0 0 $data ||= {}
298 0 0 $path ||= []
308 0 0 $data ||= {}
350 0 0 $path ||= []
371 0 0 shift() || $self->{'tree_type'} || (return $self->error_msg('missing', 'tree_type'))
373 0 0 $self->can("${name}_tree_binder") || (return $self->decline_msg('invalid', 'binder', $name))
387 0 0 $data->{$key} ||= {}
394 0 0 ref $tail || 'SCALAR'
395 0 0 ref $child || 'SCALAR'
484 0 0 $self->{'uri_paths'} || (return $uri)
514 0 0 $self->config_file(@_) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $config->{'encoding'} || $class->any_var('ENCODING')
102 0 0 0 $config->{'stat_ttl'} // $data->{'stat_ttl'}
0 0 0 ($config->{'stat_ttl'} // $data->{'stat_ttl'}) // $STAT_TTL
158 0 0 0 $self->{'data'}{$name} // $self->fetch($name)
227 0 0 0 shift() || $self->config_file($name)
228 0 0 0 shift() || $self->dir($name)
233 0 0 0 $file and $file->exists or $dir->exists
272 0 0 0 $binder ||= $self->tree_binder("nest")
299 0 0 0 $binder ||= $self->tree_binder
428 0 0 0 $schema->{'tree_joint'} || $self->{'tree_joint'}
454 0 0 0 $schema->{'uri_paths'} || $self->{'uri_paths'}
484 0 0 0 $option ||= $self->{'uri_paths'} || (return $uri)
508 0 0 0 $self->{'config_file'}{$name} ||= $self->find_config_file($name)
563 0 0 0 $self->codecs->{$name} || $name
584 0 0 0 $self->{'item'}{$name} ||= $self->lookup_item($name)
622 0 0 0 delete $data->{'_schema_'} || delete $data->{'schema'}