| blib/lib/PAGI/Session.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 20 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 68 | 1 | 27 | if (builtin::blessed($arg) and $arg->can('scope')) { } |
| 1 | 26 | elsif (ref $arg eq 'HASH' and exists $arg->{'pagi.session'}) { } | |
| 22 | 4 | elsif (ref $arg eq 'HASH') { } | |
| 81 | 4 | 24 | unless ref $data eq "HASH" |
| 116 | 5 | 7 | unless (exists $self->{'_data'}{$key}) |
| 117 | 3 | 2 | if @rest |
| 136 | 1 | 7 | if @args > 2 and @args % 2 |
| 137 | 6 | 1 | if (@args == 2) { } |
| 156 | 2 | 2 | exists $self->{'_data'}{$key} ? : |
| 199 | 3 | 4 | exists $self->{'_data'}{$_} ? : |