| Class: | System.Text.Json.Serialization.Metadata.JsonPropertyInfo |
|---|---|
| Assembly: | System.Text.Json |
| File(s): | https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs |
| Covered lines: | 272 |
|---|---|
| Uncovered lines: | 216 |
| Coverable lines: | 488 |
| Total lines: | 1086 |
| Line coverage: | 55.7% |
| Covered branches: | 125 |
|---|---|
| Total branches: | 260 |
| Branch coverage: | 48% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Cyclomatic complexity | NPath complexity | Sequence coverage |
|---|---|---|---|---|
| .cctor() | 100% | 1 | 1 | 0% |
| .ctor(...) | 50% | 2 | 2 | 100% |
| GetPropertyPlaceholder() | 100% | 1 | 1 | 0% |
| VerifyMutable() | 50% | 2 | 2 | 100% |
| Configure() | 30% | 20 | 20 | 60.52% |
| ValidateAndCachePropertyName() | 43.75% | 16 | 16 | 80% |
| DetermineIgnoreCondition() | 28.57% | 14 | 14 | 24% |
| DetermineSerializationCapabilities() | 71.42% | 28 | 28 | 75% |
| DetermineNumberHandlingForTypeInfo() | 66.66% | 12 | 12 | 87.5% |
| DetermineNumberHandlingForProperty() | 64.28% | 14 | 14 | 88.88% |
| DetermineEffectiveObjectCreationHandlingForProperty() | 25% | 44 | 44 | 45.28% |
| NumberHandingIsApplicable() | 95.45% | 44 | 44 | 100% |
| ReadJsonAndAddExtensionProperty(...) | 0% | 6 | 6 | 0% |
| GetDictionaryValueConverter() | 0% | 2 | 2 | 0% |
| AddProperty(System.Text.Json.ReadStackFrame&,System.Collections.Generic.IDictionary`2<System.String,TValue>,TValue) | 0% | 4 | 4 | 0% |
| ReadJsonExtensionDataValue(...) | 0% | 6 | 6 | 0% |
| EnsureChildOf(...) | 50% | 4 | 4 | 50% |
| TryGetPrePopulatedValue(...) | 0% | 2 | 2 | 0% |
| IsOverriddenOrShadowedBy(...) | 0% | 2 | 2 | 0% |
Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs': Response status code does not indicate success: 404 (Not Found).