Condition Coverage

blib/lib/Nes.pm
Criterion Covered Total %
condition 9 75 12.0


and 3 conditions

line !l l&&!r l&&r condition
216 0 0 0 $ENV{'HTTP_X_REMOTE_ADDR'} and !$remote || $remote =~ /^(127|192)\./
673 0 0 0 $$self{'top_container'}{'php_wrapper'} and $clength > $$self{'CFG'}{'tmp_upload'} * 1024
0 0 0 $$self{'top_container'}{'php_wrapper'} and $clength > $$self{'CFG'}{'tmp_upload'} * 1024 and $$self{'CFG'}{'tmp_upload'}
973 1 0 0 $ENV{'HTTP_X_REMOTE_ADDR'} and !$ENV{'REMOTE_ADDR'} || $ENV{'REMOTE_ADDR'} =~ /^(127|192|169|10)\./

or 2 conditions

line l !l condition
611 0 1 @_ || ''
667 0 1 $ENV{'CONTENT_LENGTH'} || 0
1173 1 0 $$self{'file_souce'}[0] =~ /{:\s*NES/i or ''
1568 0 0 $$self{'out'} || "\n"
1766 0 0 $$self{'out'} || "\n"
2021 0 2 $2 || ''
0 2 $3 || ''
2503 0 0 $1 || 0
2504 0 0 $2 || 's'

or 3 conditions

line l !l&&r !l&&!r condition
216 0 0 0 !$remote || $remote =~ /^(127|192)\./
670 0 0 1 $clength or $ENV{'QUERY_STRING'}
973 0 0 0 !$ENV{'REMOTE_ADDR'} || $ENV{'REMOTE_ADDR'} =~ /^(127|192|169|10)\./
1419 0 0 0 $$self{'TAG_HTTP-headers'} || $$self{'Content-type'} . "\n\n"
1628 0 0 0 $$self{'php_wrapper'} or $main::MOD_PERL
2334 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_1'} || $$self{'CFG'}{'DB_base'}
2335 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_2'} || $$self{'CFG'}{'DB_user'}
2336 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_3'} || $$self{'CFG'}{'DB_pass'}
2337 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_4'} || $$self{'CFG'}{'DB_driver'}
2338 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_5'} || $$self{'CFG'}{'DB_host'}
2339 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_6'} || $$self{'CFG'}{'DB_port'}
2442 0 0 0 $ENV{'PATH_TRANSLATED'} || $ENV{'SCRIPT_FILENAME'} || "$utl::Bin\\$utl::Script"
2450 0 0 2 $ENV{'PATH_TRANSLATED'} || $ENV{'SCRIPT_FILENAME'} || "$utl::Bin\\$utl::Script"
2460 0 0 2 $root_dir || $utl::Bin
2623 0 0 0 $ref eq 'SCALAR' or $ref eq 'REF'