Condition Coverage

lib/UR/Namespace/Command/Sys/ClassBrowser.pm
Criterion Covered Total %
condition 8 32 25.0


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 $self->use_cache and -f $class_cache_file
307 0 7 0 $data->{'is'} and @{$data->{'is'};}
531 0 0 0 $module_path and -f $module_path

or 2 conditions

line l !l condition
94 0 0 'IO::File'->new($cache_file, 'w') || die("Can't open $cache_file for writing: $!")

or 3 conditions

line l !l&&r !l&&!r condition
130 0 1 0 $self->{'_cache'}{$namespace}{'by_class_name'} ||= $self->_generate_class_name_cache($namespace)
248 2 4 0 $tree->get_child($name) || $tree->add_child('name', $name, 'relpath', $relpath)
271 1 5 0 $tree->get_child($subdir) || $tree->add_child('name', $subdir, 'relpath', $partial_path)
296 9 3 0 $by_class_name->{$class_name} ||= $self->_class_name_cache_data_for_class_name($class_name)
335 0 0 0 $self->{'_tt'} ||= 'Template'->new({'INCLUDE_PATH', $self->_template_dir, 'RECURSION', 1})
366 0 0 0 $req->param('namespace') || $self->namespace_name
506 0 0 0 $req->param('namespace') || $self->namespace_name