| blib/lib/Data/Session/ID/AutoIncrement.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 26 | 30.7 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 0 | 15 | unless $id_file |
| 27 | 0 | 0 | $self->debug ? : |
| 0 | 15 | unless sysopen $fh, $id_file, 66, $self->umask | |
| 29 | 15 | 0 | unless ($self->no_flock) |
| 31 | 0 | 0 | $self->debug ? : |
| 0 | 15 | unless flock $fh, 2 | |
| 36 | 0 | 15 | unless ($id and $id =~ /^\d+$/) |
| 43 | 0 | 0 | $self->debug ? : |
| 0 | 15 | unless seek $fh, 0, 0 | |
| 44 | 0 | 0 | $self->debug ? : |
| 0 | 15 | unless truncate $fh, 0 | |
| 46 | 0 | 0 | $self->debug ? : |
| 0 | 15 | unless close $fh |