Condition Coverage

blib/lib/SQLite/Work.pm
Criterion Covered Total %
condition 31 112 27.6


and 3 conditions

line !l l&&!r l&&r condition
1046 0 0 0 $val and $args{'split_alpha'}
1146 0 0 0 $two_level_ind and !defined($prev_a) || $a1 ne $prev_a
1660 1 0 0 $total == 1 || $limit == 1 and $table2
1910 0 1 0 $args{'report_style'} ne 'bare' and $args{'report_style'} ne 'compact'
1911 0 1 0 $args{'limit'} and $args{'report_style'} eq 'full'
2000 1 3 0 not $template =~ /\n/ and -r $template
2025 0 0 4 exists $self->{'row_ids'}{$table} and defined $self->{'row_ids'}{$table}
2047 1 0 0 exists $self->{'join_cols'}{$key1} and defined $self->{'join_cols'}{$key1}
1 0 0 exists $self->{'join_cols'}{$key2} and defined $self->{'join_cols'}{$key2}
2229 0 0 1 @sort_by and @headers
2231 1 0 2 $i < @headers and $i < @sort_by
2237 2 0 0 @groups and exists $groups[$i]
0 0 0 @groups and exists $groups[$i] and defined $groups[$i]
2258 7 0 2 $in_header{$col} and not $force_show_cols{$col}
2278 0 0 1 %nice_cols and not $thead
2293 0 0 1 defined $args{'num_pages'} && $args{'num_pages'} > 1
2312 0 35 5 $hval and $hval ne $prev_head{$hi}
2315 2 1 2 $count != 0 and not $new_section
2335 0 0 3 $report_style ne 'bare' and $args{'layout'} eq 'table'
2382 0 1 0 not $row_template =~ /\n/ and -r $row_template

or 2 conditions

line l !l condition
271 0 1 $self->{'report_template'} ||= "\n<!--sqlr_title-->\n\n\n

\n\n\n\n"
281 0 1 $self->{'index_template'} ||= "\n<!--sqlr_title-->\n\n\n

\n\n\n\n"
963 0 0 $val || ''
1120 0 0 $val || ''
2157 1 0 $args{'header_start'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
259 0 1 0 ref $class || $class
723 0 0 0 $args{'limit'} == 0 or $args{'outfile'} eq ''
0 0 0 $args{'limit'} == 0 or $args{'outfile'} eq '' or $args{'outfile'} eq '-'
813 0 0 0 $args{'prev_file'} or $args{'next_file'}
970 0 0 0 $split_alpha || @split_vals < 15
1146 0 0 0 !defined($prev_a) || $a1 ne $prev_a
1341 0 0 0 not defined $val or $val eq 'NULL'
1660 0 0 1 $total == 1 || $limit == 1
1944 0 0 1 $args{'prev_file'} or $args{'next_file'}
1973 0 0 1 not defined $args{'outfile'} or $args{'outfile'} eq ''
0 0 1 not defined $args{'outfile'} or $args{'outfile'} eq '' or $args{'outfile'} eq '-'
2394 0 0 0 $args{'layout'} eq '' or $args{'layout'} eq 'none'
2618 0 0 0 not defined $val or $val eq 'NULL'
0 0 0 not $val or $val eq q['']