{"nodes": [{"id": "home_asterix_desktop_app_main_updater_app_http_middleware_xssprotection_php", "label": "XSSProtection.php", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L1"}, {"id": "middleware_xssprotection_xssprotection", "label": "XSSProtection", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L9"}, {"id": "middleware_xssprotection_xssprotection_handle", "label": ".handle()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L27"}, {"id": "middleware_xssprotection_xssprotection_sanitizearray", "label": ".sanitizeArray()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L52"}, {"id": "middleware_xssprotection_xssprotection_sanitizestring", "label": ".sanitizeString()", "file_type": "code", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L69"}], "edges": [{"source": "home_asterix_desktop_app_main_updater_app_http_middleware_xssprotection_php", "target": "closure", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L5", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_http_middleware_xssprotection_php", "target": "request", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L6", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_http_middleware_xssprotection_php", "target": "response", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L7", "weight": 1.0}, {"source": "home_asterix_desktop_app_main_updater_app_http_middleware_xssprotection_php", "target": "middleware_xssprotection_xssprotection", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L9", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection", "target": "middleware_xssprotection_xssprotection_handle", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L27", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection", "target": "middleware_xssprotection_xssprotection_sanitizearray", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L52", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection", "target": "middleware_xssprotection_xssprotection_sanitizestring", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L69", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection_handle", "target": "middleware_xssprotection_xssprotection_sanitizearray", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L37", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection_handle", "target": "middleware_xssprotection_xssprotection_sanitizestring", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L43", "weight": 1.0}, {"source": "middleware_xssprotection_xssprotection_sanitizearray", "target": "middleware_xssprotection_xssprotection_sanitizestring", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L62", "weight": 1.0}], "raw_calls": [{"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "all", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L29"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "in_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L32"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "is_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L32"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "is_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L36"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "is_string", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L42"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "merge", "is_member_call": true, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L47"}, {"caller_nid": "middleware_xssprotection_xssprotection_handle", "callee": "$next", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L49"}, {"caller_nid": "middleware_xssprotection_xssprotection_sanitizearray", "callee": "is_array", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L55"}, {"caller_nid": "middleware_xssprotection_xssprotection_sanitizearray", "callee": "is_string", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L61"}, {"caller_nid": "middleware_xssprotection_xssprotection_sanitizestring", "callee": "strip_tags", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L71"}, {"caller_nid": "middleware_xssprotection_xssprotection_sanitizestring", "callee": "str_replace", "is_member_call": false, "source_file": "/home/asterix/Desktop/App Main-Updater/app/Http/Middleware/XSSProtection.php", "source_location": "L72"}]}