microsoft / ApplicationInsights-JS
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 10 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 28 components.
  • 287 files, 25,357 lines of code (65.6% vs. main code).
  • "tools/chrome-debug-extension" is biggest, containing 13.41% of code.
  • "AISKULight/dist-history" is smallest, containing 0.16% of code.


tools/chrome-debug-extension3400 LOC (8%) 39 files
shared/AppInsightsCore3159 LOC (8%) 38 files
shared/AppInsightsCommon2395 LOC (6%) 74 files
extensions/applicationinsights-debugplugin-js2196 LOC (5%) 15 files
channels/applicationinsights-channel-js1678 LOC (4%) 11 files
extensions/applicationinsights-clickanalytics-js1566 LOC (4%) 15 files
extensions/applicationinsights-dependencies-js1263 LOC (3%) 6 files
extensions/applicationinsights-analytics-js1125 LOC (2%) 7 files
common/publish911 LOC (2%) 2 files
common/scripts911 LOC (2%) 5 files
extensions/applicationinsights-properties-js759 LOC (1%) 13 files
tools/rollup-es3704 LOC (1%) 9 files
AISKU/src645 LOC (1%) 5 files
extensions/applicationinsights-perfmarkmeasure-js644 LOC (1%) 8 files
tools/release-tools602 LOC (1%) 3 files
ROOT517 LOC (1%) 1 files
extensions/applicationinsights-react-js455 LOC (1%) 9 files
tools/shims436 LOC (1%) 6 files
AISKU/scripts354 LOC (<1%) 3 files
extensions/applicationinsights-react-native316 LOC (<1%) 6 files
AISKU/snippet263 LOC (<1%) 1 files
AISKULight218 LOC (<1%) 3 files
tools/updateDistEsm204 LOC (<1%) 1 files
scripts201 LOC (<1%) 2 files
AISKU140 LOC (<1%) 1 files
tools/subResourceIntegrity132 LOC (<1%) 1 files
tools/rollup-plugin-uglify3-js123 LOC (<1%) 2 files
AISKULight/dist-history40 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 09:49