shadowsocks-android
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 (7 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 7 components.
  • 243 files, 12,959 lines of code (100.0% vs. main code).
  • "core" is biggest, containing 48.71% of code.
  • "gradle" is smallest, containing 0.04% of code.


core6312 LOC (48%) 88 files
mobile4887 LOC (37%) 111 files
ROOT620 LOC (4%) 3 files
tv578 LOC (4%) 11 files
plugin460 LOC (3%) 28 files
buildSrc97 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 5 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 5 links contain 23 dependencies.
G ROOT ROOT core core plugin plugin tv tv tv->core 4 tv->plugin 1 mobile mobile tv->mobile 4 gradle gradle buildSrc buildSrc mobile->core 9 mobile->plugin 5




Show more details about dependencies...




2020-09-12 21:39