microsoft / pxt-maker
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 (63 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 63 components.
  • 99 files, 3,170 lines of code (10.5% vs. main code).
  • "libs/bead-drivers" is biggest, containing 15.11% of code.
  • "libs/display" is smallest, containing 0.03% of code.


libs/bead-drivers479 LOC (1%) 4 files
sim/visuals364 LOC (1%) 3 files
sim227 LOC (<1%) 1 files
theme122 LOC (<1%) 3 files
libs/adafruit-grand-central-m4-express117 LOC (<1%) 1 files
libs/bead-motion67 LOC (<1%) 4 files
libs/bead-brain59 LOC (<1%) 5 files
libs/adafruit-metro-m0-express58 LOC (<1%) 1 files
libs/adafruit-metro-m4-express58 LOC (<1%) 1 files
libs/sparkfun-redboard-turbo56 LOC (<1%) 2 files
libs/sparkfun-samd21-dev-breakout53 LOC (<1%) 2 files
libs/sparkfun-samd21-mini-breakout53 LOC (<1%) 2 files
libs/adafruit-feather-m0-express52 LOC (<1%) 1 files
libs/adafruit-itsybitsy-m0-express51 LOC (<1%) 1 files
libs/adafruit-feather-m4-express50 LOC (<1%) 1 files
libs/adafruit-circuit-playground-express49 LOC (<1%) 1 files
libs/adafruit-itsybitsy-m4-express49 LOC (<1%) 1 files
ROOT49 LOC (<1%) 1 files
libs/nucleo-f411re48 LOC (<1%) 1 files
libs/arduino-mkr130047 LOC (<1%) 1 files
libs/arduino-mkr100045 LOC (<1%) 1 files
libs/arduino-mkr101045 LOC (<1%) 1 files
libs/adafruit-circuit-playground-bluefruit44 LOC (<1%) 1 files
libs/arduino-zero42 LOC (<1%) 1 files
libs/robotics-masters-robohatmm1-m442 LOC (<1%) 1 files
libs/bluepill41 LOC (<1%) 1 files
libs/jacdac-brain-rp204041 LOC (<1%) 1 files
libs/brain-nrf5284039 LOC (<1%) 2 files
libs/bead-servo37 LOC (<1%) 4 files
libs/electroniccats-escornabot-makech37 LOC (<1%) 1 files
libs/electroniccats-meow-meow36 LOC (<1%) 1 files
libs/espressif-esp32-devkit-c36 LOC (<1%) 1 files
libs/adafruit-neotrellis-m4-express35 LOC (<1%) 2 files
libs/rpi-pico34 LOC (<1%) 1 files
libs/jacdac-iot-s231 LOC (<1%) 1 files
libs/arduino-nano-33-ble-sense30 LOC (<1%) 1 files
libs/bead-tattoo30 LOC (<1%) 3 files
sim/public30 LOC (<1%) 2 files
libs/adafruit-feather-nrf52840-express28 LOC (<1%) 1 files
libs/adafruit-itsybitsy-nrf52840-express28 LOC (<1%) 1 files
libs/adafruit-trinket-m025 LOC (<1%) 1 files
libs/bead-proximity25 LOC (<1%) 3 files
libs/redbear-ble-nano24 LOC (<1%) 1 files
scripts24 LOC (<1%) 1 files
libs/machachi22 LOC (<1%) 2 files
libs/adafruit-gemma-m020 LOC (<1%) 1 files
libs/stitchkit20 LOC (<1%) 1 files
libs/sparkfun-lumidrive18 LOC (<1%) 2 files
libs/jacdac-nrfbrain17 LOC (<1%) 1 files
libs/adafruit-feather-bluefruit-nrf5216 LOC (<1%) 1 files
libs/bead-color16 LOC (<1%) 3 files
libs/bead-light16 LOC (<1%) 3 files
libs/bead-environment14 LOC (<1%) 3 files
libs/screen---st773514 LOC (<1%) 1 files
libs/xinabox-cc0312 LOC (<1%) 1 files
libs/xinabox-cs1112 LOC (<1%) 1 files
libs/teknikio-bluebird11 LOC (<1%) 1 files
libs/jacdac-brain-f49 LOC (<1%) 1 files
libs/controller8 LOC (<1%) 1 files
libs/bead4 LOC (<1%) 1 files
libs/base---light2 LOC (<1%) 2 files
libs/blocksprj1 LOC (<1%) 1 files
libs/display1 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 15:28