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

DomCR / ACadSharp / 29143042407

11 Jul 2026 06:34AM UTC coverage: 2.912% (-73.0%) from 75.918%
29143042407

push

github

web-flow
Merge pull request #1146 from ilCosmico/acds-read-payload-anchor

Read the AcDs payload area offset from the data segment header

264 of 12999 branches covered (2.03%)

Branch coverage included in aggregate %.

0 of 30 new or added lines in 1 file covered. (0.0%)

31243 existing lines in 465 files now uncovered.

1337 of 41984 relevant lines covered (3.18%)

5.38 hits per line

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

0.0
/src/ACadSharp/Extensions/LineWeightTypeExtensions.cs
1
using System;
2

3
namespace ACadSharp.Extensions
4
{
5
        public static class LineWeightTypeExtensions
6
        {
7
                /// <summary>
8
                /// Get the line weight value in mm.
9
                /// </summary>
10
                /// <param name="lineWeight"></param>
11
                /// <returns></returns>
12
                public static double GetLineWeightValue(this LineWeightType lineWeight)
UNCOV
13
                {
×
UNCOV
14
                        double value = Math.Abs((double)lineWeight);
×
15

UNCOV
16
                        switch (lineWeight)
×
17
                        {
18
                                case LineWeightType.W0:
19
                                        return 0.001;
×
20
                        }
21

UNCOV
22
                        return value / 100;
×
UNCOV
23
                }
×
24
        }
25
}
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

© 2026 Coveralls, Inc