Address actors via ID, send messages over transport (TCP, QUIC, etc) Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
169 lines
No EOL
2.6 KiB
JSON
169 lines
No EOL
2.6 KiB
JSON
{
|
|
"graph": {
|
|
"n_nodes": 39,
|
|
"n_edges": 97,
|
|
"n_modules": 9,
|
|
"connected_components": 2,
|
|
"modules": [
|
|
"actor",
|
|
"worker",
|
|
"channel",
|
|
"error",
|
|
"config",
|
|
"delivery",
|
|
"stats",
|
|
"runtime",
|
|
"transport"
|
|
]
|
|
},
|
|
"structural": {
|
|
"avg_degree": 2.4871794871794872,
|
|
"max_fan_in": {
|
|
"count": 16,
|
|
"node": "ActorAddress"
|
|
},
|
|
"max_fan_out": {
|
|
"count": 18,
|
|
"node": "Runtime"
|
|
},
|
|
"dag_depth": 7,
|
|
"clustering_coefficient": 0.26676384839650147,
|
|
"avg_module_size": 4.333333333333333
|
|
},
|
|
"module_coupling": {
|
|
"module_names": [
|
|
"actor",
|
|
"worker",
|
|
"channel",
|
|
"error",
|
|
"config",
|
|
"delivery",
|
|
"stats",
|
|
"runtime",
|
|
"transport"
|
|
],
|
|
"coupling_matrix": [
|
|
[
|
|
9.0,
|
|
0.0,
|
|
0.0,
|
|
2.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
9.0,
|
|
2.0,
|
|
1.0,
|
|
1.0,
|
|
0.0,
|
|
5.0,
|
|
3.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
3.0,
|
|
0.0,
|
|
0.0,
|
|
1.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
1.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
5.0,
|
|
0.0,
|
|
1.0,
|
|
2.0,
|
|
1.0,
|
|
7.0,
|
|
0.0,
|
|
0.0,
|
|
2.0
|
|
],
|
|
[
|
|
2.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
5.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
4.0,
|
|
1.0,
|
|
2.0,
|
|
1.0,
|
|
1.0,
|
|
5.0,
|
|
2.0,
|
|
3.0,
|
|
2.0
|
|
],
|
|
[
|
|
3.0,
|
|
0.0,
|
|
2.0,
|
|
4.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
5.0
|
|
]
|
|
],
|
|
"cross_module_edges": 62,
|
|
"total_edges": 97
|
|
},
|
|
"module_cohesion": {
|
|
"actor": 0.21428571428571427,
|
|
"worker": 0.16666666666666666,
|
|
"channel": 0.5,
|
|
"error": null,
|
|
"config": 0.5,
|
|
"delivery": 0.16666666666666666,
|
|
"stats": 0.25,
|
|
"runtime": 0.5,
|
|
"transport": 0.11904761904761904
|
|
},
|
|
"metrics": {
|
|
"algebraic_connectivity": 0.0,
|
|
"spectral_entropy": 4.728701071955628,
|
|
"edge_density": 0.06545209176788123,
|
|
"cross_module_ratio": 0.6391752577319587,
|
|
"spectral_radius": 7.96362061601628,
|
|
"avg_module_cohesion": 0.3020833333333333,
|
|
"cci": 0.39601706111504315
|
|
}
|
|
} |