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

android18114 LOC (20%) 169 files
common14289 LOC (16%) 215 files
ios12402 LOC (14%) 162 files
journalist-client11156 LOC (12%) 114 files
tools5710 LOC (6%) 110 files
journalist-vault4687 LOC (5%) 49 files
api4484 LOC (5%) 55 files
covernode3579 LOC (4%) 40 files
admin3314 LOC (3%) 21 files
supply-chain3110 LOC (3%) 2 files
journalist-services1925 LOC (2%) 8 files
group-messaging1303 LOC (1%) 28 files
identity-api973 LOC (1%) 19 files
client794 LOC (<1%) 20 files
tasks343 LOC (<1%) 5 files
u2j-appender309 LOC (<1%) 6 files
ROOT74 LOC (<1%) 3 files
trust-anchors45 LOC (<1%) 1 file
.cargo22 LOC (<1%) 1 file
.devcontainer12 LOC (<1%) 1 file

scope details...
  • 1,029 files, 86,645 LOC (100.0% vs. main code).
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
journalist-client80 commits (32%)
common54 commits (21%)
android44 commits (17%)
journalist-vault34 commits (13%)
admin28 commits (11%)
tools24 commits (9%)
ios22 commits (8%)
supply-chain19 commits (7%)
api18 commits (7%)
covernode16 commits (6%)
client9 commits (3%)
journalist-services6 commits (2%)
ROOT6 commits (2%)
identity-api5 commits (2%)
group-messaging4 commits (1%)
u2j-appender3 commits (1%)
tasks3 commits (1%)
.devcontainer2 commits (<1%)
trust-anchors1 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026 2025
journalist-client
28
52
common
18
36
android
17
27
journalist-vault
12
22
admin
14
14
tools
13
11
ios
9
13
supply-chain
16
3
api
5
13
covernode
10
6
client
7
2
journalist-services
6
ROOT
3
3
identity-api
3
2
group-messaging
4
tasks
1
2
u2j-appender
2
1
.devcontainer
2
trust-anchors
1


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

flowchart TB
    n0["supply-chain"]
    n1["android"]
    n2["covernode"]
    n3["common"]
    n4["journalist-vault"]
    n5["tools"]
    n6["client"]
    n7["ios"]
    n8["journalist-services"]
    n9["admin"]
    n10["api"]
    n11["journalist-client"]
    n0 ---|"9"| n0
    n1 ---|"7"| n1
    n2 ---|"6"| n2
    n3 ---|"6"| n3
    n4 ---|"5"| n3
    n5 ---|"5"| n5
    n3 ---|"5"| n2
    n2 ---|"4"| n6
    n4 ---|"4"| n2
    n5 ---|"4"| n4
    n7 ---|"4"| n1
    n7 ---|"4"| n7
    n3 ---|"4"| n6
    n5 ---|"4"| n3
    n4 ---|"3"| n8
    n8 ---|"3"| n2
    n8 ---|"3"| n3
    n4 ---|"3"| n6
    n3 ---|"3"| n9
    n4 ---|"3"| n4
    n5 ---|"3"| n6
    n5 ---|"3"| n2
    n5 ---|"3"| n8
    n9 ---|"3"| n2
    n8 ---|"2"| n6
    n9 ---|"2"| n4
    n7 ---|"2"| n2
    n7 ---|"2"| n3
    n10 ---|"2"| n10
    n6 ---|"2"| n1
    n3 ---|"2"| n10
    n2 ---|"2"| n1
    n2 ---|"2"| n10
    n8 ---|"2"| n10
    n4 ---|"2"| n10
    n9 ---|"2"| n0
    n9 ---|"2"| n9
    n8 ---|"2"| n8
    n6 ---|"2"| n9
    n11 ---|"2"| n3
    n11 ---|"2"| n4
    n11 ---|"2"| n2
    n11 ---|"2"| n0
    n11 ---|"2"| n6
    n5 ---|"2"| n0
    n5 ---|"2"| n11
    n3 ---|"2"| n1
    n7 ---|"2"| n6
    n6 ---|"1"| n10
    n6 ---|"1"| n6
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a0ED,stroke-width:9px
    linkStyle 1 stroke:#a0a0a0C9,stroke-width:7px
    linkStyle 2 stroke:#a0a0a0B7,stroke-width:6px
    linkStyle 3 stroke:#a0a0a0B7,stroke-width:6px
    linkStyle 4 stroke:#00688bA5,stroke-width:5px
    linkStyle 5 stroke:#a0a0a0A5,stroke-width:5px
    linkStyle 6 stroke:#00688bA5,stroke-width:5px
    linkStyle 7 stroke:#00688b93,stroke-width:4px
    linkStyle 8 stroke:#00688b93,stroke-width:4px
    linkStyle 9 stroke:#00688b93,stroke-width:4px
    linkStyle 10 stroke:#00688b93,stroke-width:4px
    linkStyle 11 stroke:#a0a0a093,stroke-width:4px
    linkStyle 12 stroke:#00688b93,stroke-width:4px
    linkStyle 13 stroke:#00688b93,stroke-width:4px
    linkStyle 14 stroke:#00688b82,stroke-width:3px
    linkStyle 15 stroke:#00688b82,stroke-width:3px
    linkStyle 16 stroke:#00688b82,stroke-width:3px
    linkStyle 17 stroke:#00688b82,stroke-width:3px
    linkStyle 18 stroke:#00688b82,stroke-width:3px
    linkStyle 19 stroke:#a0a0a082,stroke-width:3px
    linkStyle 20 stroke:#00688b82,stroke-width:3px
    linkStyle 21 stroke:#00688b82,stroke-width:3px
    linkStyle 22 stroke:#00688b82,stroke-width:3px
    linkStyle 23 stroke:#00688b82,stroke-width:3px
    linkStyle 24 stroke:#00688b70,stroke-width:2px
    linkStyle 25 stroke:#00688b70,stroke-width:2px
    linkStyle 26 stroke:#00688b70,stroke-width:2px
    linkStyle 27 stroke:#00688b70,stroke-width:2px
    linkStyle 28 stroke:#a0a0a070,stroke-width:2px
    linkStyle 29 stroke:#00688b70,stroke-width:2px
    linkStyle 30 stroke:#00688b70,stroke-width:2px
    linkStyle 31 stroke:#00688b70,stroke-width:2px
    linkStyle 32 stroke:#00688b70,stroke-width:2px
    linkStyle 33 stroke:#00688b70,stroke-width:2px
    linkStyle 34 stroke:#00688b70,stroke-width:2px
    linkStyle 35 stroke:#00688b70,stroke-width:2px
    linkStyle 36 stroke:#a0a0a070,stroke-width:2px
    linkStyle 37 stroke:#a0a0a070,stroke-width:2px
    linkStyle 38 stroke:#00688b70,stroke-width:2px
    linkStyle 39 stroke:#00688b70,stroke-width:2px
    linkStyle 40 stroke:#00688b70,stroke-width:2px
    linkStyle 41 stroke:#00688b70,stroke-width:2px
    linkStyle 42 stroke:#00688b70,stroke-width:2px
    linkStyle 43 stroke:#00688b70,stroke-width:2px
    linkStyle 44 stroke:#00688b70,stroke-width:2px
    linkStyle 45 stroke:#00688b70,stroke-width:2px
    linkStyle 46 stroke:#00688b70,stroke-width:2px
    linkStyle 47 stroke:#00688b70,stroke-width:2px
    linkStyle 48 stroke:#00688b5E,stroke-width:1px
    linkStyle 49 stroke:#a0a0a05E,stroke-width:1px

About This Analysis

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.


2026-10-07 12:09