< Summary

Class:DCL.RPC
Assembly:RPC
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/RPC.cs
Covered lines:3
Uncovered lines:2
Coverable lines:5
Total lines:24
Line coverage:60% (3 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
get_emotes()0%110100%
set_emotes(...)0%2100%
LoadModules()0%12300%
Initialize()0%110100%
Dispose()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/KernelCommunication/RPC/RPC.cs

#LineLine coverage
 1using Cysharp.Threading.Tasks;
 2using DCL;
 3using rpc_csharp;
 4
 5namespace DCL
 6{
 7    public class RPC : IRPC
 8    {
 19        ClientEmotesKernelService IRPC.emotes { get; set; }
 10
 11        public static async UniTask LoadModules(RpcClientPort port, IRPC rpc)
 12        {
 013            rpc.emotes = new ClientEmotesKernelService(await port.LoadModule(EmotesKernelServiceCodeGen.ServiceName));
 014        }
 15
 16        public void Initialize()
 17        {
 55818        }
 19
 20        public void Dispose()
 21        {
 55822        }
 23    }
 24}