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
Static Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 70 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 70 links contain 693 dependencies.
  • There are 3 places (6 links) with cyclic dependencies (83 file dependencies).
flowchart TB
    n0["mantis-client"]
    n1["mantis-common-serde"]
    n2["mantis-examples"]
    n3["mantis-discovery-proto"]
    n4["mantis-common-akka"]
    n5["mantis-source-jobs"]
    n6["mantis-common"]
    n7["mantis-control-plane"]
    n8["mantis-publish"]
    n9["mantis-server"]
    n10["mantis-connectors"]
    n11["mantis-runtime"]
    n12["mantis-network"]
    n13[".github"]
    n14["mantis-remote-observable"]
    n15["mantis-runtime-autoscaler-api"]
    n16["mantis-runtime-loader"]
    n17[".baseline"]
    n18["mantis-rxcontrol"]
    n19["mantis-runtime-executor"]
    n20["mantis-jm-akka"]
    n7 -->|"126"| n6
    n7 -->|"71"| n11
    n7 -->|"50"| n1
    n11 -->|"36"| n6
    n10 -->|"30"| n6
    n10 -->|"25"| n11
    n14 -->|"23"| n6
    n15 -->|"16"| n6
    n5 -->|"14"| n6
    n8 -->|"13"| n3
    n9 -->|"13"| n6
    n12 -->|"13"| n6
    n19 -->|"12"| n6
    n15 -->|"12"| n11
    n5 -->|"11"| n11
    n15 -->|"10"| n7
    n2 -->|"9"| n6
    n11 -->|"9"| n1
    n19 -->|"9"| n7
    n9 -->|"9"| n7
    n19 -->|"8"| n11
    n9 -->|"8"| n16
    n5 -->|"7"| n10
    n19 -->|"7"| n16
    n10 -->|"7"| n0
    n11 -->|"7"| n14
    n16 -->|"7"| n7
    n2 -->|"6"| n11
    n7 -->|"6"| n4
    n15 -->|"6"| n18
    n16 -->|"6"| n6
    n20 -->|"6"| n15
    n20 -->|"6"| n19
    n20 -->|"6"| n6
    n20 -->|"6"| n11
    n0 -->|"5"| n6
    n0 -->|"5"| n7
    n9 -->|"5"| n1
    n9 -->|"4"| n11
    n11 -->|"4"| n7
    n15 -->|"4"| n1
    n15 -->|"4"| n9
    n0 -->|"3"| n14
    n0 -->|"3"| n11
    n4 -->|"3"| n6
    n5 -->|"3"| n1
    n9 -->|"3"| n14
    n10 -->|"3"| n1
    n10 -->|"3"| n8
    n14 -->|"3"| n7
    n0 -->|"2"| n1
    n2 -->|"2"| n1
    n7 -->|"2"| n14
    n19 -->|"2"| n1
    n19 -->|"2"| n9
    n11 -->|"2"| n12
    n12 -->|"2"| n1
    n14 -->|"2"| n1
    n0 -->|"1"| n9
    n4 -->|"1"| n1
    n5 -->|"1"| n8
    n19 -->|"1"| n12
    n19 -->|"1"| n14
    n8 -->|"1"| n1
    n8 -->|"1"| n6
    n9 -->|"1"| n19
    n10 -->|"1"| n7
    n15 -->|"1"| n12
    n16 -->|"1"| n1
    n20 -->|"1"| n7
    classDef default fill:#808080,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    class n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,n13,n14,n15,n16,n17,n18,n19,n20 highlighted;
    linkStyle 0 stroke:#00688bFF,stroke-width:10px
    linkStyle 1 stroke:#DC143CA5,stroke-width:5px
    linkStyle 2 stroke:#00688b82,stroke-width:3px
    linkStyle 3 stroke:#00688b70,stroke-width:2px
    linkStyle 4 stroke:#00688b70,stroke-width:2px
    linkStyle 5 stroke:#00688b5E,stroke-width:1px
    linkStyle 6 stroke:#00688b5E,stroke-width:1px
    linkStyle 7 stroke:#00688b5E,stroke-width:1px
    linkStyle 8 stroke:#00688b5E,stroke-width:1px
    linkStyle 9 stroke:#00688b5E,stroke-width:1px
    linkStyle 10 stroke:#00688b5E,stroke-width:1px
    linkStyle 11 stroke:#00688b5E,stroke-width:1px
    linkStyle 12 stroke:#00688b4C,stroke-width:1px
    linkStyle 13 stroke:#00688b4C,stroke-width:1px
    linkStyle 14 stroke:#00688b4C,stroke-width:1px
    linkStyle 15 stroke:#00688b4C,stroke-width:1px
    linkStyle 16 stroke:#00688b4C,stroke-width:1px
    linkStyle 17 stroke:#00688b4C,stroke-width:1px
    linkStyle 18 stroke:#00688b4C,stroke-width:1px
    linkStyle 19 stroke:#00688b4C,stroke-width:1px
    linkStyle 20 stroke:#00688b4C,stroke-width:1px
    linkStyle 21 stroke:#00688b4C,stroke-width:1px
    linkStyle 22 stroke:#00688b4C,stroke-width:1px
    linkStyle 23 stroke:#00688b4C,stroke-width:1px
    linkStyle 24 stroke:#00688b4C,stroke-width:1px
    linkStyle 25 stroke:#00688b4C,stroke-width:1px
    linkStyle 26 stroke:#00688b4C,stroke-width:1px
    linkStyle 27 stroke:#00688b4C,stroke-width:1px
    linkStyle 28 stroke:#00688b4C,stroke-width:1px
    linkStyle 29 stroke:#00688b4C,stroke-width:1px
    linkStyle 30 stroke:#00688b4C,stroke-width:1px
    linkStyle 31 stroke:#00688b4C,stroke-width:1px
    linkStyle 32 stroke:#00688b4C,stroke-width:1px
    linkStyle 33 stroke:#00688b4C,stroke-width:1px
    linkStyle 34 stroke:#00688b4C,stroke-width:1px
    linkStyle 35 stroke:#00688b4C,stroke-width:1px
    linkStyle 36 stroke:#00688b4C,stroke-width:1px
    linkStyle 37 stroke:#00688b4C,stroke-width:1px
    linkStyle 38 stroke:#00688b4C,stroke-width:1px
    linkStyle 39 stroke:#DC143C4C,stroke-width:1px
    linkStyle 40 stroke:#00688b4C,stroke-width:1px
    linkStyle 41 stroke:#00688b4C,stroke-width:1px
    linkStyle 42 stroke:#00688b4C,stroke-width:1px
    linkStyle 43 stroke:#00688b4C,stroke-width:1px
    linkStyle 44 stroke:#00688b4C,stroke-width:1px
    linkStyle 45 stroke:#00688b4C,stroke-width:1px
    linkStyle 46 stroke:#00688b4C,stroke-width:1px
    linkStyle 47 stroke:#00688b4C,stroke-width:1px
    linkStyle 48 stroke:#00688b4C,stroke-width:1px
    linkStyle 49 stroke:#DC143C4C,stroke-width:1px
    linkStyle 50 stroke:#00688b4C,stroke-width:1px
    linkStyle 51 stroke:#00688b4C,stroke-width:1px
    linkStyle 52 stroke:#DC143C4C,stroke-width:1px
    linkStyle 53 stroke:#00688b4C,stroke-width:1px
    linkStyle 54 stroke:#DC143C4C,stroke-width:1px
    linkStyle 55 stroke:#00688b4C,stroke-width:1px
    linkStyle 56 stroke:#00688b4C,stroke-width:1px
    linkStyle 57 stroke:#00688b4C,stroke-width:1px
    linkStyle 58 stroke:#00688b4C,stroke-width:1px
    linkStyle 59 stroke:#00688b4C,stroke-width:1px
    linkStyle 60 stroke:#00688b4C,stroke-width:1px
    linkStyle 61 stroke:#00688b4C,stroke-width:1px
    linkStyle 62 stroke:#00688b4C,stroke-width:1px
    linkStyle 63 stroke:#00688b4C,stroke-width:1px
    linkStyle 64 stroke:#00688b4C,stroke-width:1px
    linkStyle 65 stroke:#DC143C4C,stroke-width:1px
    linkStyle 66 stroke:#00688b4C,stroke-width:1px
    linkStyle 67 stroke:#00688b4C,stroke-width:1px
    linkStyle 68 stroke:#00688b4C,stroke-width:1px
    linkStyle 69 stroke:#00688b4C,stroke-width:1px




Explore: 2D force graph | 3D force graph

Show more details about dependencies...
From Component
 --> To Component
From Component
(files with dependencies)
Details
mantis-control-plane
  --> mantis-common
126 files, 28805 LOC (71%)
126 source files
mantis-control-plane
  --> mantis-runtime
71 files, 18805 LOC (46%)
71 source files
mantis-control-plane
  --> mantis-common-serde
50 files, 18296 LOC (45%)
50 source files
mantis-runtime
  --> mantis-common
36 files, 4371 LOC (62%)
36 source files
mantis-connectors
  --> mantis-common
30 files, 3208 LOC (69%)
30 source files
mantis-connectors
  --> mantis-runtime
25 files, 2718 LOC (58%)
25 source files
mantis-remote-observable
  --> mantis-common
23 files, 3035 LOC (77%)
23 source files
mantis-runtime-autoscaler-api
  --> mantis-common
16 files, 1709 LOC (60%)
16 source files
mantis-source-jobs
  --> mantis-common
14 files, 785 LOC (75%)
14 source files
mantis-publish
  --> mantis-discovery-proto
13 files, 1086 LOC (28%)
13 source files
mantis-server
  --> mantis-common
13 files, 2117 LOC (76%)
13 source files
mantis-network
  --> mantis-common
13 files, 1834 LOC (68%)
13 source files
mantis-runtime-executor
  --> mantis-common
12 files, 2050 LOC (89%)
12 source files
mantis-runtime-autoscaler-api
  --> mantis-runtime
12 files, 1615 LOC (57%)
12 source files
mantis-source-jobs
  --> mantis-runtime
11 files, 673 LOC (65%)
11 source files
mantis-runtime-autoscaler-api
  --> mantis-control-plane
10 files, 1504 LOC (53%)
10 source files
mantis-examples
  --> mantis-common
9 files, 521 LOC (68%)
9 source files
mantis-runtime
  --> mantis-common-serde
9 files, 1466 LOC (20%)
9 source files
mantis-runtime-executor
  --> mantis-control-plane
9 files, 1790 LOC (78%)
9 source files
mantis-server
  --> mantis-control-plane
9 files, 1557 LOC (56%)
9 source files
mantis-runtime-executor
  --> mantis-runtime
8 files, 1625 LOC (71%)
8 source files
mantis-server
  --> mantis-runtime-loader
8 files, 1013 LOC (36%)
8 source files
mantis-source-jobs
  --> mantis-connectors
7 files, 455 LOC (43%)
7 source files
mantis-runtime-executor
  --> mantis-runtime-loader
7 files, 1231 LOC (53%)
7 source files
mantis-connectors
  --> mantis-client
7 files, 740 LOC (15%)
7 source files
mantis-runtime
  --> mantis-remote-observable
7 files, 1118 LOC (15%)
7 source files
mantis-runtime-loader
  --> mantis-control-plane
7 files, 614 LOC (56%)
7 source files
mantis-examples
  --> mantis-runtime
6 files, 357 LOC (46%)
6 source files
mantis-control-plane
  --> mantis-common-akka
6 files, 7260 LOC (17%)
6 source files
mantis-runtime-autoscaler-api
  --> mantis-rxcontrol
6 files, 874 LOC (31%)
6 source files
mantis-runtime-loader
  --> mantis-common
6 files, 505 LOC (46%)
6 source files
mantis-jm-akka
  --> mantis-runtime-autoscaler-api
6 files, 784 LOC (93%)
6 source files
mantis-jm-akka
  --> mantis-runtime-executor
6 files, 784 LOC (93%)
6 source files
mantis-jm-akka
  --> mantis-common
6 files, 803 LOC (95%)
6 source files
mantis-jm-akka
  --> mantis-runtime
6 files, 803 LOC (95%)
6 source files
mantis-client
  --> mantis-common
5 files, 946 LOC (94%)
5 source files
mantis-client
  --> mantis-control-plane
5 files, 946 LOC (94%)
5 source files
mantis-server
  --> mantis-common-serde
5 files, 1254 LOC (45%)
5 source files
mantis-server
  --> mantis-runtime
4 files, 1041 LOC (37%)
4 source files
mantis-runtime
  --> mantis-control-plane
4 files, 1377 LOC (19%)
4 source files
mantis-runtime-autoscaler-api
  --> mantis-common-serde
4 files, 812 LOC (28%)
4 source files
mantis-runtime-autoscaler-api
  --> mantis-server
4 files, 302 LOC (10%)
4 source files
mantis-client
  --> mantis-remote-observable
3 files, 505 LOC (50%)
3 source files
mantis-client
  --> mantis-runtime
3 files, 588 LOC (58%)
3 source files
mantis-common-akka
  --> mantis-common
3 files, 144 LOC (66%)
3 source files
mantis-source-jobs
  --> mantis-common-serde
3 files, 218 LOC (21%)
3 source files
mantis-server
  --> mantis-remote-observable
3 files, 340 LOC (12%)
3 source files
mantis-connectors
  --> mantis-common-serde
3 files, 477 LOC (10%)
3 source files
mantis-connectors
  --> mantis-publish
3 files, 293 LOC (6%)
3 source files
mantis-remote-observable
  --> mantis-control-plane
3 files, 973 LOC (24%)
3 source files
mantis-client
  --> mantis-common-serde
2 files, 341 LOC (34%)
2 source files
mantis-examples
  --> mantis-common-serde
2 files, 171 LOC (22%)
2 source files
mantis-control-plane
  --> mantis-remote-observable
2 files, 966 LOC (2%)
2 source files
mantis-runtime-executor
  --> mantis-common-serde
2 files, 747 LOC (32%)
2 source files
mantis-runtime-executor
  --> mantis-server
2 files, 747 LOC (32%)
2 source files
mantis-runtime
  --> mantis-network
2 files, 421 LOC (5%)
2 source files
mantis-network
  --> mantis-common-serde
2 files, 353 LOC (13%)
2 source files
mantis-remote-observable
  --> mantis-common-serde
2 files, 843 LOC (21%)
2 source files
mantis-client
  --> mantis-server
1 file, 110 LOC (10%)
1 source file
mantis-common-akka
  --> mantis-common-serde
1 file, 44 LOC (20%)
1 source file
mantis-source-jobs
  --> mantis-publish
1 file, 79 LOC (7%)
1 source file
mantis-runtime-executor
  --> mantis-network
1 file, 567 LOC (24%)
1 source file
mantis-runtime-executor
  --> mantis-remote-observable
1 file, 567 LOC (24%)
1 source file
mantis-publish
  --> mantis-common-serde
1 file, 115 LOC (3%)
1 source file
mantis-publish
  --> mantis-common
1 file, 115 LOC (3%)
1 source file
mantis-server
  --> mantis-runtime-executor
1 file, 565 LOC (20%)
1 source file
mantis-connectors
  --> mantis-control-plane
1 file, 158 LOC (3%)
1 source file
mantis-runtime-autoscaler-api
  --> mantis-network
1 file, 150 LOC (5%)
1 source file
mantis-runtime-loader
  --> mantis-common-serde
1 file, 57 LOC (5%)
1 source file
mantis-jm-akka
  --> mantis-control-plane
1 file, 222 LOC (26%)
1 source file
About This Analysis

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

  • Library and Module Imports
  • Class Dependencies (Inheritance & Composition)
  • Function and Method Calls
  • Dependency Injection Without Runtime Resolution
Learn more...
  • To learn more about good practices on componentization and dependencies, Sokrates recommends the following resources:


2026-10-07 17:34