| Class: | Azure.Messaging.EventGrid.Models.CloudEventInternal |
|---|---|
| Assembly: | Azure.Messaging.EventGrid |
| File(s): | C:\Git\azure-sdk-for-net\sdk\eventgrid\Azure.Messaging.EventGrid\src\Customization\CloudEventInternal.cs C:\Git\azure-sdk-for-net\sdk\eventgrid\Azure.Messaging.EventGrid\src\Generated\Models\CloudEventInternal.cs C:\Git\azure-sdk-for-net\sdk\eventgrid\Azure.Messaging.EventGrid\src\Generated\Models\CloudEventInternal.Serialization.cs |
| Covered lines: | 103 |
| Uncovered lines: | 32 |
| Coverable lines: | 135 |
| Total lines: | 290 |
| Line coverage: | 76.2% (103 of 135) |
| Covered branches: | 36 |
| Total branches: | 46 |
| Branch coverage: | 78.2% (36 of 46) |
| Method | Cyclomatic complexity | Line coverage | Branch coverage |
|---|---|---|---|
| get_Id() | - | 100% | 100% |
| get_Source() | - | 100% | 100% |
| get_DataBase64() | - | 100% | 100% |
| get_Type() | - | 100% | 100% |
| get_Time() | - | 100% | 100% |
| get_Specversion() | - | 100% | 100% |
| get_Dataschema() | - | 100% | 100% |
| get_Datacontenttype() | - | 100% | 100% |
| get_Subject() | - | 100% | 100% |
| get_AdditionalProperties() | - | 100% | 100% |
| GetEnumerator() | - | 100% | 100% |
| System.Collections.IEnumerable.GetEnumerator() | - | 100% | 100% |
| TryGetValue(...) | - | 100% | 100% |
| ContainsKey(...) | - | 100% | 100% |
| get_Keys() | - | 100% | 100% |
| get_Values() | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_Count() | - | 100% | 100% |
| Add(...) | - | 100% | 100% |
| Remove(...) | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_IsReadOnly() | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add(...) | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(...) | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(...) | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo(...) | - | 100% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Clear() | - | 100% | 100% |
| get_Item(...) | - | 100% | 100% |
| set_Item(...) | - | 100% | 100% |
| .ctor(...) | - | 100% | 100% |
| get_Data() | - | 100% | 100% |
| .ctor(...) | - | 73.33% | 50% |
| .ctor(...) | - | 100% | 100% |
| get_Id() | - | 100% | 100% |
| get_Source() | - | 100% | 100% |
| get_DataBase64() | - | 100% | 100% |
| get_Type() | - | 100% | 100% |
| get_Time() | - | 100% | 100% |
| get_Specversion() | - | 100% | 100% |
| get_Dataschema() | - | 100% | 100% |
| get_Datacontenttype() | - | 100% | 100% |
| get_Subject() | - | 100% | 100% |
| get_AdditionalProperties() | - | 100% | 100% |
| GetEnumerator() | - | 0% | 100% |
| System.Collections.IEnumerable.GetEnumerator() | - | 0% | 100% |
| TryGetValue(...) | - | 0% | 100% |
| ContainsKey(...) | - | 0% | 100% |
| get_Keys() | - | 0% | 100% |
| get_Values() | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_Count() | - | 0% | 100% |
| Add(...) | - | 100% | 100% |
| Remove(...) | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.get_IsReadOnly() | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add(...) | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(...) | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(...) | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.CopyTo(...) | - | 0% | 100% |
| System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Clear() | - | 0% | 100% |
| get_Item(...) | - | 0% | 100% |
| set_Item(...) | - | 0% | 100% |
| Azure.Core.IUtf8JsonSerializable.Write(...) | - | 87.5% | 85.71% |
| DeserializeCloudEventInternal(...) | - | 82.98% | 83.33% |