• 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

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

4
-module(mod_http_upload_opt).
5

6
-export([access/1]).
7
-export([content_types/1]).
8
-export([custom_headers/1]).
9
-export([dir_mode/1]).
10
-export([docroot/1]).
11
-export([external_secret/1]).
12
-export([file_mode/1]).
13
-export([get_url/1]).
14
-export([host/1]).
15
-export([hosts/1]).
16
-export([jid_in_url/1]).
17
-export([max_size/1]).
18
-export([name/1]).
19
-export([put_url/1]).
20
-export([rm_on_unregister/1]).
21
-export([secret_length/1]).
22
-export([service_url/1]).
23
-export([thumbnail/1]).
24
-export([vcard/1]).
25

26
-spec access(gen_mod:opts() | global | binary()) -> 'local' | acl:acl().
27
access(Opts) when is_map(Opts) ->
28
    gen_mod:get_opt(access, Opts);
90✔
29
access(Host) ->
30
    gen_mod:get_module_opt(Host, mod_http_upload, access).
×
31

32
-spec content_types(gen_mod:opts() | global | binary()) -> [{binary(),binary()}].
33
content_types(Opts) when is_map(Opts) ->
34
    gen_mod:get_opt(content_types, Opts);
×
35
content_types(Host) ->
UNCOV
36
    gen_mod:get_module_opt(Host, mod_http_upload, content_types).
3✔
37

38
-spec custom_headers(gen_mod:opts() | global | binary()) -> [{binary(),binary()}].
39
custom_headers(Opts) when is_map(Opts) ->
40
    gen_mod:get_opt(custom_headers, Opts);
90✔
41
custom_headers(Host) ->
42
    gen_mod:get_module_opt(Host, mod_http_upload, custom_headers).
×
43

44
-spec dir_mode(gen_mod:opts() | global | binary()) -> 'undefined' | non_neg_integer().
45
dir_mode(Opts) when is_map(Opts) ->
46
    gen_mod:get_opt(dir_mode, Opts);
90✔
47
dir_mode(Host) ->
48
    gen_mod:get_module_opt(Host, mod_http_upload, dir_mode).
×
49

50
-spec docroot(gen_mod:opts() | global | binary()) -> binary().
51
docroot(Opts) when is_map(Opts) ->
52
    gen_mod:get_opt(docroot, Opts);
90✔
53
docroot(Host) ->
54
    gen_mod:get_module_opt(Host, mod_http_upload, docroot).
1✔
55

56
-spec external_secret(gen_mod:opts() | global | binary()) -> binary().
57
external_secret(Opts) when is_map(Opts) ->
58
    gen_mod:get_opt(external_secret, Opts);
90✔
59
external_secret(Host) ->
60
    gen_mod:get_module_opt(Host, mod_http_upload, external_secret).
×
61

62
-spec file_mode(gen_mod:opts() | global | binary()) -> 'undefined' | non_neg_integer().
63
file_mode(Opts) when is_map(Opts) ->
64
    gen_mod:get_opt(file_mode, Opts);
90✔
65
file_mode(Host) ->
66
    gen_mod:get_module_opt(Host, mod_http_upload, file_mode).
×
67

68
-spec get_url(gen_mod:opts() | global | binary()) -> 'undefined' | binary().
69
get_url(Opts) when is_map(Opts) ->
70
    gen_mod:get_opt(get_url, Opts);
90✔
71
get_url(Host) ->
72
    gen_mod:get_module_opt(Host, mod_http_upload, get_url).
×
73

74
-spec host(gen_mod:opts() | global | binary()) -> binary().
75
host(Opts) when is_map(Opts) ->
76
    gen_mod:get_opt(host, Opts);
×
77
host(Host) ->
78
    gen_mod:get_module_opt(Host, mod_http_upload, host).
×
79

80
-spec hosts(gen_mod:opts() | global | binary()) -> [binary()].
81
hosts(Opts) when is_map(Opts) ->
82
    gen_mod:get_opt(hosts, Opts);
×
83
hosts(Host) ->
84
    gen_mod:get_module_opt(Host, mod_http_upload, hosts).
×
85

86
-spec jid_in_url(gen_mod:opts() | global | binary()) -> 'node' | 'sha1'.
87
jid_in_url(Opts) when is_map(Opts) ->
88
    gen_mod:get_opt(jid_in_url, Opts);
90✔
89
jid_in_url(Host) ->
90
    gen_mod:get_module_opt(Host, mod_http_upload, jid_in_url).
1✔
91

92
-spec max_size(gen_mod:opts() | global | binary()) -> 'infinity' | pos_integer().
93
max_size(Opts) when is_map(Opts) ->
94
    gen_mod:get_opt(max_size, Opts);
90✔
95
max_size(Host) ->
UNCOV
96
    gen_mod:get_module_opt(Host, mod_http_upload, max_size).
7✔
97

98
-spec name(gen_mod:opts() | global | binary()) -> binary().
99
name(Opts) when is_map(Opts) ->
100
    gen_mod:get_opt(name, Opts);
90✔
101
name(Host) ->
102
    gen_mod:get_module_opt(Host, mod_http_upload, name).
×
103

104
-spec put_url(gen_mod:opts() | global | binary()) -> binary().
105
put_url(Opts) when is_map(Opts) ->
106
    gen_mod:get_opt(put_url, Opts);
90✔
107
put_url(Host) ->
108
    gen_mod:get_module_opt(Host, mod_http_upload, put_url).
180✔
109

110
-spec rm_on_unregister(gen_mod:opts() | global | binary()) -> boolean().
111
rm_on_unregister(Opts) when is_map(Opts) ->
112
    gen_mod:get_opt(rm_on_unregister, Opts);
90✔
113
rm_on_unregister(Host) ->
114
    gen_mod:get_module_opt(Host, mod_http_upload, rm_on_unregister).
×
115

116
-spec secret_length(gen_mod:opts() | global | binary()) -> 1..1114111.
117
secret_length(Opts) when is_map(Opts) ->
118
    gen_mod:get_opt(secret_length, Opts);
90✔
119
secret_length(Host) ->
120
    gen_mod:get_module_opt(Host, mod_http_upload, secret_length).
×
121

122
-spec service_url(gen_mod:opts() | global | binary()) -> 'undefined' | binary().
123
service_url(Opts) when is_map(Opts) ->
124
    gen_mod:get_opt(service_url, Opts);
90✔
125
service_url(Host) ->
126
    gen_mod:get_module_opt(Host, mod_http_upload, service_url).
×
127

128
-spec thumbnail(gen_mod:opts() | global | binary()) -> boolean().
129
thumbnail(Opts) when is_map(Opts) ->
130
    gen_mod:get_opt(thumbnail, Opts);
90✔
131
thumbnail(Host) ->
132
    gen_mod:get_module_opt(Host, mod_http_upload, thumbnail).
×
133

134
-spec vcard(gen_mod:opts() | global | binary()) -> 'undefined' | tuple().
135
vcard(Opts) when is_map(Opts) ->
136
    gen_mod:get_opt(vcard, Opts);
×
137
vcard(Host) ->
UNCOV
138
    gen_mod:get_module_opt(Host, mod_http_upload, vcard).
2✔
139

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