microsoft / mu_tiano_plus
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 (37 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 37 components.
  • 417 files, 77,065 lines of code (100.0% vs. main code).
  • "SecurityPkg/Library" is biggest, containing 27.01% of code.
  • "SecurityPkg/Hash2DxeCrypto" is smallest, containing 0.01% of code.


SecurityPkg/Library20814 LOC (27%) 97 files
SecurityPkg/Tcg11584 LOC (15%) 40 files
SourceLevelDebugPkg/Library7304 LOC (9%) 36 files
EmbeddedPkg/Library5219 LOC (6%) 33 files
FatPkg/EnhancedFatDxe5190 LOC (6%) 20 files
SecurityPkg/VariableAuthenticated4220 LOC (5%) 8 files
EmbeddedPkg/GdbStub3051 LOC (3%) 6 files
SecurityPkg/Include2338 LOC (3%) 43 files
SecurityPkg/HddPassword2194 LOC (2%) 6 files
EmbeddedPkg/Universal2049 LOC (2%) 7 files
EmbeddedPkg/Drivers2016 LOC (2%) 11 files
EmbeddedPkg/Include2013 LOC (2%) 40 files
FmpDevicePkg/FmpDxe1844 LOC (2%) 5 files
FatPkg/FatPei1813 LOC (2%) 10 files
FmpDevicePkg/Library1013 LOC (1%) 8 files
SecurityPkg/Pkcs7Verify716 LOC (<1%) 1 files
EmbeddedPkg/Application672 LOC (<1%) 5 files
EmbeddedPkg/SimpleTextInOutSerial550 LOC (<1%) 1 files
SourceLevelDebugPkg/Include516 LOC (<1%) 6 files
SecurityPkg/RandomNumberGenerator477 LOC (<1%) 8 files
SecurityPkg/FvReportPei301 LOC (<1%) 2 files
FmpDevicePkg/Include218 LOC (<1%) 6 files
EmbeddedPkg/RealTimeClockRuntimeDxe126 LOC (<1%) 1 files
FmpDevicePkg/CapsuleUpdatePolicyDxe112 LOC (<1%) 2 files
FmpDevicePkg/PrivateInclude108 LOC (<1%) 3 files
SourceLevelDebugPkg/DebugAgentDxe88 LOC (<1%) 1 files
SecurityPkg/EnrollFromDefaultKeysApp84 LOC (<1%) 1 files
SecurityPkg81 LOC (<1%) 1 files
FmpDevicePkg56 LOC (<1%) 1 files
EmbeddedPkg/EmbeddedMonotonicCounter51 LOC (<1%) 1 files
FatPkg51 LOC (<1%) 1 files
EmbeddedPkg/MetronomeDxe46 LOC (<1%) 1 files
SourceLevelDebugPkg44 LOC (<1%) 1 files
EmbeddedPkg42 LOC (<1%) 1 files
EmbeddedPkg/ResetRuntimeDxe39 LOC (<1%) 1 files
SourceLevelDebugPkg/DebugAgentPei14 LOC (<1%) 1 files
SecurityPkg/Hash2DxeCrypto11 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 22:09