< Summary

Line coverage
100%
Covered lines: 18
Uncovered lines: 0
Coverable lines: 18
Total lines: 44
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%
.ctor(...)100%11100%
get_Name()100%11100%
get_Points()100%11100%
get_Lines()100%11100%
get_Faces()100%11100%
get_Curves()100%11100%
get_Curves2D()100%11100%
get_Surfaces()100%11100%

File(s)

https://raw.githubusercontent.com/JeremyAnsel/JeremyAnsel.Media.WavefrontObj/dbbfcd213b7c54f49194f82fcd56e790cca193c3/JeremyAnsel.Media.WavefrontObj/JeremyAnsel.Media.WavefrontObj/ObjGroup.cs

#LineLine coverage
 1// <copyright file="ObjGroup.cs" company="Jérémy Ansel">
 2// Copyright (c) 2017, 2019 Jérémy Ansel
 3// </copyright>
 4// <license>
 5// Licensed under the MIT license. See LICENSE.txt
 6// </license>
 7
 8namespace JeremyAnsel.Media.WavefrontObj
 9{
 10    [System.Diagnostics.DebuggerDisplay("Group:{Name}")]
 11    public class ObjGroup
 12    {
 111613        public ObjGroup()
 14        {
 111615            this.Points = new List<ObjPoint>();
 111616            this.Lines = new List<ObjLine>();
 111617            this.Faces = new List<ObjFace>();
 111618            this.Curves = new List<ObjCurve>();
 111619            this.Curves2D = new List<ObjCurve2D>();
 111620            this.Surfaces = new List<ObjSurface>();
 111621        }
 22
 23        public ObjGroup(string name)
 8124            : this()
 25        {
 8126            this.Name = name;
 8127        }
 28
 129629        public string Name { get; set; } = string.Empty;
 30
 123331        public List<ObjPoint> Points { get; private set; }
 32
 113433        public List<ObjLine> Lines { get; private set; }
 34
 114635        public List<ObjFace> Faces { get; private set; }
 36
 124237        public List<ObjCurve> Curves { get; private set; }
 38
 129639        public List<ObjCurve2D> Curves2D { get; private set; }
 40
 118241        public List<ObjSurface> Surfaces { get; private set; }
 42    }
 43}
 44