Linux / Drivers / Misc
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 at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 22 components.
  • 477 files, 187,901 lines of code (100.0% vs. main code).
  • "habanalabs" is biggest, containing 56.58% of code.
  • "pvpanic" is smallest, containing 0.14% of code.


habanalabs106318 LOC (56%) 240 files
ROOT16015 LOC (8%) 38 files
mei9904 LOC (5%) 27 files
cxl9444 LOC (5%) 21 files
cardreader6276 LOC (3%) 15 files
vmw_vmci5605 LOC (2%) 20 files
sgi-gru4727 LOC (2%) 14 files
sgi-xp4402 LOC (2%) 9 files
genwqe4091 LOC (2%) 9 files
ocxl3297 LOC (1%) 14 files
bcm-vk3107 LOC (1%) 7 files
eeprom2994 LOC (1%) 9 files
altera-stapl2702 LOC (1%) 6 files
lkdtm2113 LOC (1%) 12 files
ibmasm1839 LOC (<1%) 15 files
lis3lv02d1524 LOC (<1%) 4 files
ti-st1256 LOC (<1%) 3 files
c2port759 LOC (<1%) 2 files
cb710432 LOC (<1%) 3 files
echo421 LOC (<1%) 4 files
uacce412 LOC (<1%) 1 files
pvpanic263 LOC (<1%) 4 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-04 01:35