745 lines
30 KiB
JSON
745 lines
30 KiB
JSON
{
|
|
"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": []
|
|
} |