facebook / fresco
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 (28 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 12 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 28 components.
  • 744 files, 55,817 lines of code (100.0% vs. main code).
  • "imagepipeline" is biggest, containing 28.88% of code.
  • "mockito-config" is smallest, containing 0.02% of code.


imagepipeline16121 LOC (28%) 173 files
vito7462 LOC (13%) 108 files
drawee6970 LOC (12%) 61 files
fbcore5283 LOC (9%) 107 files
imagepipeline-base3315 LOC (5%) 66 files
static-webp2725 LOC (4%) 35 files
drawee-backends2237 LOC (4%) 28 files
animated-base1578 LOC (2%) 26 files
animated-gif1551 LOC (2%) 7 files
native-imagetranscoder1285 LOC (2%) 22 files
animated-drawable1240 LOC (2%) 18 files
native-filters1199 LOC (2%) 15 files
imagepipeline-native722 LOC (1%) 13 files
animated-gif-lite679 LOC (1%) 7 files
tools622 LOC (1%) 8 files
imagepipeline-base-test513 LOC (<1%) 9 files
memory-types492 LOC (<1%) 6 files
drawee-span351 LOC (<1%) 3 files
animated-webp345 LOC (<1%) 3 files
imagepipeline-backends309 LOC (<1%) 6 files
ui-common244 LOC (<1%) 8 files
ROOT234 LOC (<1%) 1 files
buildSrc140 LOC (<1%) 6 files
imagepipeline-test100 LOC (<1%) 3 files
middleware39 LOC (<1%) 1 files
viewport38 LOC (<1%) 2 files
soloader14 LOC (<1%) 1 files
mockito-config9 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-04-14 23:01