File Coverage

blib/lib/Module/Features/PasswordManager.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Module::Features::PasswordManager;
2              
3 1     1   386935 use 5.010001;
  1         4  
4 1     1   6 use strict;
  1         2  
  1         35  
5 1     1   5 use warnings;
  1         2  
  1         282  
6              
7             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8             our $DATE = '2025-01-19'; # DATE
9             our $DIST = 'Module-Features-PasswordManager'; # DIST
10             our $VERSION = '0.001'; # VERSION
11              
12             our %FEATURES_DEF = (
13             v => 1,
14             summary => 'Features of password managers',
15             description => <<'MARKDOWN',
16              
17             Password manager is a tool that lets you input, store, and retrieve individual
18             passwords securely.
19              
20             MARKDOWN
21             features => {
22             can_add_password => {summary => 'Provide an interface to add a password into its database'},
23             can_add_note => {summary => 'When adding a password, can add a note field'},
24             can_add_custom_fields => {summary => 'When adding a password, can add custom fields'},
25              
26             can_edit_password => {summary => 'Provide an interface to edit existing password'},
27             can_record_edit_history => {summary => 'When editing password, record previous data or change history'},
28              
29             can_delete_password => {summary => 'Provide an interface to delete existing password'},
30              
31             can_retrieve_password => {summary => 'Provide an interface to retrieve a single password from database'},
32             can_dump_passwords => {summary => 'Provide an interface to dump all/several passwords from database'},
33              
34             can_encrypt_password => {summary => 'Whether passwords are stored encrypted in the database'},
35             can_encrypt_label => {summary => 'Whether password labels are stored encrypted in the database'},
36             can_encrypt_other_fields => {summary => 'Whether fields other than the password and label are stored encrypted in the database'},
37              
38             database_format => {summary => 'Database format', schema=>['str']},
39             database_format_is_open_standard => {summary => 'Whether database format is an open standard'},
40             encryption_format => {summary => 'Database encryption format', schema=>['str']},
41             encryption_format_is_open_standard => {summary => 'Whether encryption format is an open standard'},
42             },
43             );
44              
45             1;
46             # ABSTRACT:
47              
48             __END__