microsoft / AcademicContent
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 (18 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 18 components.
  • 106 files, 10,795 lines of code (45.0% vs. main code).
  • "Events and Hacks/Tech Talks/ContainerDemo" is biggest, containing 52.29% of code.
  • "Educator Resources/Scripts/Bulk-Add-Users-PowerShell" is smallest, containing 0.13% of code.


Events and Hacks/Tech Talks/ContainerDemo5645 LOC (23%) 13 files
Educator Resources/Complimentary Course Content/Module21736 LOC (7%) 38 files
Events and Hacks/Azure University Tour/WebAppHOL1218 LOC (5%) 10 files
Labs/Azure Services/Azure Blockchain Service609 LOC (2%) 5 files
Events and Hacks/Tech Talks/busbot378 LOC (1%) 1 files
Events and Hacks/Tech Talks/ARM Templates367 LOC (1%) 8 files
Labs/AI and Machine Learning/Video Indexer186 LOC (<1%) 4 files
Events and Hacks/Azure Machine Learning Challenge/Client145 LOC (<1%) 4 files
Events and Hacks/AI Hackathon/Code and Data138 LOC (<1%) 7 files
Labs/Azure Services/VM Scaling85 LOC (<1%) 2 files
Educator Resources/Scripts/Bulk-Sandbox-Deployment-Automation-Bash75 LOC (<1%) 5 files
Educator Resources/Complimentary Course Content/Module758 LOC (<1%) 2 files
Educator Resources/Scripts/Create-Assign-Resource-Groups-PowerShell57 LOC (<1%) 1 files
Educator Resources/Scripts/List-Azure-Subs-PowerShell26 LOC (<1%) 1 files
Events and Hacks/Azure University Tour/MachineLearningHOL20 LOC (<1%) 2 files
Events and Hacks/Tech Talks/_layouts19 LOC (<1%) 1 files
_layouts19 LOC (<1%) 1 files
Educator Resources/Scripts/Bulk-Add-Users-PowerShell14 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:43