Ludwig
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 (15 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 2 (relative to the source code root).
Components
The "primary" logical decomposition has 15 components.
  • 103 files, 23,704 lines of code (100.0% vs. main code).
  • "ludwig" is biggest, containing 22.9% of code.
  • "examples/titanic" is smallest, containing 0.17% of code.


ludwig5428 LOC (22%) 13 files
ludwig/utils4189 LOC (17%) 20 files
ludwig/features3866 LOC (16%) 17 files
ludwig/encoders2735 LOC (11%) 11 files
ludwig/modules2210 LOC (9%) 11 files
ludwig/models1502 LOC (6%) 3 files
ludwig/data1433 LOC (6%) 7 files
ludwig/hyperopt919 LOC (3%) 4 files
ludwig/decoders689 LOC (2%) 3 files
ludwig/combiners243 LOC (1%) 2 files
ludwig/contribs210 LOC (<1%) 3 files
examples/mnist99 LOC (<1%) 4 files
examples/kfold_cv85 LOC (<1%) 2 files
ROOT55 LOC (<1%) 1 files
examples/titanic41 LOC (<1%) 2 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2020-09-11 20:41