Skip to content

Add test for malformed SVG path parsing

3c92615
Select commit
Loading
Failed to load commit list.
Merged

Harden SVG path parser and add tests for robustness #389

Add test for malformed SVG path parsing
3c92615
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 10, 2026 in 0s

86% (+0%) compared to f7de825

Details

Codecov Report

❌ Patch coverage is 77.50000% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 86%. Comparing base (f7de825) to head (3c92615).

Files with missing lines Patch % Lines
src/ImageSharp.Drawing/Path.cs 77% 11 Missing and 7 partials ⚠️
Additional details and impacted files
@@         Coverage Diff         @@
##           main   #389   +/-   ##
===================================
  Coverage    85%    86%           
===================================
  Files       107    107           
  Lines      8339   8353   +14     
  Branches   1066   1079   +13     
===================================
+ Hits       7168   7190   +22     
+ Misses      925    915   -10     
- Partials    246    248    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.