microsoft / BotBuilder-Samples
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 (19 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 19 components.
  • 647 files, 52,322 lines of code (16.0% vs. main code).
  • "composer-samples/csharp_dotnetcore" is biggest, containing 24.73% of code.
  • "experimental/handoff-library" is smallest, containing 0.06% of code.


composer-samples/csharp_dotnetcore12939 LOC (3%) 98 files
composer-samples/javascript_nodejs7858 LOC (2%) 38 files
Migration/MigrationV3V46273 LOC (1%) 163 files
experimental/composer-samples3905 LOC (1%) 27 files
experimental/adaptive-tool3590 LOC (1%) 30 files
experimental/generation3158 LOC (<1%) 29 files
experimental/adaptive-dialog2968 LOC (<1%) 43 files
generators/generator-botbuilder2649 LOC (<1%) 53 files
build/yaml2133 LOC (<1%) 8 files
generators/vsix-vs-win1966 LOC (<1%) 45 files
experimental/sso-with-skills1141 LOC (<1%) 24 files
generators/dotnet-templates960 LOC (<1%) 24 files
generators/java935 LOC (<1%) 15 files
generators/python706 LOC (<1%) 25 files
experimental/immediate-accept-adapter594 LOC (<1%) 12 files
Migration/Dispatch382 LOC (<1%) 9 files
experimental/adaptive-runtime-packages82 LOC (<1%) 2 files
build50 LOC (<1%) 1 files
experimental/handoff-library33 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 13:59