< Summary

Class:Azure.Messaging.ServiceBus.Diagnostics.DiagnosticUtilities
Assembly:Azure.Messaging.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Diagnostics\DiagnosticUtilities.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:13
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
GenerateIdentifier(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Azure.Messaging.ServiceBus\src\Diagnostics\DiagnosticUtilities.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure.Messaging.ServiceBus.Diagnostics
 7{
 8    internal static class DiagnosticUtilities
 9    {
 10        internal static string GenerateIdentifier(string entityPath) =>
 17411            $"{entityPath}-{Guid.NewGuid()}";
 12    }
 13}

Methods/Properties

GenerateIdentifier(...)