Condition Coverage

blib/lib/DBD/SQLcipher.pm
Criterion Covered Total %
condition 0 137 0.0


and 2 conditions

line l !l condition
34 0 0 not $methods_are_installed and 1

and 3 conditions

line !l l&&!r l&&r condition
116 0 0 0 $^O =~ /MSWin32/ and $real ne ':memory:'
0 0 0 $^O =~ /MSWin32/ and $real ne ':memory:' and $real ne ''
0 0 0 $^O =~ /MSWin32/ and $real ne ':memory:' and $real ne '' and not $real =~ /^file:/
0 0 0 $^O =~ /MSWin32/ and $real ne ':memory:' and $real ne '' and not $real =~ /^file:/ and not -f $real
186 0 0 0 defined $_[0] and defined $_[1]
212 0 0 0 defined $statement and not defined $attr
0 0 0 defined $statement and not defined $attr and not @bind_values
244 0 0 0 $file and not -f $file
285 0 0 0 defined $cat_val and $cat_val eq '%'
0 0 0 defined $cat_val and $cat_val eq '%' and defined $sch_val
0 0 0 defined $cat_val and $cat_val eq '%' and defined $sch_val and $sch_val eq ''
0 0 0 defined $cat_val and $cat_val eq '%' and defined $sch_val and $sch_val eq '' and defined $tbl_val
0 0 0 defined $cat_val and $cat_val eq '%' and defined $sch_val and $sch_val eq '' and defined $tbl_val and $tbl_val eq ''
0 0 0 defined $cat_val and $cat_val eq ''
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '%'
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '%' and defined $tbl_val
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '%' and defined $tbl_val and $tbl_val eq ''
0 0 0 defined $cat_val and $cat_val eq ''
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq ''
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '' and defined $tbl_val
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '' and defined $tbl_val and $tbl_val eq ''
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '' and defined $tbl_val and $tbl_val eq '' and defined $typ_val
0 0 0 defined $cat_val and $cat_val eq '' and defined $sch_val and $sch_val eq '' and defined $tbl_val and $tbl_val eq '' and defined $typ_val and $typ_val eq '%'
405 0 0 0 defined $schema and $schema ne '%'
0 0 0 defined $schema and $schema ne '%' and $schema ne $dbname
418 0 0 0 defined $table and $table ne '%'
0 0 0 defined $table and $table ne '%' and $table ne $tbname
432 0 0 0 @pk > 1 and $row->{'sql'} =~ /\bPRIMARY\s+KEY\s*\(\s* ( (?: ( [a-z_][a-z0-9_]* | (["'`])(?:\3\3|(?!\3).)+?\3(?!\3) | \[[^\]]+\] ) \s*,\s* )+ ( [a-z_][a-z0-9_]* | (["'`])(?:\5\5|(?!\5).)+?\5(?!\5) | \[[^\]]+\] ) ) \s*\)/six
565 0 0 0 defined $fk_schema and $fk_schema ne '%'
0 0 0 defined $fk_schema and $fk_schema ne '%' and $fk_schema ne $dbname
576 0 0 0 defined $fk_table and $fk_table ne '%'
0 0 0 defined $fk_table and $fk_table ne '%' and $fk_table ne $tbname
582 0 0 0 defined $pk_table and $pk_table ne '%'
0 0 0 defined $pk_table and $pk_table ne '%' and $pk_table ne $row->{'table'}
604 0 0 0 defined $pk_schema and $pk_schema ne '%'
0 0 0 defined $pk_schema and $pk_schema ne '%' and $pk_schema ne $table_info{$row->{'table'}}{'schema'}
664 0 0 0 defined $schema and $schema ne '%'
0 0 0 defined $schema and $schema ne '%' and $schema ne $dbname
675 0 0 0 defined $table and $table ne '%'
0 0 0 defined $table and $table ne '%' and uc $table ne uc $tbname
682 0 0 0 $unique_only and not $row->{'unique'}
789 0 0 0 defined $col_val and $col_val eq '%'

or 3 conditions

line l !l&&r !l&&!r condition
216 0 0 0 index($statement, ';') == -1 or $allow_multiple_statements