Lab 1 — Dependency & Metric Analysis¶
Goal¶
Build a structural model of a real codebase and use it to test a design hypothesis.
Tasks¶
- Parse classes/modules and dependencies.
- Construct a directed graph.
- Compute at least: in-degree, out-degree, cycles/SCCs, and one cohesion/coupling metric.
- Visualize or export the top structural anomalies.
- Manually inspect five cases.
- Write a one-page interpretation explaining where the metrics are misleading.
Deliverables¶
- analysis script/tool configuration;
- machine-readable results;
- short report with five inspected examples;
- exact repository commit analyzed.