angular / dev-infra
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 (33 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 33 components.
  • 232 files, 11,957 lines of code (100.0% vs. main code).
  • "ng-dev/release" is biggest, containing 21.73% of code.
  • "ng-dev/ci" is smallest, containing 0.04% of code.


ng-dev/release2598 LOC (21%) 48 files
ng-dev/pr1685 LOC (14%) 25 files
ng-dev/utils1382 LOC (11%) 31 files
github-actions/feature-request657 LOC (5%) 9 files
ng-dev/commit-message592 LOC (4%) 14 files
ng-dev/caretaker533 LOC (4%) 11 files
bazel/benchmark520 LOC (4%) 12 files
bazel/browsers514 LOC (4%) 7 files
ng-dev/format377 LOC (3%) 9 files
ng-dev/ts-circular-dependencies349 LOC (2%) 6 files
ng-dev/pullapprove326 LOC (2%) 8 files
bazel/http-server288 LOC (2%) 4 files
bazel/api-golden246 LOC (2%) 4 files
github-actions/slash-commands217 LOC (1%) 5 files
bazel/integration210 LOC (1%) 1 files
bazel/spec-bundling186 LOC (1%) 4 files
tools177 LOC (1%) 3 files
ng-dev/misc147 LOC (1%) 3 files
tslint-rules147 LOC (1%) 2 files
bazel139 LOC (1%) 2 files
tools/local-actions113 LOC (<1%) 3 files
github-actions/lock-closed109 LOC (<1%) 3 files
shared-scripts/angular-linker81 LOC (<1%) 1 files
github-actions/commit-message-based-labels69 LOC (<1%) 3 files
bazel/esbuild67 LOC (<1%) 2 files
shared-scripts/angular-optimization58 LOC (<1%) 1 files
github-actions33 LOC (<1%) 1 files
ROOT32 LOC (<1%) 2 files
tools/git-toolchain28 LOC (<1%) 2 files
ng-dev/ngbot27 LOC (<1%) 2 files
tools/jasmine25 LOC (<1%) 2 files
ng-dev20 LOC (<1%) 1 files
ng-dev/ci5 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-02 22:19