- Generate AST-based knowledge graph with 404 nodes and 933 edges - 27 communities showing code structure and relationships - Interactive HTML visualization for exploring code architecture - Report documenting main functional clusters Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "label": "merge_aw_server_dbs.py", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L1"}, {"id": "merge_aw_server_dbs_connect", "label": "connect()", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L10"}, {"id": "merge_aw_server_dbs_bucket_key", "label": "bucket_key()", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L17"}, {"id": "merge_aw_server_dbs_ensure_parent", "label": "ensure_parent()", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L26"}, {"id": "merge_aw_server_dbs_load_existing_events", "label": "load_existing_events()", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L30"}, {"id": "merge_aw_server_dbs_main", "label": "main()", "file_type": "code", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L38"}], "edges": [{"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "argparse", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L2", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L3", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L4", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "shutil", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L5", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "sqlite3", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L6", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L7", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "merge_aw_server_dbs_connect", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L10", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "merge_aw_server_dbs_bucket_key", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L17", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "merge_aw_server_dbs_ensure_parent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L26", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "merge_aw_server_dbs_load_existing_events", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L30", "weight": 1.0}, {"source": "mnt_usb_hdd2_projects_activitywatch_russian_scripts_merge_aw_server_dbs_py", "target": "merge_aw_server_dbs_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L38", "weight": 1.0}, {"source": "merge_aw_server_dbs_main", "target": "merge_aw_server_dbs_ensure_parent", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L52", "weight": 1.0}, {"source": "merge_aw_server_dbs_main", "target": "merge_aw_server_dbs_connect", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L58", "weight": 1.0}, {"source": "merge_aw_server_dbs_main", "target": "merge_aw_server_dbs_bucket_key", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L73", "weight": 1.0}, {"source": "merge_aw_server_dbs_main", "target": "merge_aw_server_dbs_load_existing_events", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L102", "weight": 1.0}], "raw_calls": [{"caller_nid": "merge_aw_server_dbs_connect", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L11"}, {"caller_nid": "merge_aw_server_dbs_connect", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L12"}, {"caller_nid": "merge_aw_server_dbs_connect", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L13"}, {"caller_nid": "merge_aw_server_dbs_bucket_key", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L19"}, {"caller_nid": "merge_aw_server_dbs_bucket_key", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L20"}, {"caller_nid": "merge_aw_server_dbs_bucket_key", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L21"}, {"caller_nid": "merge_aw_server_dbs_bucket_key", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L22"}, {"caller_nid": "merge_aw_server_dbs_ensure_parent", "callee": "mkdir", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L27"}, {"caller_nid": "merge_aw_server_dbs_load_existing_events", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L31"}, {"caller_nid": "merge_aw_server_dbs_load_existing_events", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L35"}, {"caller_nid": "merge_aw_server_dbs_load_existing_events", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L35"}, {"caller_nid": "merge_aw_server_dbs_load_existing_events", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L35"}, {"caller_nid": "merge_aw_server_dbs_load_existing_events", "callee": "fetchall", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L35"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "ArgumentParser", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L39"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "add_argument", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L40"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "add_argument", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L41"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "add_argument", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L42"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "parse_args", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L43"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "Path", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L45"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "Path", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L46"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "Path", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L47"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "exists", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L49"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "SystemExit", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L50"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "with_suffix", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L53"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "exists", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L54"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "unlink", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L55"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "copy2", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L56"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "exists", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L64"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "fetchall", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L68"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L68"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "fetchall", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L74"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L74"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "get", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L81"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L83"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L98"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "fetchall", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L103"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L103"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L107"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L107"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L107"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "execute", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L110"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L112"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "int", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L112"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L112"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "add", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L114"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "commit", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L117"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "close", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L119"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "close", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L121"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "replace", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L122"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "print", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L123"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "dumps", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L124"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L126"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L127"}, {"caller_nid": "merge_aw_server_dbs_main", "callee": "str", "source_file": "/mnt/usb_hdd2/Projects/ActivityWatch-Russian/scripts/merge_aw_server_dbs.py", "source_location": "L128"}]} |