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

kysect / Configuin / 9085969473

14 May 2024 08:45PM UTC coverage: 80.405% (+1.5%) from 78.934%
9085969473

push

github

FrediKats
Replace ini line parsing with .editorconfig node model

192 of 290 branches covered (66.21%)

Branch coverage included in aggregate %.

177 of 183 new or added lines in 10 files covered. (96.72%)

1515 of 1833 relevant lines covered (82.65%)

593.04 hits per line

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

75.0
/Sources/Kysect.Configuin.EditorConfig/DocumentModel/Nodes/EditorConfigDocumentSectionNode.cs
1
using System.Collections.Immutable;
2

3
namespace Kysect.Configuin.EditorConfig.DocumentModel.Nodes;
4

5
public record EditorConfigDocumentSectionNode(string Value, ImmutableList<IEditorConfigNode> Children, ImmutableList<string> LeadingTrivia, string? TrailingTrivia) : IEditorConfigContainerNode
6
{
7
    public const string NodeIndicator = "###";
8

9
    public EditorConfigDocumentSectionNode(string value) : this(value, ImmutableList<IEditorConfigNode>.Empty, ImmutableList<string>.Empty, null)
4✔
10
    {
11
    }
4✔
12

13
    IEditorConfigContainerNode IEditorConfigContainerNode.AddChild(IEditorConfigNode child)
14
    {
NEW
15
        return this with { Children = Children.Add(child) };
×
16
    }
17

18
    public EditorConfigDocumentSectionNode AddChild(IEditorConfigNode child)
19
    {
20
        return this with { Children = Children.Add(child) };
6✔
21
    }
22
}
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