microsoft / uf2-samdx1
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 (54 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 54 components.
  • 1,230 files, 353,991 lines of code (100.0% vs. main code).
  • "lib/cmsis" is biggest, containing 42.49% of code.
  • "boards/mkr1000" is smallest, containing 0% of code.


lib/cmsis150404 LOC (42%) 549 files
lib/samd2192633 LOC (26%) 329 files
lib/samd5154095 LOC (15%) 135 files
lib/same5448708 LOC (13%) 124 files
src3787 LOC (1%) 18 files
scripts860 LOC (<1%) 10 files
inc/preprocessor816 LOC (<1%) 5 files
lib/usb_msc783 LOC (<1%) 5 files
inc744 LOC (<1%) 10 files
boards/arcade_pybadge96 LOC (<1%) 1 files
boards/arcade_pygamer96 LOC (<1%) 1 files
boards/arcade_itsybitsy_m494 LOC (<1%) 1 files
boards/arcade_pybadge_lc92 LOC (<1%) 1 files
boards/arcade_feather_m487 LOC (<1%) 1 files
boards/pewpew_m457 LOC (<1%) 1 files
scripts/clean-ifaces34 LOC (<1%) 1 files
boards/grandcentral_m425 LOC (<1%) 1 files
boards/metro_m425 LOC (<1%) 1 files
boards/metro_m4_airlift25 LOC (<1%) 1 files
boards/metro_m4_revb25 LOC (<1%) 1 files
boards/itsybitsy_m424 LOC (<1%) 1 files
boards/pyportal_m424 LOC (<1%) 1 files
boards/feather_m423 LOC (<1%) 1 files
boards/mini_sam_m423 LOC (<1%) 1 files
boards/sam3223 LOC (<1%) 1 files
boards/trellis_m423 LOC (<1%) 1 files
boards/capablerobot_usbhub22 LOC (<1%) 1 files
boards/robohatmm1_m422 LOC (<1%) 1 files
boards/generic-atsame5420 LOC (<1%) 1 files
boards/metro_m015 LOC (<1%) 1 files
boards/circuitplay_m014 LOC (<1%) 1 files
boards/gemma_m014 LOC (<1%) 1 files
boards/grove-zero14 LOC (<1%) 1 files
boards/itsybitsy_m014 LOC (<1%) 1 files
boards/pirkey14 LOC (<1%) 1 files
boards/trinket_m014 LOC (<1%) 1 files
boards/crickit13 LOC (<1%) 1 files
boards/dadamachines-automat13 LOC (<1%) 1 files
boards/feather_m0_express13 LOC (<1%) 1 files
boards/hallowing_m013 LOC (<1%) 1 files
boards/radiofruit_m013 LOC (<1%) 1 files
boards/sensebox-mcu13 LOC (<1%) 1 files
boards/eitech-robotics12 LOC (<1%) 1 files
boards/wattuino-rc12 LOC (<1%) 1 files
boards/feather_m011 LOC (<1%) 1 files
boards/generic11 LOC (<1%) 1 files
boards/sparkfun-samd21-dev11 LOC (<1%) 1 files
boards/sparkfun-samd21-mini11 LOC (<1%) 1 files
boards/mkr130010 LOC (<1%) 1 files
boards/mkrzero10 LOC (<1%) 1 files
boards/zero10 LOC (<1%) 1 files
boards/CC039 LOC (<1%) 1 files
boards/CS119 LOC (<1%) 1 files
boards/mkr10008 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 14:09