< Summary

Class:RealmInfoHandler
Assembly:ExploreV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Common/Handlers/RealmInfoHandler.cs
Covered lines:3
Uncovered lines:1
Coverable lines:4
Total lines:14
Line coverage:75% (3 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SetRealmInfo(...)0%110100%
ContainRealm(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Common/Handlers/RealmInfoHandler.cs

#LineLine coverage
 1public class RealmInfoHandler : IRealmDataView
 2{
 33    public string serverName { private set; get; }
 4
 5    public void SetRealmInfo(string serverName)
 6    {
 37        this.serverName = serverName;
 38    }
 9
 10    public bool ContainRealm(string serverName)
 11    {
 012        return this.serverName == serverName;
 13    }
 14}