< Summary

Class:DCL.Emotes.EmbedEmoteReference
Assembly:EmotesServiceDefinitions
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/EmotesService/Domain/EmbedEmoteReference.cs
Covered lines:4
Uncovered lines:3
Coverable lines:7
Total lines:25
Line coverage:57.1% (4 of 7)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:4
Method coverage:25% (1 of 4)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
EmbedEmoteReference(...)0%110100%
GetEntity()0%2100%
GetData()0%2100%
Dispose()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/EmotesService/Domain/EmbedEmoteReference.cs

#LineLine coverage
 1namespace DCL.Emotes
 2{
 3    public class EmbedEmoteReference : IEmoteReference
 4    {
 5        private readonly WearableItem emoteItem;
 6        private readonly EmoteClipData clipData;
 7
 7268        public EmbedEmoteReference(WearableItem emoteItem, EmoteClipData clipData)
 9        {
 72610            this.emoteItem = emoteItem;
 72611            this.clipData = clipData;
 72612        }
 13
 14        public WearableItem GetEntity() =>
 015            emoteItem;
 16
 17        public EmoteClipData GetData() =>
 018            clipData;
 19
 20        public void Dispose()
 21        {
 22
 023        }
 24    }
 25}