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

Aldaviva / Unfucked / 19128584806

06 Nov 2025 07:47AM UTC coverage: 0.396% (-39.5%) from 39.923%
19128584806

push

github

Aldaviva
DateTime: added IsBefore and IsAfter for ZonedDateTime, not just OffsetDateTime. DI: Allow super registration for keyed services; fixed super registration of a hosted service causing an infinite recursion during injection. STUN: updated fallback server list, most of which have gone offline (including Google, confusingly); made HttpClient optional.

2 of 1605 branches covered (0.12%)

0 of 55 new or added lines in 2 files covered. (0.0%)

945 existing lines in 35 files now uncovered.

9 of 2272 relevant lines covered (0.4%)

0.04 hits per line

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

0.0
/HTTP/Serialization/StringBodyReader.cs
1
using System.Text;
2
using Unfucked.HTTP.Config;
3

4
namespace Unfucked.HTTP.Serialization;
5

6
public class StringBodyReader: MessageBodyReader {
7

UNCOV
8
    public bool CanRead<T>(string? mimeType, string? bodyPrefix) => typeof(T) == typeof(string);
×
9

10
    public async Task<T> Read<T>(HttpContent responseBody, Encoding? responseEncoding, Configurable? clientConfig, CancellationToken cancellationToken) {
11
        Task<string> readAsStringAsync =
×
12
#if NET6_0_OR_GREATER
×
13
            responseBody.ReadAsStringAsync(cancellationToken);
×
14
#else
15
            responseBody.ReadAsStringAsync();
16
#endif
17

18
        return (T) (object) await readAsStringAsync.ConfigureAwait(false);
×
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