Commits
100
Nodes
30
dir edges
23
co_change edges
39
Hub shadows
5
Universal hubs
3
Cross-layer hub correlation
directory_coupling ↔ co_change
r = 0.4708
moderate positive hub persistence — some items carry their importance across layers
LAW CONFIRMED
Hub shadows (5)
Files with a large gap between directory rank (declared) and co-change rank (behavioral).
src/encoding/json/v2/fields.go
3 commits
dir rank
#18
→
co_change rank
#1
gap
17
src/net/http/fs_test.go
2 commits
dir rank
#11
→
co_change rank
#27
gap
16
src/net/http/serve_test.go
2 commits
dir rank
#12
→
co_change rank
#28
gap
16
src/encoding/json/v2/arshal_default.go
3 commits
dir rank
#19
→
co_change rank
#5
gap
14
src/compress/flate/deflate.go
2 commits
dir rank
#29
→
co_change rank
#15
gap
14
Universal hubs (3)
High in both layers — architectural backbone.
token.go
src/encoding/json/jsontext/token.go
decode.go
src/encoding/json/jsontext/decode.go
encode.go
src/encoding/json/jsontext/encode.go
Hub ranking (30 nodes)
| # | File | hub score | commits | archetype |
|---|---|---|---|---|
| 1 | token.go | 0.2759 | 5 | universal_hub |
| 2 | encode.go | 0.2759 | 3 | universal_hub |
| 3 | decode.go | 0.2759 | 2 | universal_hub |
| 4 | state.go | 0.2759 | 2 | |
| 5 | handshake_client_test.go | 0.2414 | 4 | |
| 6 | fields.go | 0.2414 | 3 | hub_shadow |
| 7 | runtime_fast32.go | 0.2069 | 3 | |
| 8 | arshal_default.go | 0.2069 | 3 | hub_shadow |
| 9 | runtime.go | 0.2069 | 2 | |
| 10 | runtime_fast64.go | 0.2069 | 2 | |
| 11 | runtime_faststr.go | 0.2069 | 2 | |
| 12 | server.go | 0.2069 | 2 | |
| 13 | transport.go | 0.2069 | 2 | |
| 14 | handshake_test.go | 0.1379 | 3 | |
| 15 | handshake_server_test.go | 0.1379 | 3 | |
| 16 | fs_test.go | 0.1379 | 2 | hub_shadow |
| 17 | serve_test.go | 0.1379 | 2 | hub_shadow |
| 18 | reader.go | 0.1034 | 3 | |
| 19 | deflate.go | 0.1034 | 2 | hub_shadow |
| 20 | flags.go | 0.0690 | 3 | |
| 21 | suffixarray.go | 0.0690 | 3 | |
| 22 | suffixarray_test.go | 0.0690 | 3 | |
| 23 | func.go | 0.0690 | 2 | |
| 24 | macho.go | 0.0690 | 2 | |
| 25 | intrinsics.go | 0.0345 | 3 | |
| 26 | genmeth2.go | 0.0345 | 3 | |
| 27 | opGen.go | 0.0345 | 3 | |
| 28 | exp.go | 0.0345 | 2 | |
| 29 | buildtag_test.go | 0.0000 | 3 | |
| 30 | goroutineleakprofile_test.go | 0.0000 | 2 |