apple / servicetalk
Components & Dependencies

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

  • A software system can have one or more logical decompositions.
  • A logical decomposition can be defined in two ways in Sokrates.
  • First approach is based on the folders structure. Components are mapped to folders at defined folder depth relative to the source code root.
  • Second approach is based on explicit definition of each component. In such explicit definitions, components are explicitly named and their files are selected based on explicitly defined path and content filters.
  • A logical decomposition is considered invalid if a file is selected into two or more components.This constraint is introduced in order to facilitate measuring of dependencies among components.
  • Files not assigned to any component are put into a special "Unclassified" component.
Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (61 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure (relative to the source code root), with automatically defined folder depth to have at least 10 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 61 components.
  • 1,232 files, 98,090 lines of code (100.0% vs. main code).
  • "servicetalk-concurrent-api" is biggest, containing 23.55% of code.
  • "servicetalk-log4j2-mdc" is smallest, containing 0.01% of code.


servicetalk-concurrent-api23099 LOC (23%) 284 files
servicetalk-http-api16250 LOC (16%) 203 files
servicetalk-http-netty11298 LOC (11%) 91 files
servicetalk-transport-netty-internal6100 LOC (6%) 72 files
servicetalk-http-router-jersey5975 LOC (6%) 42 files
servicetalk-grpc-api4106 LOC (4%) 47 files
servicetalk-buffer-netty2820 LOC (2%) 15 files
servicetalk-buffer-api2655 LOC (2%) 17 files
servicetalk-transport-api1923 LOC (1%) 44 files
servicetalk-http-utils1837 LOC (1%) 19 files
servicetalk-grpc-protoc1763 LOC (1%) 11 files
servicetalk-concurrent-internal1501 LOC (1%) 31 files
servicetalk-benchmarks1393 LOC (1%) 18 files
servicetalk-dns-discovery-netty1369 LOC (1%) 16 files
servicetalk-opentracing-inmemory1155 LOC (1%) 16 files
servicetalk-tcp-netty-internal975 LOC (<1%) 14 files
servicetalk-client-api-internal869 LOC (<1%) 17 files
servicetalk-encoding-netty866 LOC (<1%) 13 files
servicetalk-client-api798 LOC (<1%) 34 files
servicetalk-data-jackson764 LOC (<1%) 8 files
servicetalk-loadbalancer751 LOC (<1%) 3 files
servicetalk-grpc-netty600 LOC (<1%) 7 files
servicetalk-gradle-plugin-internal577 LOC (<1%) 5 files
servicetalk-serialization-api576 LOC (<1%) 9 files
servicetalk-utils-internal568 LOC (<1%) 9 files
servicetalk-opentracing-zipkin-publisher551 LOC (<1%) 7 files
servicetalk-http-router-predicate539 LOC (<1%) 11 files
servicetalk-grpc-protobuf446 LOC (<1%) 3 files
servicetalk-serializer-utils427 LOC (<1%) 7 files
servicetalk-concurrent-api-internal424 LOC (<1%) 7 files
servicetalk-data-jackson-jersey387 LOC (<1%) 8 files
servicetalk-grpc-utils385 LOC (<1%) 4 files
servicetalk-opentracing-http378 LOC (<1%) 4 files
servicetalk-examples356 LOC (<1%) 9 files
servicetalk-encoding-api334 LOC (<1%) 14 files
servicetalk-log4j2-mdc-utils326 LOC (<1%) 3 files
servicetalk-logging-slf4j-internal305 LOC (<1%) 9 files
servicetalk-http-security-jersey285 LOC (<1%) 8 files
servicetalk-encoding-api-internal232 LOC (<1%) 4 files
servicetalk-data-protobuf223 LOC (<1%) 4 files
servicetalk-http-router-jersey-internal213 LOC (<1%) 4 files
servicetalk-concurrent194 LOC (<1%) 14 files
ROOT192 LOC (<1%) 4 files
servicetalk-concurrent-reactivestreams128 LOC (<1%) 2 files
servicetalk-serializer-api128 LOC (<1%) 9 files
servicetalk-router-utils-internal126 LOC (<1%) 3 files
servicetalk-opentracing-inmemory-api125 LOC (<1%) 13 files
servicetalk-context-api121 LOC (<1%) 3 files
servicetalk-concurrent-jdkflow110 LOC (<1%) 2 files
servicetalk-grpc-internal107 LOC (<1%) 2 files
servicetalk-opentracing-log4j2105 LOC (<1%) 2 files
servicetalk-opentracing-internal100 LOC (<1%) 5 files
servicetalk-opentracing-asynccontext67 LOC (<1%) 2 files
docker44 LOC (<1%) 2 files
servicetalk-router-api37 LOC (<1%) 4 files
servicetalk-transport-netty30 LOC (<1%) 2 files
servicetalk-logging-api21 LOC (<1%) 4 files
servicetalk-oio-api-internal19 LOC (<1%) 2 files
servicetalk-annotations18 LOC (<1%) 2 files
servicetalk-oio-api12 LOC (<1%) 2 files
servicetalk-log4j2-mdc7 LOC (<1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 21:58