< Summary

Class:UserProfileWebInterfaceBridge
Assembly:UserProfile
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/UserProfile/UserProfileWebInterfaceBridge.cs
Covered lines:2
Uncovered lines:4
Coverable lines:6
Total lines:20
Line coverage:33.3% (2 of 6)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SaveUnverifiedName(...)0%2100%
SaveDescription(...)0%2100%
GetOwn()0%110100%
AddUserProfileToCatalog(...)0%2100%
Get(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/UserProfile/UserProfileWebInterfaceBridge.cs

#LineLine coverage
 1using DCL.Interface;
 2
 3public class UserProfileWebInterfaceBridge : IUserProfileBridge
 4{
 05    public void SaveUnverifiedName(string name) => WebInterface.SendSaveUserUnverifiedName(name);
 6
 07    public void SaveDescription(string description) => WebInterface.SendSaveUserDescription(description);
 8
 29    public UserProfile GetOwn() => UserProfile.GetOwnUserProfile();
 10
 11    public void AddUserProfileToCatalog(UserProfileModel userProfileModel)
 12    {
 013        UserProfileController.i.AddUserProfileToCatalog(userProfileModel);
 014    }
 15
 16    public UserProfile Get(string userId)
 17    {
 118        return UserProfileController.userProfilesCatalog.Get(userId);
 19    }
 20}