microsoft / azure-pipelines-extensions
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 (22 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 22 components.
  • 242 files, 25,141 lines of code (43.7% vs. main code).
  • "Extensions/IISWebAppDeploy" is biggest, containing 18.58% of code.
  • "ServerTaskHelper/AzureFunctionHandler" is smallest, containing 0.33% of code.


Extensions/IISWebAppDeploy4671 LOC (8%) 19 files
Extensions/ArtifactEngine3625 LOC (6%) 56 files
TaskModules/powershell3045 LOC (5%) 21 files
Extensions/Optimizely2523 LOC (4%) 16 files
Extensions/GoogleAnalyticsExperiments2431 LOC (4%) 21 files
Extensions/Common2025 LOC (3%) 15 files
ROOT1175 LOC (2%) 4 files
Extensions/Terraform1023 LOC (1%) 18 files
Extensions/ExternalTfs782 LOC (1%) 6 files
Extensions/Ansible721 LOC (1%) 7 files
Extensions/DataSources691 LOC (1%) 16 files
ServerTaskHelper/DistributedTask.ServerTask.Remote.Common445 LOC (<1%) 7 files
Extensions/AzureExp323 LOC (<1%) 9 files
Extensions/CircleCI306 LOC (<1%) 2 files
ServerTaskHelper/HttpRequestSampleWithoutHandler275 LOC (<1%) 4 files
ServerTaskHelper/AzureFunctionSample254 LOC (<1%) 4 files
Extensions/BitBucket201 LOC (<1%) 2 files
ServerTaskHelper/ServiceBusMessageHandler183 LOC (<1%) 5 files
Extensions/CopyStageVariableToReleaseVariable122 LOC (<1%) 2 files
Extensions/TeamCity122 LOC (<1%) 2 files
ServerTaskHelper/HttpRequestHandler115 LOC (<1%) 4 files
ServerTaskHelper/AzureFunctionHandler83 LOC (<1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 13:33