< Summary

Class:DCL.ECSComponents.ShapeRepresentation
Assembly:DCL.ECSComponents.Common
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/Common/ShapeRepresentation.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:19
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
UpdateModel(...)0%2100%
IsVisible()0%2100%
HasCollisions()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ECSComponents/Common/ShapeRepresentation.cs

#LineLine coverage
 1using DCL.Components;
 2
 3namespace DCL.ECSComponents
 4{
 5    public class ShapeRepresentation : IShape
 6    {
 7        private bool isVisible;
 8        private bool withCollisions;
 9
 10        public void UpdateModel( bool isVisible, bool withCollisions)
 11        {
 012            this.isVisible = isVisible;
 013            this.withCollisions = withCollisions;
 014        }
 15
 016        public bool /*IShape*/ IsVisible() { return isVisible; }
 017        public bool /*IShape*/ HasCollisions() { return withCollisions; }
 18    }
 19}