microsoft / BusinessPlatformApps
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 (23 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 23 components.
  • 869 files, 56,029 lines of code (67.5% vs. main code).
  • "Source/SiteCommon/Web" is biggest, containing 16.23% of code.
  • "Source" is smallest, containing 0.02% of code.


Source/SiteCommon/Web9092 LOC (10%) 135 files
Source/Actions/Microsoft.Deployment.Actions.AzureCustom7899 LOC (9%) 130 files
Source/Apps/Microsoft6795 LOC (8%) 74 files
Source/Actions/Microsoft.Deployment.Actions.Salesforce6563 LOC (7%) 16 files
Source/Actions/Microsoft.Deployment.Common6198 LOC (7%) 197 files
Source/Site/Microsoft.Deployment.Site.Msi5687 LOC (6%) 11 files
Functions/Code/Reddit3818 LOC (4%) 103 files
Source/Actions/Microsoft.Deployment.Actions.Custom2940 LOC (3%) 49 files
Functions/Code/Facebook1347 LOC (1%) 13 files
Functions/FunctionCode/News986 LOC (1%) 24 files
Source/Actions/Microsoft.Deployment.Actions.MsCrm929 LOC (1%) 17 files
Source/Actions/Microsoft.Deployment.Actions.Common740 LOC (<1%) 20 files
Source/Actions/Microsoft.Deployment.Actions.OnPremise649 LOC (<1%) 17 files
Functions/FunctionCode/Twitter608 LOC (<1%) 4 files
Source/Site/Microsoft.Deployment.Site.Service500 LOC (<1%) 14 files
Source/Actions/Microsoft.Deployment.Actions.SQL426 LOC (<1%) 12 files
Source/Site/Microsoft.Deployment.Site.Web310 LOC (<1%) 13 files
Functions/FunctionCode/AnalysisServices152 LOC (<1%) 1 files
Source/Apps/Partner137 LOC (<1%) 8 files
Functions/FunctionCode/FacebookBrandMangement83 LOC (<1%) 4 files
Functions/FunctionCode/FacebookPageAnalytics81 LOC (<1%) 4 files
Source/Apps/SampleApps77 LOC (<1%) 2 files
Source12 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:04