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.
The Service.AddressBook.Client.csproj project file contains:
- 1 namespaces.
- 2 named types.
- 26 total lines of source code.
- Approximately 3 lines of executable code.
- The highest cyclomatic complexity is 1 βοΈ.
Service.AddressBook.Client βοΈ
The Service.AddressBook.Client namespace contains 2 named types.
- 2 named types.
- 26 total lines of source code.
- Approximately 3 lines of executable code.
- The highest cyclomatic complexity is 1 βοΈ.
AddressBookClientFactory βοΈ
- The
AddressBookClientFactorycontains 2 members. - 9 total lines of source code.
- Approximately 1 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 |
|---|---|---|---|---|---|---|
| Method | 10 | 100 | 1 βοΈ | 0 | 1 | 3 / 0 |
| Method | 14 | 100 | 1 βοΈ | 0 | 2 | 1 / 1 |
AutofacHelper βοΈ
- The
AutofacHelpercontains 1 members. - 9 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 |
|---|---|---|---|---|---|---|
| Method | 10 | 84 | 1 βοΈ | 0 | 4 | 6 / 2 |
π back to Service.AddressBook.Client
The Service.AddressBook.Domain.Models.csproj project file contains:
- 1 namespaces.
- 1 named types.
- 7 total lines of source code.
- Approximately 0 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
Service.AddressBook.Domain.Models βοΈ
The Service.AddressBook.Domain.Models namespace contains 1 named types.
- 1 named types.
- 7 total lines of source code.
- Approximately 0 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
IHelloMessage βοΈ
- The
IHelloMessagecontains 1 members. - 4 total lines of source code.
- Approximately 0 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
| Member kind | Line number | Maintainability index | Cyclomatic complexity | Depth of inheritance | Class coupling | Lines of source / executable code |
|---|---|---|---|---|---|---|
| Property | 7 | 100 | 2 βοΈ | 0 | 0 | 1 / 0 |
π back to Service.AddressBook.Domain.Models
The Service.AddressBook.Domain.csproj project file contains:
- 0 namespaces.
- 0 named types.
- 0 total lines of source code.
- Approximately 0 lines of executable code.
- The highest cyclomatic complexity is 0 β.
π back to Service.AddressBook.Domain
The Service.AddressBook.Grpc.csproj project file contains:
- 2 namespaces.
- 3 named types.
- 27 total lines of source code.
- Approximately 4 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
Service.AddressBook.Grpc βοΈ
The Service.AddressBook.Grpc namespace contains 1 named types.
- 1 named types.
- 9 total lines of source code.
- Approximately 0 lines of executable code.
- The highest cyclomatic complexity is 1 βοΈ.
IHelloService βοΈ
- The
IHelloServicecontains 1 members. - 6 total lines of source code.
- Approximately 0 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 |
|---|---|---|---|---|---|---|
| Method | 11 | 100 | 1 βοΈ | 0 | 4 | 2 / 0 |
Service.AddressBook.Grpc.Models βοΈ
The Service.AddressBook.Grpc.Models namespace contains 2 named types.
- 2 named types.
- 18 total lines of source code.
- Approximately 4 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
HelloMessage βοΈ
- The
HelloMessagecontains 1 members. - 6 total lines of source code.
- Approximately 2 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
| Member kind | Line number | Maintainability index | Cyclomatic complexity | Depth of inheritance | Class coupling | Lines of source / executable code |
|---|---|---|---|---|---|---|
| Property | 10 | 100 | 2 βοΈ | 0 | 2 | 2 / 2 |
HelloRequest βοΈ
- The
HelloRequestcontains 1 members. - 6 total lines of source code.
- Approximately 2 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
| Member kind | Line number | Maintainability index | Cyclomatic complexity | Depth of inheritance | Class coupling | Lines of source / executable code |
|---|---|---|---|---|---|---|
| Property | 9 | 100 | 2 βοΈ | 0 | 2 | 2 / 2 |
π back to Service.AddressBook.Grpc
The Service.AddressBook.csproj project file contains:
- 4 namespaces.
- 7 named types.
- 181 total lines of source code.
- Approximately 48 lines of executable code.
- The highest cyclomatic complexity is 3 βοΈ.
Service.AddressBook βοΈ
The Service.AddressBook namespace contains 3 named types.
- 3 named types.
- 125 total lines of source code.
- Approximately 38 lines of executable code.
- The highest cyclomatic complexity is 3 βοΈ.
ApplicationLifetimeManager βοΈ
- The
ApplicationLifetimeManagercontains 5 members. - 25 total lines of source code.
- Approximately 4 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 | 9 | 100 | 0 βοΈ | 0 | 1 | 1 / 0 |
| Method | 11 | 94 | 1 βοΈ | 0 | 3 | 5 / 1 |
| Method | 17 | 97 | 1 βοΈ | 0 | 2 | 4 / 1 |
| Method | 27 | 97 | 1 βοΈ | 0 | 2 | 4 / 1 |
| Method | 22 | 97 | 1 βοΈ | 0 | 2 | 4 / 1 |
Program βοΈ
- The
Programcontains 6 members. - 69 total lines of source code.
- Approximately 28 lines of executable code.
- The highest cyclomatic complexity is 3 βοΈ.
| Member kind | Line number | Maintainability index | Cyclomatic complexity | Depth of inheritance | Class coupling | Lines of source / executable code |
|---|---|---|---|---|---|---|
| Method | 59 | 61 | 3 βοΈ | 0 | 5 | 24 / 13 |
| Property | 21 | 100 | 2 βοΈ | 0 | 1 | 1 / 0 |
| Method | 33 | 63 | 1 βοΈ | 0 | 6 | 25 / 10 |
| Method | 23 | 77 | 1 βοΈ | 0 | 4 | 9 / 4 |
| Property | 19 | 100 | 2 βοΈ | 0 | 1 | 1 / 0 |
| Field | 17 | 93 | 0 βοΈ | 0 | 0 | 1 / 1 |
Startup βοΈ
- The
Startupcontains 3 members. - 22 total lines of source code.
- Approximately 6 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 |
|---|---|---|---|---|---|---|
| Method | 28 | 89 | 1 βοΈ | 0 | 3 | 7 / 2 |
| Method | 36 | 89 | 1 βοΈ | 0 | 2 | 6 / 3 |
| Method | 23 | 94 | 1 βοΈ | 0 | 4 | 4 / 1 |
Service.AddressBook.Modules βοΈ
The Service.AddressBook.Modules namespace contains 2 named types.
- 2 named types.
- 20 total lines of source code.
- Approximately 1 lines of executable code.
- The highest cyclomatic complexity is 1 βοΈ.
ServiceModule βοΈ
- The
ServiceModulecontains 1 members. - 7 total lines of source code.
- Approximately 0 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 |
|---|---|---|---|---|---|---|
| Method | 9 | 100 | 1 βοΈ | 0 | 1 | 4 / 0 |
SettingsModule βοΈ
- The
SettingsModulecontains 1 members. - 7 total lines of source code.
- Approximately 1 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 |
|---|---|---|---|---|---|---|
| Method | 7 | 97 | 1 βοΈ | 0 | 4 | 4 / 1 |
Service.AddressBook.Services βοΈ
The Service.AddressBook.Services namespace contains 1 named types.
- 1 named types.
- 22 total lines of source code.
- Approximately 3 lines of executable code.
- The highest cyclomatic complexity is 1 βοΈ.
HelloService βοΈ
- The
HelloServicecontains 3 members. - 19 total lines of source code.
- Approximately 3 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 | 12 | 100 | 0 βοΈ | 0 | 1 | 1 / 0 |
| Method | 14 | 96 | 1 βοΈ | 0 | 1 | 4 / 1 |
| Method | 19 | 84 | 1 βοΈ | 0 | 5 | 9 / 2 |
Service.AddressBook.Settings βοΈ
The Service.AddressBook.Settings namespace contains 1 named types.
- 1 named types.
- 14 total lines of source code.
- Approximately 6 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
SettingsModel βοΈ
- The
SettingsModelcontains 3 members. - 11 total lines of source code.
- Approximately 6 lines of executable code.
- The highest cyclomatic complexity is 2 βοΈ.
| Member kind | Line number | Maintainability index | Cyclomatic complexity | Depth of inheritance | Class coupling | Lines of source / executable code |
|---|---|---|---|---|---|---|
| Property | 15 | 100 | 2 βοΈ | 0 | 2 | 2 / 2 |
| Property | 9 | 100 | 2 βοΈ | 0 | 1 | 2 / 2 |
| Property | 12 | 100 | 2 βοΈ | 0 | 1 | 2 / 2 |
π back to Service.AddressBook
- 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.
classDiagram
class AddressBookClientFactory{
+.ctor(string grpcServiceUrl) AddressBookClientFactory
+GetHelloService() IHelloService
}
classDiagram
class AutofacHelper{
+RegisterAddressBookClient(ContainerBuilder builder, string grpcServiceUrl)$ void
}
classDiagram
class IHelloMessage{
+string Message*
}
classDiagram
class IHelloService{
+SayHelloAsync(HelloRequest request)* Task<HelloMessage>
}
classDiagram
class HelloMessage{
+string Message
}
classDiagram
class HelloRequest{
+string Name
}
classDiagram
class ApplicationLifetimeManager{
-ILogger<ApplicationLifetimeManager> _logger
+.ctor(IHostApplicationLifetime appLifetime, ILogger<ApplicationLifetimeManager> logger) ApplicationLifetimeManager
+OnStarted() void
+OnStopping() void
+OnStopped() void
}
classDiagram
class Program{
-string SettingsFileName$
+SettingsModel Settings$
+ILoggerFactory LogFactory$
+ReloadedSettings<T>(Func<SettingsModel, T> getter)$ Func<T>
+Main(string[] args)$ void
+CreateHostBuilder(ILoggerFactory loggerFactory, string[] args)$ IHostBuilder
}
classDiagram
class Startup{
+ConfigureServices(IServiceCollection services) void
+Configure(IApplicationBuilder app, IWebHostEnvironment env) void
+ConfigureContainer(ContainerBuilder builder) void
}
classDiagram
class ServiceModule{
+Load(ContainerBuilder builder) void
}
classDiagram
class SettingsModule{
+Load(ContainerBuilder builder) void
}
classDiagram
class HelloService{
-ILogger<HelloService> _logger
+.ctor(ILogger<HelloService> logger) HelloService
+SayHelloAsync(HelloRequest request) Task<HelloMessage>
}
classDiagram
class SettingsModel{
+string SeqServiceUrl
+string ZipkinUrl
+LogElkSettings ElkLogs
}
This file is maintained by a bot.