./ct_report/coverage/mongoose_graphql_admin_query.COVER.html

1 -module(mongoose_graphql_admin_query).
2 -behaviour(mongoose_graphql).
3
4 -export([execute/4]).
5
6 -ignore_xref([execute/4]).
7
8 -include("../mongoose_graphql_types.hrl").
9
10 execute(_Ctx, _Obj, <<"account">>, _Args) ->
11 35 {ok, account};
12 execute(_Ctx, _Obj, <<"checkAuth">>, _Args) ->
13 5 {ok, admin};
14 execute(_Ctx, _Obj, <<"domain">>, _Args) ->
15
:-(
{ok, admin};
16 execute(_Ctx, _Obj, <<"gdpr">>, _Args) ->
17 36 {ok, gdpr};
18 execute(_Ctx, _Obj, <<"last">>, _Args) ->
19 22 {ok, last};
20 execute(_Ctx, _Obj, <<"metric">>, _Args) ->
21 62 {ok, metric};
22 execute(_Ctx, _Obj, <<"mnesia">>, _Args) ->
23 4 {ok, mnesia};
24 execute(_Ctx, _Obj, <<"cets">>, _Args) ->
25 2 {ok, cets};
26 execute(_Ctx, _Obj, <<"muc">>, _Args) ->
27 44 {ok, muc};
28 execute(_Ctx, _Obj, <<"muc_light">>, _Args) ->
29 46 {ok, muc_light};
30 execute(_Ctx, _Obj, <<"private">>, _Args) ->
31 8 {ok, private};
32 execute(_Ctx, _Obj, <<"roster">>, _Args) ->
33 12 {ok, roster};
34 execute(_Ctx, _Obj, <<"server">>, _Args) ->
35 24 {ok, server};
36 execute(_Ctx, _Obj, <<"session">>, _Args) ->
37 50 {ok, session};
38 execute(_Ctx, _Obj, <<"stanza">>, _Args) ->
39 2 {ok, #{}};
40 execute(_Ctx, _Obj, <<"stat">>, _Args) ->
41 12 {ok, stats};
42 execute(_Ctx, _Obj, <<"vcard">>, _Args) ->
43
:-(
{ok, vcard}.
Line Hits Source