line |
true |
false |
branch |
363
|
0 |
7 |
unless exists $args{'infile'} |
369
|
0 |
7 |
if ($^O =~ /win32/i) |
423
|
0 |
0 |
unless $#_ % 2 |
426
|
0 |
0 |
unless $args{'table_name'} |
500
|
0 |
0 |
unless $table |
502
|
0 |
0 |
unless $args{'column_name'} |
507
|
0 |
0 |
unless ($$self{'_cfg_global'}{'terminated_by'}) |
508
|
0 |
0 |
unless exists $args{'field_offset'} and exists $args{'field_length'} || exists $args{'field_end'} |
514
|
0 |
0 |
if ($$self{'_cfg_global'}{'offset_from'} == 0) |
516
|
0 |
0 |
if exists $args{'field_end'} |
520
|
0 |
0 |
if (exists $args{'field_length'}) |
541
|
0 |
0 |
$args{'column_length'} ? : |
547
|
0 |
0 |
if ($args{'column_type'} eq $Oracle::SQLLoader::DATE) |
590
|
0 |
0 |
if ($$self{'_cleanup'}) |
632
|
0 |
0 |
unless (defined $log) |
633
|
0 |
0 |
if $DEBUG |
646
|
0 |
0 |
unless ($line =~ /^SQL\*Loader/) |
654
|
0 |
0 |
if (/Total logical records skipped:\s+(\d+)/) { } |
|
0 |
0 |
elsif (/^SQL\*Loader/) { } |
|
0 |
0 |
elsif (/Total logical records read:\s+(\d+)/) { } |
|
0 |
0 |
elsif (/Total logical records rejected:\s+(\d+)/) { } |
|
0 |
0 |
elsif (/Total logical records discarded:\s+(\d+)/) { } |
|
0 |
0 |
elsif (/(\d+) Rows? successfully loaded\./) { } |
|
0 |
0 |
elsif (/Record\s\d+:\s+Rejected\s+\-\s+/) { } |
|
0 |
0 |
elsif (/Run began on (\w+)\s(\w+)\s(\d\d)\s(\d\d):(\d\d):(\d\d)\s+(\d{4})/) { } |
|
0 |
0 |
elsif (/Run ended on (\w+)\s(\w+)\s(\d\d)\s(\d\d):(\d\d):(\d\d)\s+(\d{4})/) { } |
|
0 |
0 |
elsif (/Elapsed time was:\s+(\d+):(\d{2}):(\d{2})\.\d{2}/) { } |
|
0 |
0 |
elsif (/CPU time was:\s+(\d+):(\d{2}):(\d{2})\.\d{2}/) { } |
|
0 |
0 |
elsif (/index\s(\w+\.\w+)\swas made unusable/) { } |
907
|
0 |
0 |
if (scalar @{$$self{'_stats'}{'errors'};}) |
948
|
0 |
0 |
if -e $ctlFile and $DEBUG |
951
|
0 |
0 |
unless ($fh->open("> $ctlFile")) |
1025
|
0 |
1 |
if (exists $ENV{'ORACLE_HOME'}) |
1026
|
0 |
0 |
if -x "$ENV{'ORACLE_HOME'}/bin/$exe" |
1031
|
0 |
7 |
if -x "$_/$exe" |
1056
|
0 |
0 |
unless $ENV{'ORACLE_HOME'} |
1058
|
0 |
0 |
unless $ENV{'ORACLE_SID'} |
1060
|
0 |
0 |
unless $class->findProgram($SQLLDRBIN) |
1085
|
0 |
7 |
if ($args{'infile'} eq '*') { } |
1088
|
0 |
0 |
$args{'badfile'} ? : |
1091
|
0 |
0 |
$args{'discardfile'} ? : |
1094
|
0 |
0 |
$args{'logfile'} ? : |
1112
|
2 |
82 |
if exists $args{$key} |
1116
|
1 |
34 |
if (exists $args{$key}) |
1117
|
0 |
1 |
if ($args{$key} =~ /0|false/i) { } |
|
1 |
0 |
elsif ($args{$key} =~ /1|true/i) { } |
1142
|
0 |
7 |
exists $args{'offset_from'} ? : |
1150
|
1 |
6 |
if (exists $args{'direct'}) { } |
1151
|
0 |
1 |
if (not $args{'direct'} or $args{'direct'} =~ /false/i) { } |
1163
|
0 |
7 |
$args{'nullcols'} ? : |
1166
|
0 |
7 |
$args{'silent'} ? : |
1172
|
0 |
7 |
if ($args{'username'}) { } |
|
0 |
7 |
elsif ($ENV{'ORACLE_USERID'}) { } |
1173
|
0 |
0 |
if (exists $args{'password'}) { } |
1176
|
0 |
0 |
if (exists $args{'sid'}) { } |
|
0 |
0 |
elsif (exists $ENV{'ORACLE_SID'}) { } |
1197
|
0 |
0 |
if (($$self{'_cfg_global'}{'username'}, $$self{'_cfg_global'}{'password'}, $$self{'_cfg_global'}{'sid'}) = $ENV{'ORACLE_USERID'} =~ m[(\w+)/(\w+)[\@(\w+)]?]) { } |
1221
|
0 |
0 |
exists $args{'cleanup'} ? : |
1290
|
0 |
0 |
unless ($$self{'_cfg_tables'}) |
1301
|
0 |
0 |
if ($$self{'_cfg_global'}{'terminated_by'}) |
1306
|
0 |
0 |
if ($$self{'_cfg_global'}{'enclosed_by'}) |
1311
|
0 |
0 |
if ($$self{'_cfg_global'}{'nullcols'}) |
1324
|
0 |
0 |
if $$def{'position_spec'} |
1326
|
0 |
0 |
if $$def{'nullif_clause'} |
1327
|
0 |
0 |
if $$def{'terminated_clause'} |
1328
|
0 |
0 |
if $$def{'transform_clause'} |