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

KSP-CKAN / CKAN / 15889942503

26 Jun 2025 12:20AM UTC coverage: 47.631% (+5.4%) from 42.239%
15889942503

push

github

HebaruSan
Merge #4400 Make hash caches thread-safe, Netkan warning for uncompiled plugins

3880 of 8730 branches covered (44.44%)

Branch coverage included in aggregate %.

33 of 75 new or added lines in 9 files covered. (44.0%)

6 existing lines in 3 files now uncovered.

8334 of 16913 relevant lines covered (49.28%)

1.01 hits per line

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

52.63
/Core/Extensions/ExceptionExtensions.cs
1
using System;
2
using System.Linq;
3
using System.Collections.ObjectModel;
4
using System.Runtime.ExceptionServices;
5

6
namespace CKAN.Extensions
7
{
8
    public static class ExceptionExtensions
9
    {
10
        public static void RethrowInner(this AggregateException agExc)
11
        {
2✔
12
            var inner = agExc switch
2!
13
            {
14
                { InnerException:  Exception                     exc  } => exc,
2✔
NEW
15
                { InnerExceptions: ReadOnlyCollection<Exception> excs } => excs.First(),
×
NEW
16
                _ => agExc,
×
17
            };
18
            ExceptionDispatchInfo.Capture(inner).Throw();
2✔
NEW
19
        }
×
20
    }
21
}
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