blib/lib/File/KDBX/Loader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 35 | 34.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 0 | 30 | 0 | defined $sig2 and $sig2 == 3041655653 |
82 | 0 | 0 | 9 | not XXX and defined $src |
line | l | !l | condition |
---|---|---|---|
144 | 0 | 30 | $_[0]{'format'} //= undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
38 | 21 | 0 | 30 | shift() // $self->format |
80 | 0 | 0 | 9 | &openhandle($src) or $src eq "-" |
93 | 0 | 21 | 0 | $args{'kdbx'} //= $self->kdbx |
111 | 0 | 9 | 0 | $args{'kdbx'} //= $self->kdbx |
129 | 0 | 0 | 0 | $args{'kdbx'} //= $self->kdbx |
141 | 346 | 0 | 0 | $self->{'kdbx'} //= "File::KDBX"->new |
145 | 0 | 21 | 0 | $_[0]{'inner_format'} //= $default |
152 | 30 | 0 | 0 | shift() // $self->kdbx |
176 | 30 | 0 | 0 | $key //= $kdbx->key ? $kdbx->key->reload : undef |