blib/lib/AutoSession/Driver/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 36 | 30.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 0 | 0 | 1 | defined $args{'directory'} and not defined $args{'dir'} |
50 | 0 | 1 | 0 | defined $args{'dir'} and $args{'dir'} eq '' |
183 | 5 | 0 | 0 | $$this{'nocreate'} and not -e $$this{'file'} |
251 | 1 | 0 | 0 | $id ne $$this{'id'} and $size || $size == 0 && CORE::time - $mdtime > 86400 |
342 | 0 | 0 | 2 | $module eq 'AutoSession' and $ver == $AutoSession::VERSION |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
47 | 0 | 0 | 1 | $args{'idsize'} || $AutoSession::DEF_IDSIZE |
53 | 0 | 0 | 1 | $$this{'dir'} eq '' or not -d $$this{'dir'} |
62 | 0 | 1 | 0 | $this->exist_id($$this{'id'}) || $this->filename($$this{'id'}) |
65 | 1 | 0 | 0 | $args{'expire'} || $AutoSession::DEF_EXPIRE |
181 | 0 | 1 | 5 | not $$this{'tree'} or $$this{'closed'} |
251 | 0 | 0 | 0 | $size || $size == 0 && CORE::time - $mdtime > 86400 |
268 | 0 | 0 | 0 | $_[0] || $$this{'file'} |