Condition Coverage

blib/lib/Nes.pm
Criterion Covered Total %
condition 14 84 16.6


and 3 conditions

line !l l&&!r l&&r condition
246 0 0 0 $ENV{'HTTP_X_REMOTE_ADDR'} and !$id || $id =~ /^(127|192)\./
714 1 0 0 $$self{'top_container'}{'php_wrapper'} and $clength > $$self{'CFG'}{'tmp_upload'} * 1024
1 0 0 $$self{'top_container'}{'php_wrapper'} and $clength > $$self{'CFG'}{'tmp_upload'} * 1024 and $$self{'CFG'}{'tmp_upload'}
1041 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
652 0 1 @_ || ''
708 0 1 $ENV{'CONTENT_LENGTH'} || 0
1260 1 0 $$self{'file_souce'}[0] =~ /$Nes::Tags::start\s*$Nes::Tags::nes/i or ''
1694 0 0 $$self{'out'} || "\n"
1927 0 0 $$self{'out'} || "\n"
2169 0 2 $2 || ''
0 2 $3 || ''
2679 0 0 $1 || 0
2680 0 0 $2 || 's'

or 3 conditions

line l !l&&r !l&&!r condition
79 9 1 0 $instance{'nes_top_container'} || $self
246 0 0 0 !$id || $id =~ /^(127|192)\./
308 0 0 0 $cfg_file ||= $$self{'CFG'}{'plugin_top_dir'} . '/.' . $class . '.nes.cfg'
642 0 1 0 $session_prefix || $$self{'CFG'}{'session_prefix'}
1041 0 0 0 !$ENV{'REMOTE_ADDR'} || $ENV{'REMOTE_ADDR'} =~ /^(127|192|169|10)\./
1125 0 1 0 $$self{'previous'}{'container'} || $$self{'top_container'}
1527 0 0 0 $$self{'TAG_HTTP-headers'} || $$self{'Content-type'} . "\n\n"
1768 0 0 0 $$self{'php_wrapper'} or $Nes::MOD_PERL
2496 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_1'} || $$self{'CFG'}{'DB_base'}
2497 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_2'} || $$self{'CFG'}{'DB_user'}
2498 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_3'} || $$self{'CFG'}{'DB_pass'}
2499 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_4'} || $$self{'CFG'}{'DB_driver'}
2500 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_5'} || $$self{'CFG'}{'DB_host'}
2501 0 0 0 $$self{'query'}{'q'}{$obj_name . '_param_6'} || $$self{'CFG'}{'DB_port'}
2618 0 0 0 $ENV{'PATH_TRANSLATED'} || $ENV{'SCRIPT_FILENAME'} || "$utl::Bin\\$utl::Script"
2626 0 0 2 $ENV{'PATH_TRANSLATED'} || $ENV{'SCRIPT_FILENAME'} || "$utl::Bin\\$utl::Script"
2636 0 0 2 $root_dir || $utl::Bin
2855 0 0 0 $ref eq 'SCALAR' or $ref eq 'REF'