< Summary

Class:DCL.Helpers.NFT.Markets.OpenSea_Internal.RequestAssetInBatch
Assembly:OpenSea_Internal
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/ServiceProviders/OpenSea/Requests/RequestAssetInBatch.cs
Covered lines:6
Uncovered lines:2
Coverable lines:8
Total lines:17
Line coverage:75% (6 of 8)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
RequestAssetInBatch(...)0%110100%
GetId(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/ServiceProviders/OpenSea/Requests/RequestAssetInBatch.cs

#LineLine coverage
 1namespace DCL.Helpers.NFT.Markets.OpenSea_Internal
 2{
 3    public class RequestAssetInBatch : RequestBase<AssetResponse>
 4    {
 05        public string contractAddress { get; }
 06        public string tokenId { get; }
 167        public override string requestId => GetId(contractAddress, tokenId);
 8
 89        internal RequestAssetInBatch(string contractAddress, string tokenId)
 10        {
 811            this.contractAddress = contractAddress;
 812            this.tokenId = tokenId;
 813        }
 14
 2415        internal static string GetId(string contractAddress, string tokenId) { return $"{contractAddress}/{tokenId}"; }
 16    }
 17}