Condition Coverage

web/cgi-bin/yatt.lib/YATT/Toplevel/CGI.pm
Criterion Covered Total %
condition 10 86 11.6


and 3 conditions

line !l l&&!r l&&r condition
129 0 0 0 $rc and ($file, $cgi) = can_retry($error)
141 0 0 0 $rc and not is_normal_end($error)
172 0 0 0 not $$config{'cf_registry'} and $$config{'cf_docs'}
0 0 0 $YATT::Toplevel::CGI::PATH_INFO and $YATT::Toplevel::CGI::SCRIPT_FILENAME
260 0 0 0 defined $file and -r $file
316 0 0 0 not defined $param[0] and $widget->public
374 0 0 0 $CONFIG and $$CONFIG{'cf_no_header'}
445 0 0 1 defined $file && -r $file
1 0 0 $config->find_root_upward and my(@found) = $config->upward_find_file($file, $config->find_root_upward)
466 1 0 0 -f $file and -r $file
482 0 0 0 @dirs and -e join('/', @prefix, @found, $dirs[0])
535 0 0 0 $class eq 'CGI' and not $class->can('multi_param')
574 0 1 0 defined $config and ref $config
1 0 0 defined $config and ref $config and UNIVERSAL::isa($config, 'YATT::Toplevel::CGI::Config')
620 0 0 0 $$trans_keys{"cf_$name"} and defined(my $value = $$config{"cf_$name"})
821 0 0 0 defined $elempath[0] and $elempath[0] eq ''

or 2 conditions

line l !l condition
151 1 0 $$config{'cf_docs'} ||= '.'
216 0 0 $$config{'cf_charset'} || 'utf-8'
248 1 0 $config && $config->app_prefix || 'main'
274 0 0 shift() || 1
400 0 0 $opts{'id'} ||= 'printenv'
402 0 0 $env ||= \%ENV
700 0 0 $scalar ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
178 0 0 0 $YATT::Toplevel::CGI::PATH_TRANSLATED || $YATT::Toplevel::CGI::DOCUMENT_ROOT . $YATT::Toplevel::CGI::REDIRECT_URL
180 0 0 0 $YATT::Toplevel::CGI::SCRIPT_FILENAME || $0
221 0 0 0 $$config{'cf_registry'} ||= $instpkg->new_translator($loader, $config->translator_param, 'debug_translator', $ENV{'DEBUG'})
248 0 1 0 $instpkg ||= $config && $config->app_prefix || 'main'
496 0 0 0 $not_found or -e $path_translated
577 0 1 0 ref $pack or not UNIVERSAL::isa($pack, 'YATT::Toplevel::CGI::Config')
665 0 1 0 ref $self || $self
682 0 0 0 $YATT::Toplevel::CGI::SCRIPT_FILENAME ||= $0