• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

processone / ejabberd / 1296

19 Jan 2026 11:25AM UTC coverage: 33.562% (+0.09%) from 33.468%
1296

push

github

badlop
mod_conversejs: Cosmetic change: sort paths alphabetically

0 of 4 new or added lines in 1 file covered. (0.0%)

11245 existing lines in 174 files now uncovered.

15580 of 46421 relevant lines covered (33.56%)

1074.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.85
/src/mod_mam_opt.erl
1
%% Generated automatically
2
%% DO NOT EDIT: run `make options` instead
3

4
-module(mod_mam_opt).
5

6
-export([access_preferences/1]).
7
-export([archive_muc_as_mucsub/1]).
8
-export([assume_mam_usage/1]).
9
-export([cache_life_time/1]).
10
-export([cache_missed/1]).
11
-export([cache_size/1]).
12
-export([clear_archive_on_room_destroy/1]).
13
-export([compress_xml/1]).
14
-export([db_type/1]).
15
-export([default/1]).
16
-export([request_activates_archiving/1]).
17
-export([use_cache/1]).
18
-export([user_mucsub_from_muc_archive/1]).
19

20
-spec access_preferences(gen_mod:opts() | global | binary()) -> 'all' | acl:acl().
21
access_preferences(Opts) when is_map(Opts) ->
22
    gen_mod:get_opt(access_preferences, Opts);
×
23
access_preferences(Host) ->
UNCOV
24
    gen_mod:get_module_opt(Host, mod_mam, access_preferences).
1,288✔
25

26
-spec archive_muc_as_mucsub(gen_mod:opts() | global | binary()) -> boolean().
27
archive_muc_as_mucsub(Opts) when is_map(Opts) ->
28
    gen_mod:get_opt(archive_muc_as_mucsub, Opts);
×
29
archive_muc_as_mucsub(Host) ->
30
    gen_mod:get_module_opt(Host, mod_mam, archive_muc_as_mucsub).
×
31

32
-spec assume_mam_usage(gen_mod:opts() | global | binary()) -> boolean().
33
assume_mam_usage(Opts) when is_map(Opts) ->
34
    gen_mod:get_opt(assume_mam_usage, Opts);
205✔
35
assume_mam_usage(Host) ->
36
    gen_mod:get_module_opt(Host, mod_mam, assume_mam_usage).
109✔
37

38
-spec cache_life_time(gen_mod:opts() | global | binary()) -> 'infinity' | pos_integer().
39
cache_life_time(Opts) when is_map(Opts) ->
40
    gen_mod:get_opt(cache_life_time, Opts);
157✔
41
cache_life_time(Host) ->
42
    gen_mod:get_module_opt(Host, mod_mam, cache_life_time).
×
43

44
-spec cache_missed(gen_mod:opts() | global | binary()) -> boolean().
45
cache_missed(Opts) when is_map(Opts) ->
46
    gen_mod:get_opt(cache_missed, Opts);
157✔
47
cache_missed(Host) ->
48
    gen_mod:get_module_opt(Host, mod_mam, cache_missed).
×
49

50
-spec cache_size(gen_mod:opts() | global | binary()) -> 'infinity' | pos_integer().
51
cache_size(Opts) when is_map(Opts) ->
52
    gen_mod:get_opt(cache_size, Opts);
157✔
53
cache_size(Host) ->
54
    gen_mod:get_module_opt(Host, mod_mam, cache_size).
×
55

56
-spec clear_archive_on_room_destroy(gen_mod:opts() | global | binary()) -> boolean().
57
clear_archive_on_room_destroy(Opts) when is_map(Opts) ->
58
    gen_mod:get_opt(clear_archive_on_room_destroy, Opts);
109✔
59
clear_archive_on_room_destroy(Host) ->
60
    gen_mod:get_module_opt(Host, mod_mam, clear_archive_on_room_destroy).
109✔
61

62
-spec compress_xml(gen_mod:opts() | global | binary()) -> boolean().
63
compress_xml(Opts) when is_map(Opts) ->
64
    gen_mod:get_opt(compress_xml, Opts);
×
65
compress_xml(Host) ->
UNCOV
66
    gen_mod:get_module_opt(Host, mod_mam, compress_xml).
1,644✔
67

68
-spec db_type(gen_mod:opts() | global | binary()) -> atom().
69
db_type(Opts) when is_map(Opts) ->
70
    gen_mod:get_opt(db_type, Opts);
109✔
71
db_type(Host) ->
72
    gen_mod:get_module_opt(Host, mod_mam, db_type).
×
73

74
-spec default(gen_mod:opts() | global | binary()) -> 'always' | 'never' | 'roster'.
75
default(Opts) when is_map(Opts) ->
76
    gen_mod:get_opt(default, Opts);
×
77
default(Host) ->
UNCOV
78
    gen_mod:get_module_opt(Host, mod_mam, default).
4,760✔
79

80
-spec request_activates_archiving(gen_mod:opts() | global | binary()) -> boolean().
81
request_activates_archiving(Opts) when is_map(Opts) ->
82
    gen_mod:get_opt(request_activates_archiving, Opts);
×
83
request_activates_archiving(Host) ->
UNCOV
84
    gen_mod:get_module_opt(Host, mod_mam, request_activates_archiving).
6,256✔
85

86
-spec use_cache(gen_mod:opts() | global | binary()) -> boolean().
87
use_cache(Opts) when is_map(Opts) ->
88
    gen_mod:get_opt(use_cache, Opts);
×
89
use_cache(Host) ->
90
    gen_mod:get_module_opt(Host, mod_mam, use_cache).
9,326✔
91

92
-spec user_mucsub_from_muc_archive(gen_mod:opts() | global | binary()) -> boolean().
93
user_mucsub_from_muc_archive(Opts) when is_map(Opts) ->
94
    gen_mod:get_opt(user_mucsub_from_muc_archive, Opts);
×
95
user_mucsub_from_muc_archive(Host) ->
UNCOV
96
    gen_mod:get_module_opt(Host, mod_mam, user_mucsub_from_muc_archive).
8,470✔
97

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc