Condition Coverage

blib/lib/DBIx/SQLCrosstab.pm
Criterion Covered Total %
condition 14 62 22.5


and 3 conditions

line !l l&&!r l&&r condition
160 22 0 12 exists $$self{$_} and defined $$self{$_}
228 2 0 0 exists $$self{'RaiseError'} && $$self{'RaiseError'}
229 2 0 0 exists $$self{'PrintError'} && $$self{'PrintError'}
258 0 3 1 ref $$self{'dbh'} and ref($$self{'dbh'}) =~ /DBI::db/
0 0 3 ref $$self{'dbh'} and ref $$self{'dbh'} eq 'HASH'
289 0 0 6 exists $$row{$_} and defined $$row{$_}
301 0 0 16 exists $$col{$_} and defined $$col{$_}
321 0 0 0 ref $$self{'add_op'} and ref $$self{'add_op'} eq 'ARRAY'
337 0 0 4 ref $op and ref $op eq 'ARRAY'
380 4 0 0 $$self{'add_real_names'} and $$self{'use_real_names'}
789 0 0 0 $$self{'col_exclude'} and grep {$name eq $_;} @{$$self{'col_exclude'};}
790 0 0 0 $$self{'check_group'} and $$self{'keepcols'}
824 0 0 0 @{$$self{'op'};} > 1 and $$self{'col_sub_total'}
935 0 0 2 $$self{'records'} and $$self{'col_names'}
938 0 0 2 ref $$self{'records'} eq 'ARRAY' and ref $$self{'records'}[0] eq 'ARRAY'
986 0 0 0 defined $c and $c ne '0'
1048 0 0 0 defined $$_[$i] and $$_[$i] =~ /^\d+\.(\d+)/

or 2 conditions

line l !l condition
170 1 0 shift() || 'xtab_params.pl'
215 0 0 shift() || '-- no msg --'
454 0 0 shift() || 'normal'
731 0 0 shift() || '#'

or 3 conditions

line l !l&&r !l&&!r condition
715 0 0 0 exists $exclude_value{$$_{'xcol_id'}} || exists $exclude_value{$$_{$xcol_alias}}