• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 17710069422

14 Sep 2025 10:41AM UTC coverage: 78.147% (-0.1%) from 78.245%
17710069422

Pull #787

github

web-flow
Merge 57c93f01a into 2bca657be
Pull Request #787: Shape shx

6682 of 9285 branches covered (71.97%)

Branch coverage included in aggregate %.

139 of 201 new or added lines in 6 files covered. (69.15%)

8 existing lines in 2 files now uncovered.

25824 of 32311 relevant lines covered (79.92%)

107954.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.0
/src/ACadSharp/IO/ShapeFile.Geometry.cs
1
using CSMath;
2
using System.Collections.Generic;
3

4
namespace ACadSharp.IO
5
{
6
        public partial class ShapeFile
7
        {
8
                public class Geometry
9
                {
NEW
10
                        public byte[] Data { get; }
×
11

12
                        public List<List<XY>> Lines { get; } = new();
1✔
13

NEW
14
                        public string Name { get; }
×
15

16
                        protected Geometry(string name, byte[] data)
1✔
17
                        {
1✔
18
                                this.Name = name;
1✔
19
                                this.Data = data;
1✔
20
                        }
1✔
21

22
                        public static Geometry Create(string name, byte[] data)
23
                        {
1✔
24
                                Geometry geometry = new Geometry(name, data);
1✔
25

26
                                int index = 0;
1✔
27

28
                                ShapeBuilder rawShape = new ShapeBuilder();
1✔
29

30
                                while (index < data.Length)
19✔
31
                                {
18✔
32
                                        index += rawShape.ProcessValue(index, data);
18✔
33
                                }
18✔
34

35
                                return geometry;
1✔
36
                        }
1✔
37
                }
38
        }
39
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc