{ "graph": { "n_nodes": 12, "n_edges": 13, "n_modules": 4, "connected_components": 3, "modules": [ "protocol", "trace", "report", "sim" ] }, "structural": { "avg_degree": 1.0833333333333333, "max_fan_in": { "count": 2, "node": "GossipState" }, "max_fan_out": { "count": 4, "node": "GossipActor" }, "dag_depth": 5, "clustering_coefficient": 0.13636363636363635, "avg_module_size": 3.0 }, "module_coupling": { "module_names": [ "protocol", "trace", "report", "sim" ], "coupling_matrix": [ [ 4.0, 2.0, 0.0, 0.0 ], [ 1.0, 5.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0, 1.0 ] ], "cross_module_edges": 3, "total_edges": 13 }, "module_cohesion": { "protocol": 0.2, "trace": 0.25, "report": null, "sim": 0.5 }, "metrics": { "algebraic_connectivity": 0.0, "spectral_entropy": 2.9642609519436975, "edge_density": 0.09848484848484848, "cross_module_ratio": 0.23076923076923078, "spectral_radius": 2.8045993435494494, "avg_module_cohesion": 0.31666666666666665, "cci": 0.3329511639209368 } }