Branch Coverage

blib/lib/VSGDR/StaticData.pm
Criterion Covered Total %
branch 0 162 0.0


line true false branch
66 0 0 if (scalar @{$res;})
108 0 0 unless defined $dbh
109 0 0 unless defined $schema
110 0 0 unless defined $table
112 0 0 if $schema =~ /\A \[ .+ \] \Z /imsx
113 0 0 if $table =~ /\A \[ .+ \] \Z /imsx
124 0 0 $VSGDR::StaticData::OSNAME eq 'MSWin32' ? :
131 0 0 if ($hasId)
137 0 0 if $hasId
138 0 0 if $hasId
145 0 0 unless scalar @{$ra_columns;}
153 0 0 $_->[1] =~ /uniqueidentifier|char|text|date/i ? :
182 0 0 if (not scalar @{$ra_pkcolumns;}) { }
0 0 elsif (scalar @{$ra_pkcolumns;} != 1) { }
224 0 0 unless grep {$_->[0] eq $col->[0];} @{$ra_pkcolumns;}
284 0 0 $l->[1] =~ /\A(?:date|datetime[2]?|smalldatetime)\z/i ? :
288 0 0 !($l->[1] =~ / (?: char ) /imsx) ? :
297 0 0 if (not $hasId or $l->[0] ne $idCol) { }
0 0 elsif ($hasId) { }
347 0 0 if ($IsColumnNumeric[$i] == 1 and not defined $ra_row->[$i])
350 0 0 if ($IsColumnNumeric[$i] == 0 and not defined $ra_row->[$i])
353 0 0 if ($IsColumnNumeric[$i] == 1 and defined $ra_row->[$i])
356 0 0 if ($IsColumnNumeric[$i] == 0 and defined $ra_row->[$i])
357 0 0 if (do { $ra_columns }->[$i][1] =~ /\A(?:date|datetime[2]?|smalldatetime)\z/i) { }
375 0 0 if (scalar @valuesTable)
384 0 0 if (length $tmp[$i] > $maxWidth[$i])
412 0 0 if ($pk_column)
423 0 0 if (scalar @{$ra_data;} > $LargeDataSetThreshhold)
431 0 0 if (scalar @nonKeyColumns)
466 0 0 if (scalar @{$ra_data;} > $LargeDataSetThreshhold)
629 0 0 unless defined $dbh
630 0 0 unless defined $schema
631 0 0 unless defined $table
632 0 0 unless defined $sql
633 0 0 unless defined $use_MinimalForm
634 0 0 unless defined $use_IgnoreNulls
636 0 0 if $schema =~ /\A \[ .+ \] \Z /imsx
637 0 0 if $table =~ /\A \[ .+ \] \Z /imsx
648 0 0 if ($hasId)
654 0 0 if $hasId
655 0 0 if $hasId
659 0 0 unless scalar @{$ra_columns;}
662 0 0 $_->[1] =~ /uniqueidentifier|char|text|date/i ? :
686 0 0 $l->[1] =~ /\A(?:date|datetime[2]?|smalldatetime)\z/i ? :
700 0 0 if ($use_IgnoreNulls) { }
704 0 0 if (defined $ra_row->[$i])
719 0 0 if ($useColumnValues[$i])
720 0 0 if (not scalar $colList) { }
740 0 0 if ($useColumnValues[$i])
741 0 0 if (not defined $ra_row->[$i]) { }
745 0 0 if (do { $ra_metadata }->[$i][1] =~ /\A(?:date|datetime[2]?|smalldatetime)\z/i) { }
0 0 elsif (do { $ra_metadata }->[$i][1] =~ /(?:uniqueidentifier|char|text|date)/i) { }
765 0 0 if (scalar @valuesTable)
774 0 0 if ($useColumnValues[$i])
775 0 0 if (length $tmp[$i] > $maxWidth[$i])
789 0 0 if ($useColumnValues[$j])
804 0 0 if (not $use_MinimalForm) { }
838 0 0 unless my $dbh = shift()
839 0 0 unless my $sql = shift()
859 0 0 unless my $dbh = shift()
860 0 0 unless my $combinedName = shift()
861 0 0 unless my $cols = shift()
862 0 0 unless my $sql = shift()
877 0 0 unless my $dbh = shift()
878 0 0 unless my $combinedName = shift()
896 0 0 unless my $combinedName = shift()
902 0 0 if (not $pkCol) { }
923 0 0 unless my $dbh = shift()
924 0 0 unless my $schema = shift()
925 0 0 unless my $table = shift()
955 0 0 unless my $dbh = shift()
956 0 0 unless my $schema = shift()
957 0 0 unless my $table = shift()
990 0 0 unless my $dbh = shift()
991 0 0 unless my $qtd_schema = shift()
992 0 0 unless my $qtd_table = shift()
1004 0 0 if (scalar @{$res;})
1048 0 0 unless my $dbh = shift()
1049 0 0 unless my $schema = shift()
1050 0 0 unless my $table = shift()
1056 0 0 if (scalar @{$res;})