microsoft / vstest
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 (32 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 32 components.
  • 1,061 files, 101,706 lines of code (33.0% vs. main code).
  • "src/vstest.console" is biggest, containing 21.89% of code.
  • "playground/MSTest1" is smallest, containing 0.01% of code.


src/vstest.console22259 LOC (7%) 79 files
src/Microsoft.TestPlatform.ObjectModel13186 LOC (4%) 186 files
src/Microsoft.TestPlatform.CrossPlatEngine9974 LOC (3%) 79 files
src/Microsoft.TestPlatform.Common9075 LOC (2%) 108 files
src/Microsoft.TestPlatform.Extensions.TrxLogger8195 LOC (2%) 59 files
eng/common6120 LOC (1%) 63 files
src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer4048 LOC (1%) 30 files
src/Microsoft.TestPlatform.CommunicationUtilities3592 LOC (1%) 68 files
src/Microsoft.TestPlatform.CoreUtilities3334 LOC (1%) 44 files
src/Microsoft.TestPlatform.Extensions.BlameDataCollector3119 LOC (1%) 45 files
src/Microsoft.TestPlatform.Client2056 LOC (<1%) 28 files
src/Microsoft.TestPlatform.PlatformAbstractions1987 LOC (<1%) 52 files
scripts1976 LOC (<1%) 8 files
src/Microsoft.TestPlatform.AdapterUtilities1872 LOC (<1%) 25 files
src/Microsoft.TestPlatform.Utilities1812 LOC (<1%) 25 files
src/Microsoft.TestPlatform.TestHostProvider1605 LOC (<1%) 21 files
src/DataCollectors1381 LOC (<1%) 25 files
src/Microsoft.TestPlatform.Build1035 LOC (<1%) 22 files
src/SettingsMigrator1015 LOC (<1%) 19 files
src/Microsoft.TestPlatform.Extensions.HtmlLogger950 LOC (<1%) 25 files
src/testhost.x86664 LOC (<1%) 9 files
src/package559 LOC (<1%) 8 files
eng360 LOC (<1%) 9 files
scripts/perf355 LOC (<1%) 1 files
src/AttachVS283 LOC (<1%) 2 files
src/Microsoft.TestPlatform.Execution.Shared248 LOC (<1%) 3 files
scripts/build226 LOC (<1%) 7 files
src/datacollector164 LOC (<1%) 5 files
ROOT162 LOC (<1%) 3 files
playground/TestPlatform.Playground73 LOC (<1%) 1 files
src/testhost11 LOC (<1%) 1 files
playground/MSTest110 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:47