< Summary

Class:DataStoreBridge
Assembly:DataStoreBridge
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Bridges/DataStoreBridge/DataStoreBridge.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:19
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
UnpublishSceneResult(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Bridges/DataStoreBridge/DataStoreBridge.cs

#LineLine coverage
 1using System;
 2using DCL;
 3using UnityEngine;
 4
 5public class DataStoreBridge : MonoBehaviour
 6{
 7    public void UnpublishSceneResult(string json)
 8    {
 9        try
 10        {
 011            PublishSceneResultPayload payload = JsonUtility.FromJson<PublishSceneResultPayload>(json);
 012            DataStore.i.builderInWorld.unpublishSceneResult.Set(payload, notifyEvent: true);
 013        }
 14        catch (Exception e)
 15        {
 016            Debug.LogError(e);
 017        }
 018    }
 19}