apache / mynewt-core
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.

Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 16 components.
  • 4,166 files, 612,888 LOC (100.0% vs. main code).
  • "hw" is biggest, containing 66.6% of LOC.
  • "boot" is smallest, containing 0.05% of LOC.


hw408159 LOC (66%) 2,659 files
net114225 LOC (18%) 491 files
fs22916 LOC (3%) 99 files
sys20582 LOC (3%) 292 files
apps14679 LOC (2%) 134 files
kernel13273 LOC (2%) 135 files
encoding4599 LOC (<1%) 55 files
crypto3355 LOC (<1%) 44 files
util3248 LOC (<1%) 55 files
libc2483 LOC (<1%) 85 files
mgmt2082 LOC (<1%) 41 files
compiler1247 LOC (<1%) 39 files
ROOT662 LOC (<1%) 4 files
time578 LOC (<1%) 12 files
targets472 LOC (<1%) 10 files
boot328 LOC (<1%) 11 files
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 9 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 9 links contain 42 dependencies.
G ROOT ROOT libc libc crypto crypto crypto->libc 1 mgmt mgmt net net net->libc 11 hw hw hw->libc 9 boot boot util util targets targets encoding encoding encoding->libc 8 time time sys sys sys->libc 5 fs fs fs->libc 3 fs->net 1 apps apps apps->libc 1 compiler compiler kernel kernel kernel->libc 3


Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details about dependencies...




Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
hw3285 commits (31%)
sys836 commits (7%)
apps607 commits (5%)
net519 commits (4%)
kernel479 commits (4%)
fs219 commits (2%)
mgmt208 commits (1%)
compiler178 commits (1%)
ROOT110 commits (1%)
libc103 commits (<1%)
util83 commits (<1%)
encoding80 commits (<1%)
crypto67 commits (<1%)
boot56 commits (<1%)
time29 commits (<1%)
targets16 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2023 2022 2021 2020 2019 2018 2017 2016 2015
hw
473
660
1302
1019
1709
6440
4144
1348
252
apps
3
67
70
53
153
460
788
325
sys
4
20
118
92
608
923
644
473
libc
8
4
12
7
6
64
63
90
kernel
1
10
44
27
172
822
475
207
compiler
8
2
28
18
24
62
128
103
31
fs
2
7
30
16
103
160
186
402
targets
8
9
17
crypto
7
1
43
3
13
41
349
31
net
7
700
57
81
766
1522
722
ROOT
2
3
5
9
11
26
31
24
mgmt
2
36
5
178
101
130
113
encoding
21
22
25
35
74
125
util
26
7
43
103
44
27
time
7
13
23
7
5
boot
8
2
7
14
35
33


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

G hw hw hw--hw 80 apps apps hw--apps 1 fs fs hw--fs 1 crypto crypto crypto--crypto 2 crypto--apps 1 sys sys libc libc sys--libc 1 libc--libc 1 compiler compiler libc--compiler 1 compiler--compiler 1 targets targets targets--targets 1


2023-08-10 16:06