microsoft / xbox-live-samples
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 (28 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 28 components.
  • 843 files, 171,575 lines of code (100.0% vs. main code).
  • "CreatorsSDK/Social" is biggest, containing 23.16% of code.
  • "Kits/Telemetry" is smallest, containing 0.01% of code.


CreatorsSDK/Social39744 LOC (23%) 31 files
ID@XboxSDK/GameSave18477 LOC (10%) 119 files
ID@XboxSDK/Clubs12751 LOC (7%) 43 files
ID@XboxSDK/DataPlatform201311882 LOC (6%) 79 files
Kits/ATGTK11805 LOC (6%) 30 files
ID@XboxSDK/Social10403 LOC (6%) 55 files
ID@XboxSDK/Multiplayer7021 LOC (4%) 43 files
ID@XboxSDK/Matchmaking7016 LOC (4%) 43 files
Kits/Microsoft.Xbox.Samples.NetworkMesh6836 LOC (3%) 39 files
ID@XboxSDK/InGameChat6712 LOC (3%) 33 files
ID@XboxSDK/GameSaveCppWinRT6442 LOC (3%) 49 files
MobileSDK/Samples-Native4728 LOC (2%) 74 files
ID@XboxSDK/TitleStorage4139 LOC (2%) 27 files
ID@XboxSDK/PositionalChat4078 LOC (2%) 21 files
MobileSDK/Samples-Cocos2d-x3221 LOC (1%) 29 files
CreatorsSDK/Leaderboards2835 LOC (1%) 15 files
ID@XboxSDK/DataPlatform20171902 LOC (1%) 15 files
ID@XboxSDK/Achievements1822 LOC (1%) 12 files
ID@XboxSDK/Leaderboards1817 LOC (1%) 12 files
Kits/LiveTK1640 LOC (<1%) 10 files
ID@XboxSDK/DownloadableContent1628 LOC (<1%) 15 files
ID@XboxSDK/GameTrials1426 LOC (<1%) 11 files
ID@XboxSDK/TCUI1290 LOC (<1%) 14 files
MobileSDK/Integration1041 LOC (<1%) 12 files
ID@XboxSDK/XWebSecFiddlerExtension831 LOC (<1%) 9 files
Utilities49 LOC (<1%) 1 files
Utilities/VSOBuildScripts24 LOC (<1%) 1 files
Kits/Telemetry15 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:12