This commit is contained in:
gsinghpal
2026-04-24 21:04:38 -04:00
parent 0eab4b4efb
commit 41d0908ade
4083 changed files with 1230780 additions and 287 deletions

View File

@@ -0,0 +1,122 @@
# Graph Report - /Users/gurpreet/Github/Odoo-Modules/network_logger (2026-04-22)
## Corpus Check
- 10 files · ~1,872 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 31 nodes · 38 edges · 12 communities detected
- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 1 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]]
## God Nodes (most connected - your core abstractions)
1. `_save_to_database()` - 5 edges
2. `_is_odoo_call()` - 4 edges
3. `_log_request()` - 4 edges
4. `_log_response()` - 4 edges
5. `_wrap_request_method()` - 4 edges
6. `patch_requests_library()` - 4 edges
7. `log_request()` - 3 edges
8. `NetworkLog` - 2 edges
9. `_compute_domain()` - 2 edges
10. `_compute_status_type()` - 2 edges
## Surprising Connections (you probably didn't know these)
- `_save_to_database()` --calls--> `log_request()` [INFERRED]
/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py → /Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py
## Communities
### Community 0 - "Community 0"
Cohesion: 0.31
Nodes (8): _is_odoo_call(), _log_request(), patch_requests_library(), Wrap a requests method to add logging., Monkey-patch the requests library to log all HTTP calls., Check if URL is an Odoo external call., Log details of an HTTP request., _wrap_request_method()
### Community 1 - "Community 1"
Cohesion: 0.43
Nodes (6): clear_all_logs(), clear_old_logs(), _compute_domain(), _compute_status_type(), log_request(), NetworkLog
### Community 2 - "Community 2"
Cohesion: 0.5
Nodes (4): _log_response(), Save log entry to database (async-safe)., Log the response of an HTTP request., _save_to_database()
### Community 3 - "Community 3"
Cohesion: 1.0
Nodes (0):
### Community 4 - "Community 4"
Cohesion: 1.0
Nodes (0):
### Community 5 - "Community 5"
Cohesion: 1.0
Nodes (0):
### Community 6 - "Community 6"
Cohesion: 1.0
Nodes (0):
### Community 7 - "Community 7"
Cohesion: 1.0
Nodes (0):
### Community 8 - "Community 8"
Cohesion: 1.0
Nodes (0):
### Community 9 - "Community 9"
Cohesion: 1.0
Nodes (1): Create a new network log entry.
### Community 10 - "Community 10"
Cohesion: 1.0
Nodes (1): Delete logs older than specified days.
### Community 11 - "Community 11"
Cohesion: 1.0
Nodes (1): Delete all network logs.
## Knowledge Gaps
- **9 isolated node(s):** `Create a new network log entry.`, `Delete logs older than specified days.`, `Delete all network logs.`, `Check if URL is an Odoo external call.`, `Save log entry to database (async-safe).` (+4 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **Thin community `Community 3`** (1 nodes): `__init__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 4`** (1 nodes): `__init__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 5`** (1 nodes): `__init__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 6`** (1 nodes): `__init__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 7`** (1 nodes): `__manifest__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 8`** (1 nodes): `__manifest__.py`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 9`** (1 nodes): `Create a new network log entry.`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 10`** (1 nodes): `Delete logs older than specified days.`
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 11`** (1 nodes): `Delete all network logs.`
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 `_save_to_database()` connect `Community 2` to `Community 0`, `Community 1`?**
_High betweenness centrality (0.267) - this node is a cross-community bridge._
- **Why does `log_request()` connect `Community 1` to `Community 2`?**
_High betweenness centrality (0.226) - this node is a cross-community bridge._
- **What connects `Create a new network log entry.`, `Delete logs older than specified days.`, `Delete all network logs.` to the rest of the system?**
_9 weakly-connected nodes found - possible documentation gaps or missing edges._

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_network_logger_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__init__.py", "source_location": "L2", "weight": 1.0}], "raw_calls": []}

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_models_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_network_logger_models_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_network_logger_models_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/__init__.py", "source_location": "L3", "weight": 1.0}], "raw_calls": []}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_manifest_py", "label": "__manifest__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__manifest__.py", "source_location": "L1"}], "edges": [], "raw_calls": []}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__init__.py", "source_location": "L2", "weight": 1.0}], "raw_calls": []}

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_manifest_py", "label": "__manifest__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__manifest__.py", "source_location": "L1"}], "edges": [], "raw_calls": []}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py", "label": "__init__.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/__init__.py", "source_location": "L1"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py", "target": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/__init__.py", "source_location": "L3", "weight": 1.0}], "raw_calls": []}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,745 @@
{
"directed": false,
"multigraph": false,
"graph": {},
"nodes": [
{
"label": "__init__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__init__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_init_py",
"community": 3,
"norm_label": "__init__.py"
},
{
"label": "__manifest__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__manifest__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_manifest_py",
"community": 7,
"norm_label": "__manifest__.py"
},
{
"label": "__init__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__init__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py",
"community": 4,
"norm_label": "__init__.py"
},
{
"label": "__manifest__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__manifest__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_manifest_py",
"community": 8,
"norm_label": "__manifest__.py"
},
{
"label": "network_log.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"community": 1,
"norm_label": "network_log.py"
},
{
"label": "NetworkLog",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L14",
"id": "network_log_networklog",
"community": 1,
"norm_label": "networklog"
},
{
"label": "_compute_domain()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L62",
"id": "network_log_compute_domain",
"community": 1,
"norm_label": "_compute_domain()"
},
{
"label": "_compute_status_type()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L71",
"id": "network_log_compute_status_type",
"community": 1,
"norm_label": "_compute_status_type()"
},
{
"label": "log_request()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L92",
"id": "network_log_log_request",
"community": 1,
"norm_label": "log_request()"
},
{
"label": "clear_old_logs()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L110",
"id": "network_log_clear_old_logs",
"community": 1,
"norm_label": "clear_old_logs()"
},
{
"label": "clear_all_logs()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L120",
"id": "network_log_clear_all_logs",
"community": 1,
"norm_label": "clear_all_logs()"
},
{
"label": "Create a new network log entry.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L94",
"id": "network_log_rationale_94",
"community": 9,
"norm_label": "create a new network log entry."
},
{
"label": "Delete logs older than specified days.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L111",
"id": "network_log_rationale_111",
"community": 10,
"norm_label": "delete logs older than specified days."
},
{
"label": "Delete all network logs.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L121",
"id": "network_log_rationale_121",
"community": 11,
"norm_label": "delete all network logs."
},
{
"label": "__init__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/__init__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py",
"community": 5,
"norm_label": "__init__.py"
},
{
"label": "network_monitor.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"community": 0,
"norm_label": "network_monitor.py"
},
{
"label": "_is_odoo_call()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L24",
"id": "network_monitor_is_odoo_call",
"community": 0,
"norm_label": "_is_odoo_call()"
},
{
"label": "_save_to_database()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L35",
"id": "network_monitor_save_to_database",
"community": 2,
"norm_label": "_save_to_database()"
},
{
"label": "_log_request()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L72",
"id": "network_monitor_log_request",
"community": 0,
"norm_label": "_log_request()"
},
{
"label": "_log_response()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L97",
"id": "network_monitor_log_response",
"community": 2,
"norm_label": "_log_response()"
},
{
"label": "_wrap_request_method()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L114",
"id": "network_monitor_wrap_request_method",
"community": 0,
"norm_label": "_wrap_request_method()"
},
{
"label": "patch_requests_library()",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L132",
"id": "network_monitor_patch_requests_library",
"community": 0,
"norm_label": "patch_requests_library()"
},
{
"label": "Check if URL is an Odoo external call.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L25",
"id": "network_monitor_rationale_25",
"community": 0,
"norm_label": "check if url is an odoo external call."
},
{
"label": "Save log entry to database (async-safe).",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L36",
"id": "network_monitor_rationale_36",
"community": 2,
"norm_label": "save log entry to database (async-safe)."
},
{
"label": "Log details of an HTTP request.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L73",
"id": "network_monitor_rationale_73",
"community": 0,
"norm_label": "log details of an http request."
},
{
"label": "Log the response of an HTTP request.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L98",
"id": "network_monitor_rationale_98",
"community": 2,
"norm_label": "log the response of an http request."
},
{
"label": "Wrap a requests method to add logging.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L115",
"id": "network_monitor_rationale_115",
"community": 0,
"norm_label": "wrap a requests method to add logging."
},
{
"label": "Monkey-patch the requests library to log all HTTP calls.",
"file_type": "rationale",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L133",
"id": "network_monitor_rationale_133",
"community": 0,
"norm_label": "monkey-patch the requests library to log all http calls."
},
{
"label": "network_log.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"community": 1,
"norm_label": "network_log.py"
},
{
"label": "__init__.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/__init__.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_models_init_py",
"community": 6,
"norm_label": "__init__.py"
},
{
"label": "network_monitor.py",
"file_type": "code",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L1",
"id": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"community": 0,
"norm_label": "network_monitor.py"
}
],
"links": [
{
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/__init__.py",
"source_location": "L2",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_init_py",
"_tgt": "users_gurpreet_github_odoo_modules_network_logger_init_py",
"source": "users_gurpreet_github_odoo_modules_network_logger_init_py",
"target": "users_gurpreet_github_odoo_modules_network_logger_init_py",
"confidence_score": 1.0
},
{
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/__init__.py",
"source_location": "L2",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py",
"_tgt": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py",
"target": "users_gurpreet_github_odoo_modules_network_logger_network_logger_init_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L14",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_networklog",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_networklog",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L62",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_compute_domain",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_compute_domain",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L71",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_compute_status_type",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_compute_status_type",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L92",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_log_request",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_log_request",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L110",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_clear_old_logs",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_clear_old_logs",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_log.py",
"source_location": "L120",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"_tgt": "network_log_clear_all_logs",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_log_py",
"target": "network_log_clear_all_logs",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L14",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_networklog",
"source": "network_log_networklog",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L62",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_compute_domain",
"source": "network_log_compute_domain",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L71",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_compute_status_type",
"source": "network_log_compute_status_type",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L92",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_log_request",
"source": "network_log_log_request",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "calls",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L57",
"weight": 1.0,
"_src": "network_monitor_save_to_database",
"_tgt": "network_log_log_request",
"source": "network_log_log_request",
"target": "network_monitor_save_to_database"
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L110",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_clear_old_logs",
"source": "network_log_clear_old_logs",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_log.py",
"source_location": "L120",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"_tgt": "network_log_clear_all_logs",
"source": "network_log_clear_all_logs",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_log_py",
"confidence_score": 1.0
},
{
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/__init__.py",
"source_location": "L3",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py",
"_tgt": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py",
"target": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_init_py",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L24",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_is_odoo_call",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_is_odoo_call",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L35",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_save_to_database",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_save_to_database",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L72",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_log_request",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_log_request",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L97",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_log_response",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_log_response",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L114",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_wrap_request_method",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_wrap_request_method",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/network_logger/models/network_monitor.py",
"source_location": "L132",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_patch_requests_library",
"source": "users_gurpreet_github_odoo_modules_network_logger_network_logger_models_network_monitor_py",
"target": "network_monitor_patch_requests_library",
"confidence_score": 1.0
},
{
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L81",
"weight": 1.0,
"_src": "network_monitor_log_request",
"_tgt": "network_monitor_is_odoo_call",
"source": "network_monitor_is_odoo_call",
"target": "network_monitor_log_request",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L25",
"weight": 1.0,
"_src": "network_monitor_rationale_25",
"_tgt": "network_monitor_is_odoo_call",
"source": "network_monitor_is_odoo_call",
"target": "network_monitor_rationale_25",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L24",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_is_odoo_call",
"source": "network_monitor_is_odoo_call",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L111",
"weight": 1.0,
"_src": "network_monitor_log_response",
"_tgt": "network_monitor_save_to_database",
"source": "network_monitor_save_to_database",
"target": "network_monitor_log_response",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L36",
"weight": 1.0,
"_src": "network_monitor_rationale_36",
"_tgt": "network_monitor_save_to_database",
"source": "network_monitor_save_to_database",
"target": "network_monitor_rationale_36",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L35",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_save_to_database",
"source": "network_monitor_save_to_database",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L73",
"weight": 1.0,
"_src": "network_monitor_rationale_73",
"_tgt": "network_monitor_log_request",
"source": "network_monitor_log_request",
"target": "network_monitor_rationale_73",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L72",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_log_request",
"source": "network_monitor_log_request",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L98",
"weight": 1.0,
"_src": "network_monitor_rationale_98",
"_tgt": "network_monitor_log_response",
"source": "network_monitor_log_response",
"target": "network_monitor_rationale_98",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L97",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_log_response",
"source": "network_monitor_log_response",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L146",
"weight": 1.0,
"_src": "network_monitor_patch_requests_library",
"_tgt": "network_monitor_wrap_request_method",
"source": "network_monitor_wrap_request_method",
"target": "network_monitor_patch_requests_library",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L115",
"weight": 1.0,
"_src": "network_monitor_rationale_115",
"_tgt": "network_monitor_wrap_request_method",
"source": "network_monitor_wrap_request_method",
"target": "network_monitor_rationale_115",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L114",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_wrap_request_method",
"source": "network_monitor_wrap_request_method",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L133",
"weight": 1.0,
"_src": "network_monitor_rationale_133",
"_tgt": "network_monitor_patch_requests_library",
"source": "network_monitor_patch_requests_library",
"target": "network_monitor_rationale_133",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/network_monitor.py",
"source_location": "L132",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"_tgt": "network_monitor_patch_requests_library",
"source": "network_monitor_patch_requests_library",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_network_monitor_py",
"confidence_score": 1.0
},
{
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "/Users/gurpreet/Github/Odoo-Modules/network_logger/models/__init__.py",
"source_location": "L3",
"weight": 1.0,
"_src": "users_gurpreet_github_odoo_modules_network_logger_models_init_py",
"_tgt": "users_gurpreet_github_odoo_modules_network_logger_models_init_py",
"source": "users_gurpreet_github_odoo_modules_network_logger_models_init_py",
"target": "users_gurpreet_github_odoo_modules_network_logger_models_init_py",
"confidence_score": 1.0
}
],
"hyperedges": []
}