flutter / cocoon
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 (27 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 27 components.
  • 274 files, 21,379 lines of code (80.0% vs. main code).
  • "app_dart/lib" is biggest, containing 44.73% of code.
  • "repo_dashboard/android" is smallest, containing 0.02% of code.


app_dart/lib9562 LOC (35%) 97 files
dashboard/lib4759 LOC (17%) 56 files
repo_dashboard/lib2063 LOC (7%) 20 files
release_dashboard/lib2059 LOC (7%) 31 files
device_doctor/lib791 LOC (2%) 8 files
oneoff/cirrus_stats496 LOC (1%) 7 files
dashboard/windows488 LOC (1%) 11 files
app_dart259 LOC (<1%) 6 files
licenses167 LOC (<1%) 2 files
dashboard139 LOC (<1%) 2 files
release_dashboard/linux111 LOC (<1%) 6 files
app_dart/dev106 LOC (<1%) 1 files
dashboard/linux99 LOC (<1%) 4 files
ROOT39 LOC (<1%) 3 files
release_dashboard27 LOC (<1%) 2 files
repo_dashboard/web27 LOC (<1%) 1 files
release_dashboard/macos26 LOC (<1%) 3 files
device_doctor/tool25 LOC (<1%) 1 files
dashboard/web24 LOC (<1%) 1 files
repo_dashboard20 LOC (<1%) 1 files
dashboard/macos20 LOC (<1%) 2 files
device_doctor17 LOC (<1%) 1 files
app_dart/integration_test17 LOC (<1%) 1 files
repo_dashboard/ios13 LOC (<1%) 2 files
dashboard/ios13 LOC (<1%) 2 files
dashboard/android8 LOC (<1%) 2 files
repo_dashboard/android4 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-03 01:21