microsoft / rushstack
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 (42 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 42 components.
  • 578 files, 75,788 lines of code (46.4% vs. main code).
  • "apps/rush-lib" is biggest, containing 29.41% of code.
  • "rush-plugins/rush-serve-plugin" is smallest, containing 0% of code.


apps/rush-lib22293 LOC (13%) 176 files
common/config16655 LOC (10%) 7 files
apps/api-extractor8074 LOC (4%) 49 files
apps/heft6696 LOC (4%) 60 files
apps/api-documenter3761 LOC (2%) 35 files
libraries/node-core-library3730 LOC (2%) 35 files
apps/api-extractor-model2506 LOC (1%) 42 files
heft-plugins/heft-jest-plugin1368 LOC (<1%) 18 files
libraries/ts-command-line1322 LOC (<1%) 21 files
eslint/eslint-plugin-packlets651 LOC (<1%) 7 files
libraries/terminal584 LOC (<1%) 16 files
libraries/rushell548 LOC (<1%) 7 files
libraries/debug-certificate-manager502 LOC (<1%) 4 files
rush-plugins/rush-amazon-s3-build-cache-plugin485 LOC (<1%) 5 files
libraries/heft-config-file479 LOC (<1%) 2 files
eslint/eslint-config460 LOC (<1%) 11 files
common/scripts458 LOC (<1%) 3 files
eslint/eslint-plugin458 LOC (<1%) 7 files
libraries/package-deps-hash394 LOC (<1%) 3 files
heft-plugins/heft-webpack5-plugin358 LOC (<1%) 4 files
apps/rundown353 LOC (<1%) 8 files
rush-plugins/rush-azure-storage-build-cache-plugin351 LOC (<1%) 3 files
heft-plugins/heft-webpack4-plugin325 LOC (<1%) 4 files
libraries/typings-generator311 LOC (<1%) 3 files
libraries/rig-package293 LOC (<1%) 3 files
libraries/load-themed-styles266 LOC (<1%) 1 files
apps/rush261 LOC (<1%) 8 files
common/autoinstallers248 LOC (<1%) 1 files
heft-plugins/heft-sass-plugin239 LOC (<1%) 4 files
repo-scripts/repo-toolbox217 LOC (<1%) 5 files
rush-plugins/rush-litewatch-plugin213 LOC (<1%) 4 files
heft-plugins/heft-storybook-plugin181 LOC (<1%) 3 files
eslint/eslint-patch169 LOC (<1%) 3 files
libraries/stream-collator169 LOC (<1%) 4 files
libraries/tree-pattern114 LOC (<1%) 2 files
repo-scripts/doc-plugin-rush-stack81 LOC (<1%) 2 files
heft-plugins/heft-dev-cert-plugin79 LOC (<1%) 2 files
eslint/eslint-plugin-security71 LOC (<1%) 2 files
libraries/rush-sdk52 LOC (<1%) 1 files
repo-scripts/tombstone10 LOC (<1%) 1 files
repo-scripts/generate-api-docs2 LOC (<1%) 1 files
rush-plugins/rush-serve-plugin1 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 14:01