140 lines
5.4 KiB
Markdown
140 lines
5.4 KiB
Markdown
# Graph Report - /Users/gurpreet/Github/Odoo-Modules/fusion_ltc_management (2026-04-22)
|
|
|
|
## Corpus Check
|
|
- 16 files · ~6,414 words
|
|
- Verdict: corpus is large enough that graph structure adds value.
|
|
|
|
## Summary
|
|
- 79 nodes · 88 edges · 16 communities detected
|
|
- Extraction: 94% EXTRACTED · 6% INFERRED · 0% AMBIGUOUS · INFERRED: 5 edges (avg confidence: 0.8)
|
|
- Token cost: 0 input · 0 output
|
|
|
|
## Community Hubs (Navigation)
|
|
- [[_COMMUNITY_Community 0|Community 0]]
|
|
- [[_COMMUNITY_Community 1|Community 1]]
|
|
- [[_COMMUNITY_Community 2|Community 2]]
|
|
- [[_COMMUNITY_Community 3|Community 3]]
|
|
- [[_COMMUNITY_Community 4|Community 4]]
|
|
- [[_COMMUNITY_Community 5|Community 5]]
|
|
- [[_COMMUNITY_Community 6|Community 6]]
|
|
- [[_COMMUNITY_Community 7|Community 7]]
|
|
- [[_COMMUNITY_Community 8|Community 8]]
|
|
- [[_COMMUNITY_Community 9|Community 9]]
|
|
- [[_COMMUNITY_Community 10|Community 10]]
|
|
- [[_COMMUNITY_Community 11|Community 11]]
|
|
- [[_COMMUNITY_Community 12|Community 12]]
|
|
- [[_COMMUNITY_Community 13|Community 13]]
|
|
- [[_COMMUNITY_Community 14|Community 14]]
|
|
- [[_COMMUNITY_Community 15|Community 15]]
|
|
|
|
## God Nodes (most connected - your core abstractions)
|
|
1. `FusionLTCCleanup` - 8 edges
|
|
2. `FusionLTCFacility` - 7 edges
|
|
3. `FusionLTCRepair` - 7 edges
|
|
4. `create()` - 6 edges
|
|
5. `setupFacilityAutocomplete()` - 5 edges
|
|
6. `create()` - 4 edges
|
|
7. `LTCRepairPortal` - 4 edges
|
|
8. `repair_form_submit()` - 4 edges
|
|
9. `_attachFacilityAddressAutocomplete()` - 3 edges
|
|
10. `LTCRepairCreateSOWizard` - 2 edges
|
|
|
|
## Surprising Connections (you probably didn't know these)
|
|
- `repair_form_submit()` --calls--> `create()` [INFERRED]
|
|
/Users/gurpreet/Github/Odoo-Modules/fusion_ltc_management/controllers/portal_repair.py → /Users/gurpreet/Github/Odoo-Modules/fusion_ltc_management/models/ltc_repair.py
|
|
|
|
## Communities
|
|
|
|
### Community 0 - "Community 0"
|
|
Cohesion: 0.14
|
|
Nodes (3): LTCRepairCreateSOWizard, FusionLTCRepair, FusionLTCRepairStage
|
|
|
|
### Community 1 - "Community 1"
|
|
Cohesion: 0.17
|
|
Nodes (5): _compute_next_cleanup_date(), FusionLTCFacility, FusionLTCFamilyContact, FusionLTCFloor, FusionLTCStation
|
|
|
|
### Community 2 - "Community 2"
|
|
Cohesion: 0.25
|
|
Nodes (3): create(), _cron_schedule_cleanups(), FusionLTCCleanup
|
|
|
|
### Community 3 - "Community 3"
|
|
Cohesion: 0.36
|
|
Nodes (6): _attachFacilityAddressAutocomplete(), _attachFacilityNameAutocomplete(), getGoogleMapsApiKey(), loadGoogleMapsApi(), _reattachFacilityAutocomplete(), setupFacilityAutocomplete()
|
|
|
|
### Community 4 - "Community 4"
|
|
Cohesion: 0.36
|
|
Nodes (4): create(), LTCRepairPortal, repair_form(), repair_form_submit()
|
|
|
|
### Community 5 - "Community 5"
|
|
Cohesion: 0.5
|
|
Nodes (1): FusionLTCFormSubmission
|
|
|
|
### Community 6 - "Community 6"
|
|
Cohesion: 0.5
|
|
Nodes (1): FusionTechnicianTaskLTC
|
|
|
|
### Community 7 - "Community 7"
|
|
Cohesion: 0.67
|
|
Nodes (1): SaleOrder
|
|
|
|
### Community 8 - "Community 8"
|
|
Cohesion: 0.67
|
|
Nodes (1): ResConfigSettings
|
|
|
|
### Community 9 - "Community 9"
|
|
Cohesion: 1.0
|
|
Nodes (1): ResPartner
|
|
|
|
### Community 10 - "Community 10"
|
|
Cohesion: 1.0
|
|
Nodes (0):
|
|
|
|
### Community 11 - "Community 11"
|
|
Cohesion: 1.0
|
|
Nodes (0):
|
|
|
|
### Community 12 - "Community 12"
|
|
Cohesion: 1.0
|
|
Nodes (0):
|
|
|
|
### Community 13 - "Community 13"
|
|
Cohesion: 1.0
|
|
Nodes (0):
|
|
|
|
### Community 14 - "Community 14"
|
|
Cohesion: 1.0
|
|
Nodes (0):
|
|
|
|
### Community 15 - "Community 15"
|
|
Cohesion: 1.0
|
|
Nodes (1): Auto-fill address from the LTC facility.
|
|
|
|
## Knowledge Gaps
|
|
- **8 isolated node(s):** `SaleOrder`, `FusionLTCFloor`, `FusionLTCStation`, `FusionLTCFamilyContact`, `FusionTechnicianTaskLTC` (+3 more)
|
|
These have ≤1 connection - possible missing edges or undocumented components.
|
|
- **Thin community `Community 9`** (2 nodes): `ResPartner`, `res_partner.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 10`** (1 nodes): `__init__.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 11`** (1 nodes): `__init__.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 12`** (1 nodes): `__init__.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 13`** (1 nodes): `__init__.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 14`** (1 nodes): `__manifest__.py`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
- **Thin community `Community 15`** (1 nodes): `Auto-fill address from the LTC facility.`
|
|
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
|
|
|
## Suggested Questions
|
|
_Questions this graph is uniquely positioned to answer:_
|
|
|
|
- **Why does `create()` connect `Community 4` to `Community 0`?**
|
|
_High betweenness centrality (0.048) - this node is a cross-community bridge._
|
|
- **Are the 3 inferred relationships involving `create()` (e.g. with `.action_confirm()` and `._process_photos()`) actually correct?**
|
|
_`create()` has 3 INFERRED edges - model-reasoned connections that need verification._
|
|
- **What connects `SaleOrder`, `FusionLTCFloor`, `FusionLTCStation` to the rest of the system?**
|
|
_8 weakly-connected nodes found - possible documentation gaps or missing edges._
|
|
- **Should `Community 0` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.14 - nodes in this community are weakly interconnected._ |