blib/lib/File/RoundRobin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 45 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
208 | 9 | 9 | 0 | $params{'mode'} eq "new" and not defined $params{'size'} |
417 | 0 | 0 | 0 | $self->{'_write_start_point_'} == $self->{'_read_start_point_'} and defined $self->{'_read_started_'} |
476 | 8 | 1 | 0 | $params{'mode'} eq "append" and not -f $params{'path'} |
711 | 0 | 0 | 0 | $self->{'_read_start_point_'} < $self->{'_write_start_point_'} and $self->{'_read_start_point_'} + $position >= $self->{'_write_start_point_'} |
line | l | !l | condition |
---|---|---|---|
225 | 2 | 16 | $params{'autoflush'} || 1 |
259 | 573 | 0 | shift() || 1 |
260 | 0 | 573 | shift() || 0 |
326 | 0 | 11 | shift() || 0 |
528 | 9 | 0 | $size || '' |
9 | 0 | $start_point || '' | |
625 | 0 | 0 | shift() || 0 |
672 | 0 | 3 | $_[2] || 0 |
817 | 2 | 2 | $content || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
325 | 0 | 11 | 0 | shift() || length $buffer |
476 | 10 | 0 | 9 | $params{'mode'} eq "new" or $params{'mode'} eq "append" and not -f $params{'path'} |
528 | 0 | 0 | 9 | not $version or $version ne 1 |
0 | 0 | 9 | not $version or $version ne 1 or int($size || '') == 0 | |
0 | 0 | 9 | not $version or $version ne 1 or int($size || '') == 0 or int($start_point || '') == 0 |