< Summary

Class:NFTShapeStatelessRepresentantion
Assembly:BuilderManifestData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/Data/BuilderManifest/NFTShapeBuilderRepresentantion.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:41
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
NFTShapeStatelessRepresentantion()0%2100%
ColorRepresentantion(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/Data/BuilderManifest/NFTShapeBuilderRepresentantion.cs

#LineLine coverage
 1using System;
 2using System.Collections;
 3using System.Collections.Generic;
 4using UnityEngine;
 5
 6[Serializable]
 7public struct NFTShapeBuilderRepresentantion
 8{
 9    public string url;
 10}
 11
 12[Serializable]
 13public class NFTShapeStatelessRepresentantion
 14{
 15    public string src;
 16    public string assetId;
 017    public ColorRepresentantion color = new ColorRepresentantion(0.6404918f, 0.611472f, 0.8584906f); // "light purple" d
 18    public int style = 0;
 019    public bool withCollisions = true;
 020    public bool isPointerBlocker = true;
 021    public bool visible = true;
 22
 23
 24    [Serializable]
 25    public class ColorRepresentantion
 26    {
 27        public float r;
 28        public float g;
 29        public float b;
 30        public float a;
 31
 032        public ColorRepresentantion(float r, float g, float b)
 33        {
 034            this.r = r;
 035            this.g = g;
 036            this.b = b;
 37
 038            a = 1;
 039        }
 40    }
 41}