< Summary

Information
Line coverage
50%
Covered lines: 1
Uncovered lines: 1
Coverable lines: 2
Total lines: 15
Line coverage: 50%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
GetDefaultConverterStrategy()100%11100%

File(s)

C:\h\w\B31A098C\w\BB5A0A33\e\runtime-utils\Runner\runtime\src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Converters\Object\JsonObjectConverter.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4namespace System.Text.Json.Serialization
 5{
 6    /// <summary>
 7    /// Base class for non-enumerable, non-primitive objects where public properties
 8    /// are (de)serialized as a JSON object.
 9    /// </summary>
 10    internal abstract class JsonObjectConverter<T> : JsonResumableConverter<T>
 11    {
 129912        private protected sealed override ConverterStrategy GetDefaultConverterStrategy() => ConverterStrategy.Object;
 013        internal override bool CanPopulate => true;
 14    }
 15}