blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 57 | 74 | 77.0 |
pod | 33 | 45 | 73.3 |
line | count | pod | subroutine |
---|---|---|---|
20 | 20 | n/a | BEGIN |
21 | 20 | n/a | BEGIN |
23 | 20 | n/a | BEGIN |
25 | 20 | n/a | BEGIN |
26 | 20 | n/a | BEGIN |
27 | 20 | n/a | BEGIN |
28 | 20 | n/a | BEGIN |
29 | 20 | n/a | BEGIN |
33 | 20 | n/a | BEGIN |
36 | 20 | n/a | BEGIN |
37 | 20 | n/a | BEGIN |
38 | 20 | n/a | BEGIN |
39 | 20 | n/a | BEGIN |
41 | 20 | n/a | BEGIN |
99 | 135 | No | HAS_DBM_MODULE |
107 | 135 | No | DBM_MODULE |
114 | 0 | No | DB_EXTENSIONS |
120 | 62 | Yes | new |
137 | 147 | Yes | tie_db_readonly |
230 | 30 | Yes | tie_db_writable |
347 | 26 | n/a | _check_db_version |
355 | 22 | n/a | _upgrade_db |
607 | 69 | Yes | untie_db |
636 | 0 | Yes | calculate_expire_delta |
667 | 0 | Yes | token_expiration |
806 | 10 | Yes | sync_due |
838 | 24 | Yes | seen_get |
843 | 6 | Yes | seen_put |
853 | 6 | n/a | _seen_put_direct |
858 | 4 | Yes | seen_delete |
868 | 4 | n/a | _seen_delete_direct |
876 | 3878 | Yes | tok_get |
881 | 6 | Yes | tok_get_all |
905 | 64 | Yes | get_storage_variables |
993 | 0 | Yes | dump_db_toks |
1011 | 0 | Yes | set_last_expire |
1019 | 10 | Yes | get_running_expire_tok |
1026 | 2 | Yes | set_running_expire_tok |
1034 | 0 | Yes | remove_running_expire_tok |
1044 | 0 | Yes | tok_count_change |
1059 | 10 | Yes | multi_tok_count_change |
1076 | 10 | Yes | nspam_nham_get |
1082 | 10 | Yes | nspam_nham_change |
1092 | 0 | Yes | tok_touch |
1100 | 4 | Yes | tok_touch_all |
1111 | 840 | No | defer_update |
1118 | 14 | Yes | cleanup |
1186 | 532 | Yes | get_magic_re |
1199 | 2 | Yes | sync |
1209 | 2 | n/a | _sync_journal |
1245 | 2 | n/a | _sync_journal_trapped |
1358 | 0 | No | tok_touch_token |
1370 | 2770 | No | tok_sync_counters |
1382 | 2770 | No | tok_put |
1420 | 10 | No | tok_sync_nspam_nham |
1431 | 18 | n/a | _get_journal_filename |
1441 | 0 | Yes | perform_upgrade |
1448 | 20 | n/a | BEGIN |
1511 | 0 | No | upgrade_old_dbm_files_trapped |
1552 | 2 | Yes | clear_database |
1593 | 0 | Yes | backup_database |
1622 | 0 | Yes | restore_database |
1893 | 20 | n/a | BEGIN |
1894 | 20 | n/a | BEGIN |
1895 | 20 | n/a | BEGIN |
1897 | 20 | n/a | BEGIN |
1898 | 20 | n/a | BEGIN |
1901 | 5536 | No | tok_unpack |
1935 | 1662 | No | tok_pack |
1947 | 16 | Yes | db_readable |
1952 | 0 | Yes | db_writable |
1959 | 0 | n/a | _unlink_file |
1965 | 0 | n/a | _rename_file |
1972 | 0 | No | sa_die |