Ktor
Components & Dependencies

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 (10 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 1 (relative to the source code root).
Components
The "primary" logical decomposition has 10 components.
  • 996 files, 70,140 lines of code (100.0% vs. main code).
  • "ktor-client" is biggest, containing 26.92% of code.
  • "gradle" is smallest, containing 0.01% of code.


ktor-client18880 LOC (26%) 246 files
ktor-io18334 LOC (26%) 183 files
ktor-server12010 LOC (17%) 199 files
ktor-http7698 LOC (10%) 112 files
ktor-network4620 LOC (6%) 100 files
ktor-features4286 LOC (6%) 59 files
ktor-utils4223 LOC (6%) 94 files
ROOT60 LOC (<1%) 1 files
karma24 LOC (<1%) 1 files
gradle5 LOC (<1%) 1 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 24 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 24 links contain 875 dependencies.
  • There are 4 places (8 links) with cyclic dependencies (201 file dependencies).
G ktor-network ktor-network ktor-server ktor-server ktor-network->ktor-server 20 ktor-utils ktor-utils ktor-network->ktor-utils 37 ktor-io ktor-io ktor-network->ktor-io 35 ktor-server->ktor-network 2 ktor-server->ktor-utils 46 ktor-server->ktor-io 46 ktor-http ktor-http ktor-server->ktor-http 7 ktor-client ktor-client ktor-server->ktor-client 4 gradle gradle karma karma ktor-utils->ktor-io 29 ktor-features ktor-features ktor-features->ktor-server 47 ktor-features->ktor-utils 35 ktor-features->ktor-io 16 ktor-features->ktor-http 35 ktor-features->ktor-client 4 ROOT ROOT ktor-http->ktor-network 1 ktor-http->ktor-server 18 ktor-http->ktor-utils 22 ktor-http->ktor-io 42 ktor-client->ktor-network 4 ktor-client->ktor-server 132 ktor-client->ktor-utils 106 ktor-client->ktor-features 14 ktor-client->ktor-io 77 ktor-client->ktor-http 96




Show more details about dependencies...




2020-09-12 21:41