Branch Coverage

blib/lib/DBIx/SimplePerl.pm
Criterion Covered Total %
branch 0 252 0.0


line true false branch
578 0 0 if $$self{'debug'}
583 0 0 if (exists $args{$_}) { }
585 0 0 if $_ eq 'dsn'
586 0 0 if $_ eq 'dbuser'
587 0 0 if $_ eq 'dbpass'
598 0 0 if $_ ne 'dsn' and $_ ne 'dbuser' and $_ ne 'dbpass'
606 0 0 unless defined $attr{'AutoCommit'}
607 0 0 unless defined $attr{'RaiseError'}
611 0 0 if $$self{'debug'}
625 0 0 if $rc{'failed'}
627 0 0 if $$self{'debug'}
629 0 0 if $$self{'debug'}
631 0 0 unless (defined $$self{'quote'})
633 0 0 if ($dsn =~ /dbi:Pg/i) { }
0 0 elsif ($dsn =~ /dbi:SQLite/i) { }
0 0 elsif ($dsn =~ /DBI:mysql/i) { }
670 0 0 if (exists $args{$_}) { }
672 0 0 if $_ eq 'table'
673 0 0 if $_ eq 'columns'
682 0 0 unless (defined $$self{'_dbh'})
699 0 0 if $_ < $#values
703 0 0 if $$self{'debug'}
708 0 0 if $rc{'failed'}
710 0 0 if $$self{'debug'}
715 0 0 if $rc{'failed'}
717 0 0 if $$self{'debug'}
736 0 0 if (exists $args{$_})
738 0 0 if $_ eq 'table'
739 0 0 if $_ eq 'search'
740 0 0 if $_ eq 'order'
741 0 0 if $_ eq 'columns'
742 0 0 if $_ eq 'distinct'
743 0 0 if $_ eq 'search_operator'
744 0 0 if $_ eq 'count'
745 0 0 if $_ eq 'max'
746 0 0 if $_ eq 'min'
749 0 0 unless (defined $table)
755 0 0 unless (defined $$self{'_dbh'})
763 0 0 if defined $count
764 0 0 if defined $min
765 0 0 if defined $max
766 0 0 if ($specials > 1)
773 0 0 if (not defined $search) { }
0 0 elsif (defined $search and not defined $count || defined $min || defined $max) { }
0 0 elsif (defined $search and defined $count || defined $min || defined $max) { }
775 0 0 if (not defined $count || defined $min || defined $max || defined $distinct) { }
0 0 elsif (defined $count) { }
0 0 elsif (defined $max) { }
0 0 elsif (defined $min) { }
0 0 elsif (defined $distinct) { }
814 0 0 if ref $$search{$_} eq 'ARRAY'
818 0 0 if (not $in_variant) { }
826 0 0 defined $$self{'search_condition'} ? :
0 0 if $_ > 0
838 0 0 if $_count > 1
839 0 0 if (ref $$search{$_} ne 'ARRAY') { }
869 0 0 if defined $max
870 0 0 if defined $min
871 0 0 if defined $count
882 0 0 if ref $$search{$_} eq 'ARRAY'
886 0 0 if (not $in_variant) { }
894 0 0 if $_ > 0
906 0 0 if $_count > 1
907 0 0 if (ref $$search{$_} ne 'ARRAY') { }
929 0 0 if (defined $order)
930 0 0 if $$self{'debug'}
936 0 0 if $rc{'failed'}
938 0 0 if $$self{'debug'}
942 0 0 if $$self{'debug'}
945 0 0 if $rc{'failed'}
946 0 0 if $$self{'debug'}
961 0 0 if (exists $args{$_}) { }
963 0 0 if $_ eq 'table'
964 0 0 if $_ eq 'search'
965 0 0 if $_ eq 'columns'
974 0 0 unless (defined $$self{'_dbh'})
992 0 0 if $_ > 0
998 0 0 if $_ > 0
1001 0 0 if $$self{'debug'}
1008 0 0 if $rc{'failed'}
1009 0 0 if $$self{'debug'}
1015 0 0 if $rc{'failed'}
1016 0 0 if $$self{'debug'}
1030 0 0 if (exists $args{$_}) { }
1032 0 0 if $_ eq 'table'
1033 0 0 if $_ eq 'search'
1042 0 0 unless (defined $$self{'_dbh'})
1058 0 0 if $_ > 0
1061 0 0 if $$self{'debug'}
1067 0 0 if $rc{'failed'}
1068 0 0 if $$self{'debug'}
1073 0 0 if $rc{'failed'}
1074 0 0 if $$self{'debug'}
1085 0 0 unless $$self{'_sth'}
1086 0 0 if $$self{'debug'}
1096 0 0 unless $$self{'_sth'}
1097 0 0 if $$self{'debug'}
1107 0 0 unless $$self{'_sth'}
1109 0 0 if $$self{'debug'}
1117 0 0 unless $$self{'_dbh'}
1125 0 0 unless $$self{'_dbh'}
1134 0 0 unless ($$self{'_dbh'})
1141 0 0 if (exists $args{$_}) { }
1143 0 0 if $_ eq 'level'
1144 0 0 if $_ eq 'file'
1152 0 0 if (not $file) { }
1168 0 0 if (defined $$self{'_sth'})
1170 0 0 if $$self{'debug'}
1172 0 0 if $rc{'failed'}
1182 0 0 if defined $$self{'_dbh'}
1183 0 0 if $$self{'debug'}
1185 0 0 if $rc{'failed'}
1199 0 0 if (exists $args{$_}) { }
1201 0 0 if $_ eq 'table'
1202 0 0 if $_ eq 'columns'
1211 0 0 unless (defined $$self{'_dbh'})
1229 0 0 if $_ < $#fields
1232 0 0 if $$self{'debug'}
1237 0 0 if $rc{'failed'}
1238 0 0 if $$self{'debug'}
1243 0 0 if $rc{'failed'}
1244 0 0 if $$self{'debug'}
1282 0 0 if (defined $$self{'_dbh'}->err and $$self{'_dbh'}->err)
1287 0 0 if $$self{'debug'}
1297 0 0 if (defined $$self{'_sth'} and defined $$self{'_sth'}->err and $$self{'_sth'}->err)
1303 0 0 if $$self{'debug'}