Condition Coverage

blib/lib/DBIx/BatchChunker.pm
Criterion Covered Total %
condition 43 76 56.5


and 3 conditions

line !l l&&!r l&&r condition
989 0 0 29 defined $min_id and defined $max_id
1060 1 0 30 defined $self->min_id and defined $self->max_id
1151 403 109 93 $count_stmt and defined $self->dbic_storage
1188 61 0 230 defined $rs and $coderef
1196 144 0 67 $self->single_rows and $coderef
1380 173 0 3 $ls->chunk_count == 0 and $self->min_chunk_percent > 0
1474 0 0 110 $ls->chunk_size and $ls->prev_runtime
1586 0 0 0 $ls->start < 1000000000 and $ls->end < 1000000000

or 2 conditions

line l !l condition
935 16 13 $self->id_name || ''
1575 0 0 $self->sleep || 0

or 3 conditions

line l !l&&r !l&&!r condition
481 16 12 34 not $id_name or $id_name =~ /\./
28 22 12 not $id_name or $id_name =~ /\./ or not defined $self->rs
692 0 0 428 &blessed($val) or not &PerlSafeInt()->check($val)
699 2 0 1748 &blessed($val) or not &PerlSafeInt()->check($val)
707 0 4 3206 &blessed($val) or not &PerlSafeInt()->check($val)
938 0 29 0 $self->progress_bar || 'Term::ProgressBar'->new({'name', 'Calculating ranges' . ($column_name ? " for $column_name" : ''), 'count', 2, 'ETA', 'linear', 'silent', !(-t *STDERR && -t *STDIN)})
1065 0 31 0 $self->progress_bar || 'Term::ProgressBar'->new({'name', $self->progress_name, 'count', $count || 1, 'ETA', 'linear', 'silent', !(-t *STDERR && -t *STDIN)})
1092 605 0 30 $ls->prev_end < $self->max_id or $ls->start
1294 6 0 0 defined $self->rsc or $self->max_stmt
1323 0 0 6 not $new_max_id or $new_max_id eq "0E0"
1372 314 115 176 $self->min_chunk_percent <= 0 or not defined $ls->chunk_count
1415 17 8 0 not defined $lr->{'max'} or $ls->multiplier_range < $lr->{'max'}
1416 6 0 19 $lr->{'min'} || $ls->multiplier_range - $ls->multiplier_step
1448 54 21 0 not defined $lr->{'min'} or $ls->multiplier_range > $lr->{'min'}
1478 61 49 0 $ls->chunk_count || $ls->chunk_size
1621 0 0 0 $ls->start > 1000000000 or $ls->end > 1000000000