flutter / plugins
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 (20 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 20 components.
  • 1,059 files, 77,267 lines of code (100.0% vs. main code).
  • "packages/webview_flutter" is biggest, containing 17.39% of code.
  • "script/configs" is smallest, containing 0.03% of code.


packages/webview_flutter13438 LOC (17%) 118 files
packages/google_maps_flutter12027 LOC (15%) 134 files
packages/camera10162 LOC (13%) 128 files
packages/video_player7148 LOC (9%) 60 files
packages/in_app_purchase6884 LOC (8%) 96 files
script/tool5268 LOC (6%) 32 files
packages/image_picker4488 LOC (5%) 60 files
packages/url_launcher3912 LOC (5%) 95 files
packages/path_provider3205 LOC (4%) 83 files
packages/file_selector2742 LOC (3%) 61 files
packages/shared_preferences2735 LOC (3%) 81 files
packages/google_sign_in2515 LOC (3%) 42 files
packages/local_auth1366 LOC (1%) 14 files
packages/quick_actions642 LOC (<1%) 21 files
packages/ios_platform_images257 LOC (<1%) 12 files
ROOT144 LOC (<1%) 2 files
packages/espresso131 LOC (<1%) 5 files
packages/flutter_plugin_android_lifecycle123 LOC (<1%) 6 files
packages/plugin_platform_interface54 LOC (<1%) 2 files
script/configs26 LOC (<1%) 7 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-03 01:22