< Summary

Class:DCL.ECSComponents.PBNFTShape_Defaults
Assembly:DCL.ECSComponents.Defaults
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/Defaults/PBNFTShape_Defaults.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:20
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
GetWithCollisions(...)0%220100%
GetIsPointerBlocker(...)0%220100%
GetVisible(...)0%220100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/Defaults/PBNFTShape_Defaults.cs

#LineLine coverage
 1namespace DCL.ECSComponents
 2{
 3    public static class PBNFTShape_Defaults
 4    {
 5        public static bool GetWithCollisions(this PBNFTShape self)
 6        {
 47            return !self.HasWithCollisions || self.WithCollisions;
 8        }
 9
 10        public static bool GetIsPointerBlocker(this PBNFTShape self)
 11        {
 412            return !self.HasIsPointerBlocker || self.IsPointerBlocker;
 13        }
 14
 15        public static bool GetVisible(this PBNFTShape self)
 16        {
 417            return !self.HasVisible || self.Visible;
 18        }
 19    }
 20}