< 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:0
Uncovered lines:8
Coverable lines:8
Total lines:17
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

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

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; }
 07        public override string requestId => GetId(contractAddress, tokenId);
 8
 09        internal RequestAssetInBatch(string contractAddress, string tokenId)
 10        {
 011            this.contractAddress = contractAddress;
 012            this.tokenId = tokenId;
 013        }
 14
 015        internal static string GetId(string contractAddress, string tokenId) { return $"{contractAddress}/{tokenId}"; }
 16    }
 17}