microsoft / ELL
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 (29 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 29 components.
  • 906 files, 128,010 lines of code (100.0% vs. main code).
  • "libraries/nodes" is biggest, containing 14.79% of code.
  • "ROOT" is smallest, containing 0.04% of code.


libraries/nodes18939 LOC (14%) 110 files
tools/utilities18236 LOC (14%) 143 files
libraries/value16526 LOC (12%) 74 files
libraries/emitters13131 LOC (10%) 79 files
libraries/utilities10415 LOC (8%) 84 files
libraries/model9817 LOC (7%) 67 files
interfaces/common6678 LOC (5%) 59 files
tools/importers5756 LOC (4%) 16 files
libraries/math4255 LOC (3%) 12 files
libraries/predictors4159 LOC (3%) 36 files
libraries/dsp2940 LOC (2%) 16 files
libraries/optimization2693 LOC (2%) 29 files
libraries/data2573 LOC (2%) 29 files
libraries/trainers2550 LOC (1%) 24 files
libraries/common2134 LOC (1%) 33 files
tools/trainers1109 LOC (<1%) 9 files
libraries/passes795 LOC (<1%) 10 files
interfaces/python790 LOC (<1%) 19 files
libraries/model_testing624 LOC (<1%) 2 files
libraries/emittable_functions564 LOC (<1%) 8 files
libraries/evaluators562 LOC (<1%) 7 files
CMake561 LOC (<1%) 8 files
interfaces/javascript548 LOC (<1%) 7 files
tools/wrap523 LOC (<1%) 4 files
libraries/functions407 LOC (<1%) 12 files
libraries/testing310 LOC (<1%) 2 files
scripts292 LOC (<1%) 3 files
scripts/CI66 LOC (<1%) 3 files
ROOT57 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:00