microsoft / CNTK
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.
  • 828 files, 223,732 lines of code (100.0% vs. main code).
  • "Source/Readers" is biggest, containing 20.44% of code.
  • "Tutorials/HelloWorld-LogisticRegression" is smallest, containing 0.02% of code.


Source/Readers45733 LOC (20%) 279 files
Source/Math44983 LOC (20%) 94 files
Source/CNTKv2LibraryDll38756 LOC (17%) 87 files
bindings/python22668 LOC (10%) 99 files
Source/ComputationNetworkLib22240 LOC (9%) 39 files
Source/Common15937 LOC (7%) 52 files
Source/SGDLib6519 LOC (2%) 24 files
Source/ActionsLib5449 LOC (2%) 16 files
Source/CNTK4538 LOC (2%) 13 files
Source/SequenceTrainingLib2477 LOC (1%) 6 files
bindings/csharp2385 LOC (1%) 24 files
Source/1BitSGD2211 LOC (<1%) 8 files
Tools/devInstall1825 LOC (<1%) 8 files
Source/Extensibility1536 LOC (<1%) 12 files
Scripts/install1389 LOC (<1%) 16 files
bindings/common983 LOC (<1%) 4 files
Source/EvalDll925 LOC (<1%) 7 files
Source/PerformanceProfilerDll662 LOC (<1%) 4 files
bindings/java657 LOC (<1%) 7 files
Scripts417 LOC (<1%) 3 files
ROOT374 LOC (<1%) 3 files
Tools/cmake293 LOC (<1%) 6 files
Tools289 LOC (<1%) 4 files
Source/DelayLoadedExtensionsDll213 LOC (<1%) 5 files
Tutorials/ImageHandsOn66 LOC (<1%) 1 files
PretrainedModels64 LOC (<1%) 1 files
Tools/cntk-binary-drop56 LOC (<1%) 4 files
Tutorials/NumpyInterop46 LOC (<1%) 1 files
Tutorials/HelloWorld-LogisticRegression41 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 11:32