Uber / starlark-go
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 10 components.
  • 34 files, 13,036 LOC (100.0% vs. main code).
  • "starlark" is biggest, containing 44.68% of LOC.
  • "starlarkjson" is smallest, containing 0.04% of LOC.


starlark5824 LOC (44%) 12 files
syntax2396 LOC (18%) 5 files
internal1841 LOC (14%) 4 files
lib1745 LOC (13%) 5 files
resolve661 LOC (5%) 2 files
starlarkstruct222 LOC (1%) 2 files
cmd124 LOC (<1%) 1 file
repl117 LOC (<1%) 1 file
starlarktest101 LOC (<1%) 1 file
starlarkjson5 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 21 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 21 links contain 40 dependencies.
  • There is 1 place (2 links) with cyclic dependencies (2 file dependencies).
G cmd cmd resolve resolve cmd->resolve 1 internal internal cmd->internal 1 starlark starlark cmd->starlark 1 resolve->internal 1 syntax syntax resolve->syntax 1 repl repl repl->resolve 1 repl->starlark 1 repl->syntax 1 internal->resolve 1 internal->syntax 2 starlarkjson starlarkjson lib lib lib->resolve 1 lib->starlark 5 lib->syntax 2 starlarkstruct starlarkstruct lib->starlarkstruct 4 starlarktest starlarktest starlarktest->starlark 1 starlarktest->starlarkstruct 1 starlark->resolve 2 starlark->internal 4 starlark->syntax 6 starlarkstruct->starlark 2 starlarkstruct->syntax 1


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.
starlark121 commits (30%)
syntax58 commits (14%)
internal41 commits (10%)
resolve39 commits (9%)
cmd23 commits (5%)
repl15 commits (3%)
lib13 commits (3%)
starlarkstruct11 commits (2%)
starlarktest11 commits (2%)
starlarkjson4 commits (1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2024 2023 2022 2021 2020 2019 2018 2017
starlarkstruct
1
1
7
3
lib
1
4
8
2
starlark
1
21
16
34
87
42
syntax
1
8
5
22
38
11
starlarktest
1
2
1
4
3
internal
1
4
19
28
resolve
1
4
17
15
3
repl
1
1
3
9
1
cmd
1
5
2
7
8
starlarkjson
1
1
2


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...

No temporal dependencies found.



2024-04-03 14:40