./ct_report/coverage/mongoose_graphql_union.COVER.html

1 -module(mongoose_graphql_union).
2 -export([execute/1]).
3
4 -ignore_xref([execute/1]).
5
6 -include("mongoose_logger.hrl").
7
8
:-(
execute(#{<<"result">> := Result}) when is_binary(Result) -> {ok, <<"MnesiaStringResponse">>};
9
:-(
execute(#{<<"result">> := Result}) when is_list(Result) -> {ok, <<"MnesiaListResponse">>};
10
:-(
execute(#{<<"result">> := Result}) when is_integer(Result) -> {ok, <<"MnesiaIntResponse">>};
11 32 execute(#{<<"type">> := _, <<"binValue">> := _}) -> {ok, <<"ImageData">>};
12 48 execute(#{<<"extValue">> := _}) -> {ok, <<"External">>};
13 8 execute(#{<<"phonetic">> := _}) -> {ok, <<"Phonetic">>};
14 8 execute(#{<<"binValue">> := _}) -> {ok, <<"BinValue">>};
15 16 execute(#{<<"vcard">> := _}) -> {ok, <<"AgentVcard">>};
16 execute(#{<<"type">> := <<"histogram">>, <<"name">> := _, <<"p50">> := _}) ->
17 998 {ok, <<"HistogramMetric">>};
18 execute(#{<<"type">> := <<"spiral">>, <<"name">> := _, <<"one">> := _}) ->
19 3666 {ok, <<"SpiralMetric">>};
20 execute(#{<<"type">> := <<"counter">>, <<"name">> := _, <<"ms_since_reset">> := _}) ->
21 166 {ok, <<"CounterMetric">>};
22 execute(#{<<"type">> := <<"gauge">>, <<"name">> := _, <<"value">> := _}) ->
23 48 {ok, <<"GaugeMetric">>};
24 execute(#{<<"type">> := <<"merged_inet_stats">>, <<"connections">> := _}) ->
25 10 {ok, <<"MergedInetStatsMetric">>};
26 execute(#{<<"type">> := <<"vm_stats_memory">>, <<"processes_used">> := _}) ->
27 10 {ok, <<"VMStatsMemoryMetric">>};
28 execute(#{<<"type">> := <<"vm_system_info">>, <<"port_count">> := _}) ->
29 10 {ok, <<"VMSystemInfoMetric">>};
30 execute(#{<<"type">> := <<"probe_queues">>, <<"fsm">> := _}) ->
31 10 {ok, <<"ProbeQueuesMetric">>};
32 execute(#{<<"type">> := <<"rdbms_stats">>, <<"workers">> := _}) ->
33 8 {ok, <<"RDBMSStatsMetric">>};
34 execute(#{<<"type">> := <<"cets_system">>, <<"available_nodes">> := _}) ->
35 10 {ok, <<"CETSSystemMetric">>}.
Line Hits Source