| blib/lib/Data/Session/ID/AutoIncrement.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 26 | 34.6 | 
| 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 | 1 | 14 | 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 |