Skip to content

Latest commit

 

History

History
179 lines (133 loc) · 9 KB

File metadata and controls

179 lines (133 loc) · 9 KB

Code Metrics

This file is dynamically maintained by a bot, please do not edit this by hand. It represents various code metrics, such as cyclomatic complexity, maintainability index, and so on.

MyJetWallet.Sdk.Grpc ✔️

The MyJetWallet.Sdk.Grpc.csproj project file contains:

  • 1 namespaces.
  • 3 named types.
  • 89 total lines of source code.
  • Approximately 23 lines of executable code.
  • The highest cyclomatic complexity is 7 ✔️.
MyJetWallet.Sdk.Grpc ✔️

The MyJetWallet.Sdk.Grpc namespace contains 3 named types.

  • 3 named types.
  • 89 total lines of source code.
  • Approximately 23 lines of executable code.
  • The highest cyclomatic complexity is 7 ✔️.
CallSourceInterceptor ✔️
  • The CallSourceInterceptor contains 8 members.
  • 30 total lines of source code.
  • Approximately 10 lines of executable code.
  • The highest cyclomatic complexity is 4 ✔️.
Member kind Line number Maintainability index Cyclomatic complexity Depth of inheritance Class coupling Lines of source / executable code
Property 10 100 2 ✔️ 0 0 1 / 0
Property 8 100 2 ✔️ 0 0 1 / 0
Property 9 100 2 ✔️ 0 0 1 / 0
Method 26 73 4 ✔️ 0 5 9 / 4
Method 16 73 4 ✔️ 0 4 9 / 4
Field 14 93 0 ✔️ 0 0 1 / 1
Field 12 93 0 ✔️ 0 0 1 / 1
Field 13 93 0 ✔️ 0 0 1 / 1

🔗 to CallSourceInterceptor class diagram

🔝 back to MyJetWallet.Sdk.Grpc

ExceptionInterceptor ✔️
  • The ExceptionInterceptor contains 3 members.
  • 34 total lines of source code.
  • Approximately 11 lines of executable code.
  • The highest cyclomatic complexity is 7 ✔️.
Member kind Line number Maintainability index Cyclomatic complexity Depth of inheritance Class coupling Lines of source / executable code
Field 12 100 0 ✔️ 0 1 1 / 0
Method 14 96 1 ✔️ 0 2 4 / 1
Method 19 61 7 ✔️ 0 8 24 / 10

🔗 to ExceptionInterceptor class diagram

🔝 back to MyJetWallet.Sdk.Grpc

MyGrpcClientFactory ✔️
  • The MyGrpcClientFactory contains 3 members.
  • 14 total lines of source code.
  • Approximately 2 lines of executable code.
  • The highest cyclomatic complexity is 1 ✔️.
Member kind Line number Maintainability index Cyclomatic complexity Depth of inheritance Class coupling Lines of source / executable code
Field 14 100 0 ✔️ 0 1 1 / 0
Method 16 96 1 ✔️ 0 2 4 / 1
Method 21 100 1 ✔️ 0 2 4 / 1

🔗 to MyGrpcClientFactory class diagram

🔝 back to MyJetWallet.Sdk.Grpc

🔝 back to MyJetWallet.Sdk.Grpc

Metric definitions

  • Maintainability index: Measures ease of code maintenance. Higher values are better.
  • Cyclomatic complexity: Measures the number of branches. Lower values are better.
  • Depth of inheritance: Measures length of object inheritance hierarchy. Lower values are better.
  • Class coupling: Measures the number of classes that are referenced. Lower values are better.
  • Lines of source code: Exact number of lines of source code. Lower values are better.
  • Lines of executable code: Approximates the lines of executable code. Lower values are better.

Mermaid class diagrams

CallSourceInterceptor class diagram
classDiagram
class CallSourceInterceptor{
    -string GrpcSourceAppNameHeader$
    -string GrpcSourceAppVersionHeader$
    -string GrpcSourceAppHostHeader$
    +string AppName$
    +string AppVersion$
    +string AppHost$
    +BlockingUnaryCall<TRequest, TResponse>(TRequest request, ClientInterceptorContext<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation) TResponse
    +AsyncUnaryCall<TRequest, TResponse>(TRequest request, ClientInterceptorContext<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation) AsyncUnaryCall<TResponse>
}

Loading
ExceptionInterceptor class diagram
classDiagram
class ExceptionInterceptor{
    -ILogger _logger
    +.ctor(ILogger<ExceptionInterceptor> logger) ExceptionInterceptor
    +UnaryServerHandler<TRequest, TResponse>(TRequest request, ServerCallContext context, UnaryServerMethod<TRequest, TResponse> continuation) Task<TResponse>
}

Loading
MyGrpcClientFactory class diagram
classDiagram
class MyGrpcClientFactory{
    -CallInvoker _channel
    +.ctor(string grpcServiceUrl) MyGrpcClientFactory
    +CreateGrpcService<TService>() TService
}

Loading

This file is maintained by a bot.