Condition Coverage

blib/lib/Gantry/Engine/CGI.pm
Criterion Covered Total %
condition 7 71 9.8


and 3 conditions

line !l l&&!r l&&r condition
448 0 0 0 $self->fish_config('unfiltered_params') and $self->fish_config('unfiltered_params') =~ /(1|on)/i
532 5 0 0 defined $conf and defined $$conf{$param}
545 0 1 3 defined $$glocs{$path} and defined $$glocs{$path}{$param}
640 0 0 0 $gantry_cache and not $gantry_cache_hit
929 0 0 0 defined $ENV{'REQUEST_METHOD'} and $ENV{'REQUEST_METHOD'} eq 'POST'
0 0 0 defined $ENV{'REQUEST_METHOD'} and $ENV{'REQUEST_METHOD'} eq 'GET'
949 0 0 0 defined $data and $data ne ''

or 2 conditions

line l !l condition
75 1 0 shift() || {}
104 0 1 $$config{'disable_uploads'} || 0
105 0 1 $$config{'post_max'} || '20000000000'
171 0 0 $ENV{'PATH_INFO'} || ''
227 0 0 $q->upload_info($filename, 'size') || 0
352 0 0 $self->locations->{$current_location} || 'No module defined for this location'
399 0 0 $status || 400
477 0 0 $self->fish_config('app_rootp') || ''
478 0 0 $self->fish_config('location') || ''
507 0 0 $ENV{'SCRIPT_NAME'} || ''
508 0 0 $ENV{'PATH_INFO'} || ''
519 0 0 $self->user || $$self{'cgi_obj'}{'config'}{'user'} || ''
612 0 0 $self->namespace || ''
656 0 0 $conf_cache{$instance . $location} || undef
701 0 0 $ENV{uc $key} || $ENV{$key} || ''
835 0 0 $self->status || ''

or 3 conditions

line l !l&&r !l&&!r condition
161 0 0 0 $$self{'__POST_BODY__'} || $$self{'cgi_obj'}{'__POST_BODY__'}
299 0 0 0 $ENV{'HTTP_SERVER'} || $ENV{'HTTP_HOST'}
309 0 0 0 $ENV{'HTTP_SERVER'} || $ENV{'HTTP_HOST'}
566 0 0 5 shift() || $$self{'cgi_obj'}{'config'}{'GantryConfInstance'}
570 0 0 0 shift() || $$self{'cgi_obj'}{'config'}{'GantryConfFile'}
629 0 0 0 $conf ||= 'Gantry::Conf'->retrieve({'instance', $instance, 'config_file', $file, 'location', $location})