• 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

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

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

5
public record EditorConfigDocument(ImmutableList<IEditorConfigNode> Children) : IEditorConfigContainerNode
6
{
7
    IEditorConfigContainerNode IEditorConfigContainerNode.AddChild(IEditorConfigNode child)
8
    {
NEW
9
        return new EditorConfigDocument(Children: Children.Add(child));
×
10
    }
11

12
    public EditorConfigDocument AddChild(IEditorConfigNode child)
13
    {
14
        return new EditorConfigDocument(Children: Children.Add(child));
15✔
15
    }
16
}
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