Branch Coverage

blib/lib/Rose/DB/SQLite.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
48 0 0 unless ($self->auto_create or -e $database)
67 0 0 if not ref $_[1]
74 0 0 if not ref $_[1]
81 0 0 if not ref $_[1]
94 0 0 if (UNIVERSAL::isa($value, "DateTime") or $self->validate_date_keyword($value))
109 0 0 if ($error)
122 0 0 if (UNIVERSAL::isa($value, "DateTime") or $self->validate_datetime_keyword($value))
137 0 0 if ($error)
150 0 0 if (UNIVERSAL::isa($value, "DateTime") or $self->validate_timestamp_keyword($value))
165 0 0 if ($error)
177 0 0 if $size
190 0 0 if ($col_info->{'TYPE_NAME'} eq 'bit') { }
0 0 elsif ($col_info->{'TYPE_NAME'} eq 'datetime' and defined $col_info->{'COLUMN_DEF'}) { }
197 0 0 if (lc $col_info->{'COLUMN_DEF'} eq "current_timestamp")
237 0 0 $args{'include_views'} ? :
247 0 0 unless my $dbh = $self->dbh
266 0 0 if ($error)
271 0 0 wantarray ? :
285 0 0 unless my $dbh = $self->dbh
371 0 0 if (defined $4) { }
382 0 0 if defined $new_sql
400 0 0 unless (defined $col_name)
412 0 0 if ($col_type =~ /^(\w+) \s* \( \s* (\d+) \s* \)$/x) { }
0 0 elsif ($col_type =~ /^\s* (\w+) \s* \( \s* (\d+) \s* , \s* (\d+) \s* \) \s*$/x) { }
429 0 0 if (/^DEFAULT \s+ ( $Name | \w+ \s* $Nested_Parens | [^,)]+ )/six) { }
0 0 elsif (/^PRIMARY (?: \s+ KEY )? \b (?: .*? (AUTOINCREMENT) )?/six) { }
0 0 elsif (/^\s* UNIQUE (?: \s+ KEY)? \b/six) { }
0 0 elsif (/^NOT \s+ NULL \b/six) { }
437 0 0 if ($1 and $class->coerce_autoincrement_to_serial)
452 0 0 unless defined $col_info{'NULLABLE'}
461 0 0 if ($constraint =~ /^\s* PRIMARY \s+ KEY \s* ($Nested_Parens)/six) { }
0 0 elsif ($constraint =~ /^\s* UNIQUE \s* ($Nested_Parens)/six) { }
498 0 0 if ($name =~ s/^(['`"]) ( (?: [^\1]+ | \1\1 )+ ) \1 $/$2/six)