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

ParadoxGameConverters / PGCG.commonItems / 23112094410

15 Mar 2026 02:13PM UTC coverage: 92.347% (-0.01%) from 92.358%
23112094410

push

github

web-flow
Optimize LINQ usages (#790)

What Changed:

1. ExtensionMethods.cs:
Replaced LINQ-based remove path with:
- List fast path via RemoveAll.
- Non-list fallback using snapshot list and predicate check.

2. ModFilesystem.cs
- Replaced split+Any path-prefix matching with span-based component comparison.
- Replaced LINQ Count for slash counting with a direct loop helper.

PDXSerializer.cs
- Rewrote enumerable serialization to single-pass loops (no Cast/Select pipeline).
- Rewrote dictionary serialization to direct iteration with null filtering inline (no Where/Select/iterator pipeline).

1258 of 1428 branches covered (88.1%)

Branch coverage included in aggregate %.

73 of 75 new or added lines in 3 files covered. (97.33%)

4 existing lines in 1 file now uncovered.

3774 of 4021 relevant lines covered (93.86%)

45810.0 hits per line

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

94.84
/commonItems/Serialization/PDXSerializer.cs


Source Not Available

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