ScpToolkit
Components & Dependencies

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 (20 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 1 (relative to the source code root).
Components
The "primary" logical decomposition has 20 components.
  • 352 files, 60,177 lines of code (100.0% vs. main code).
  • "ScpControl" is biggest, containing 20.38% of code.
  • "ScpDebugInfoCollector" is smallest, containing 0.19% of code.


ScpControl12265 LOC (20%) 97 files
ScpDriverInstaller8424 LOC (13%) 26 files
ScpLauncher6885 LOC (11%) 17 files
ScpProfiler4564 LOC (7%) 24 files
ScpSettings4242 LOC (7%) 20 files
ScpControlPanel3790 LOC (6%) 19 files
ScpCleanWipe3727 LOC (6%) 14 files
ScpGamepadAnalyzer3724 LOC (6%) 13 files
XInput_Scp2450 LOC (4%) 26 files
Lilypad2105 LOC (3%) 2 files
ScpControl.Shared1912 LOC (3%) 15 files
ScpMonitor1809 LOC (3%) 17 files
ScpTrayApp1049 LOC (1%) 10 files
ScpUser768 LOC (1%) 10 files
ScpInstaller726 LOC (1%) 10 files
ScpServer606 LOC (1%) 8 files
ScpXInputBridge376 LOC (<1%) 6 files
ScpService336 LOC (<1%) 8 files
ScpPair302 LOC (<1%) 7 files
ScpDebugInfoCollector117 LOC (<1%) 3 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 20 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 20 links contain 63 dependencies.
G ScpTrayApp ScpTrayApp ScpInstaller ScpInstaller ScpControl ScpControl ScpInstaller->ScpControl 1 Lilypad Lilypad ScpProfiler ScpProfiler ScpControl.Shared ScpControl.Shared ScpProfiler->ScpControl.Shared 5 ScpProfiler->ScpControl 4 ScpDriverInstaller ScpDriverInstaller ScpDriverInstaller->ScpControl 3 ScpPair ScpPair ScpPair->ScpControl.Shared 2 ScpPair->ScpControl 2 ScpXInputBridge ScpXInputBridge ScpXInputBridge->ScpControl.Shared 3 ScpMonitor ScpMonitor ScpMonitor->ScpControl.Shared 2 ScpMonitor->ScpControl 2 XInput_Scp XInput_Scp ScpDebugInfoCollector ScpDebugInfoCollector ScpDebugInfoCollector->ScpControl 1 ScpSettings ScpSettings ScpSettings->ScpControl 1 ScpServer ScpServer ScpServer->ScpControl.Shared 1 ScpServer->ScpControl 1 ScpLauncher ScpLauncher ScpControl->ScpControl.Shared 26 ScpService ScpService ScpService->ScpControl.Shared 1 ScpService->ScpControl 1 ScpGamepadAnalyzer ScpGamepadAnalyzer ScpGamepadAnalyzer->ScpControl 1 ScpCleanWipe ScpCleanWipe ScpCleanWipe->ScpControl 1 ScpUser ScpUser ScpControlPanel ScpControlPanel ScpControlPanel->ScpControl.Shared 3 ScpControlPanel->ScpControl 2




Show more details about dependencies...




2020-09-12 21:03