tensorflow / datasets
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 (25 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 25 components.
  • 680 files, 52,582 lines of code (15.0% vs. main code).
  • "tensorflow_datasets/core" is biggest, containing 21.06% of code.
  • "tensorflow_datasets/time_series" is smallest, containing 0.25% of code.


tensorflow_datasets/core11073 LOC (3%) 98 files
tensorflow_datasets/image_classification8374 LOC (2%) 79 files
tensorflow_datasets/text8325 LOC (2%) 145 files
tensorflow_datasets/structured3967 LOC (1%) 42 files
tensorflow_datasets/testing3020 LOC (<1%) 46 files
tensorflow_datasets/image2440 LOC (<1%) 31 files
tensorflow_datasets/audio2155 LOC (<1%) 29 files
tensorflow_datasets/object_detection1797 LOC (<1%) 12 files
tensorflow_datasets/summarization1681 LOC (<1%) 28 files
tensorflow_datasets/translate1572 LOC (<1%) 15 files
tensorflow_datasets/scripts1280 LOC (<1%) 25 files
tensorflow_datasets/question_answering1271 LOC (<1%) 22 files
tensorflow_datasets/rl_unplugged856 LOC (<1%) 22 files
tensorflow_datasets/vision_language784 LOC (<1%) 12 files
tensorflow_datasets/d4rl769 LOC (<1%) 21 files
tensorflow_datasets/video747 LOC (<1%) 13 files
tensorflow_datasets/rlds414 LOC (<1%) 5 files
tensorflow_datasets/ranking352 LOC (<1%) 6 files
tensorflow_datasets/proto350 LOC (<1%) 2 files
tensorflow_datasets/text_simplification338 LOC (<1%) 5 files
tensorflow_datasets/graphs334 LOC (<1%) 6 files
tensorflow_datasets/robomimic212 LOC (<1%) 4 files
ROOT171 LOC (<1%) 1 files
tensorflow_datasets170 LOC (<1%) 7 files
tensorflow_datasets/time_series130 LOC (<1%) 4 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-03 08:07