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 28 defined $min_id and defined $max_id
1060 1 0 29 defined $self->min_id and defined $self->max_id
1151 396 109 93 $count_stmt and defined $self->dbic_storage
1188 61 0 227 defined $rs and $coderef
1196 144 0 67 $self->single_rows and $coderef
1380 166 0 3 $ls->chunk_count == 0 and $self->min_chunk_percent > 0
1461 0 0 110 $ls->chunk_size and $ls->prev_runtime
1573 0 0 0 $ls->start < 1000000000 and $ls->end < 1000000000

or 2 conditions

line l !l condition
935 15 13 $self->id_name || ''
1562 0 0 $self->sleep || 0

or 3 conditions

line l !l&&r !l&&!r condition
481 16 11 32 not $id_name or $id_name =~ /\./
27 21 11 not $id_name or $id_name =~ /\./ or not defined $self->rs
692 0 0 424 &blessed($val) or not &PerlSafeInt()->check($val)
699 2 0 1737 &blessed($val) or not &PerlSafeInt()->check($val)
707 0 2 3196 &blessed($val) or not &PerlSafeInt()->check($val)
938 0 28 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 30 0 $self->progress_bar || 'Term::ProgressBar'->new({'name', $self->progress_name, 'count', $count || 1, 'ETA', 'linear', 'silent', !(-t *STDERR && -t *STDIN)})
1092 598 0 29 $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 169 $self->min_chunk_percent <= 0 or not defined $ls->chunk_count
1403 15 6 0 not defined $lr->{'max'} or $ls->multiplier_range < $lr->{'max'}
1404 6 0 15 $lr->{'min'} || $ls->multiplier_range - $ls->multiplier_step
1435 54 21 0 not defined $lr->{'min'} or $ls->multiplier_range > $lr->{'min'}
1465 61 49 0 $ls->chunk_count || $ls->chunk_size
1608 0 0 0 $ls->start > 1000000000 or $ls->end > 1000000000