kubernetes / test-infra
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 (29 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 29 components.
  • 1,365 files, 311,509 lines of code (100.0% vs. main code).
  • "config" is biggest, containing 61.8% of code.
  • "linkcheck" is smallest, containing 0.04% of code.


config192528 LOC (61%) 592 files
prow76730 LOC (24%) 451 files
kubetest7539 LOC (2%) 22 files
ROOT5848 LOC (1%) 5 files
experiment3785 LOC (1%) 35 files
gubernator3469 LOC (1%) 46 files
label_sync2868 LOC (<1%) 6 files
triage2578 LOC (<1%) 17 files
robots1974 LOC (<1%) 15 files
gopherage1630 LOC (<1%) 24 files
scenarios1255 LOC (<1%) 10 files
kettle1202 LOC (<1%) 12 files
testgrid1084 LOC (<1%) 8 files
ghproxy988 LOC (<1%) 8 files
pkg975 LOC (<1%) 9 files
jenkins875 LOC (<1%) 1 files
images778 LOC (<1%) 18 files
metrics727 LOC (<1%) 11 files
releng641 LOC (<1%) 3 files
gencred612 LOC (<1%) 9 files
gcsweb532 LOC (<1%) 3 files
greenhouse511 LOC (<1%) 9 files
jobs462 LOC (<1%) 32 files
maintenance421 LOC (<1%) 3 files
logexporter386 LOC (<1%) 4 files
hack376 LOC (<1%) 6 files
boskos304 LOC (<1%) 1 files
def295 LOC (<1%) 4 files
linkcheck136 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-03 08:57