< Summary

Class:TrackedSceneInfo
Assembly:ExploreV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Common/Friends/TrackedSceneInfo.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:19
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
TrackedSceneInfo(...)0%2100%
OnFriendAdded(...)0%2100%
OnFriendRemoved(...)0%2100%
ContainCoords(...)0%2100%
Dispose()0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Common/Friends/TrackedSceneInfo.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4public class TrackedSceneInfo : IDisposable
 5{
 6    IFriendTrackerHandler view;
 7
 8    public event Action<TrackedSceneInfo> OnListenerDisposed;
 9
 010    public TrackedSceneInfo(IFriendTrackerHandler view) { this.view = view; }
 11
 012    public void OnFriendAdded(UserProfile profile, Color backgroundColor) { view.OnFriendAdded(profile, backgroundColor)
 13
 014    public void OnFriendRemoved(UserProfile profile) { view.OnFriendRemoved(profile); }
 15
 016    public bool ContainCoords(Vector2Int coords) { return view.ContainCoords(coords); }
 17
 018    public void Dispose() { OnListenerDisposed?.Invoke(this); }
 19}