Files
mailgoserver/graphify-out/cache/ast/v0.9.37/1e48c5c6251da225f5aa5ce997e8b901d480714d8a551158ca780a5c3f2f2918.json
T

1 line
23 KiB
JSON

{"nodes": [{"id": "$graphify-root$_internal_webui_login_test_go", "label": "login_test.go", "file_type": "code", "source_file": "internal/webui/login_test.go", "source_location": "L1"}, {"id": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "label": "TestLoginSuccessWithoutMFA()", "file_type": "code", "source_file": "internal/webui/login_test.go", "source_location": "L15"}, {"id": "t", "label": "T", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/webui/login_test.go"}, {"id": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "label": "TestLoginWrongPasswordRejected()", "file_type": "code", "source_file": "internal/webui/login_test.go", "source_location": "L56"}, {"id": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "label": "TestLoginRequiresTOTPWhenEnabled()", "file_type": "code", "source_file": "internal/webui/login_test.go", "source_location": "L81"}], "edges": [{"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_net_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_net_http_httptest", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_net_url", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_testing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_github_com_pquerna_otp_totp", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "go_pkg_mailgoserver_internal_db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "target": "t", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L15", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L56", "weight": 1.0}, {"source": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "target": "t", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L56", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_webui_login_test_go", "target": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L81", "weight": 1.0}, {"source": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "target": "t", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/webui/login_test.go", "source_location": "L81", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "newTestApp", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L16"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Mux", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L17"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "HashPassword", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L19"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L21"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "CreateAdminUser", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L23"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L24"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L28"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L28"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Encode", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L28"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L30"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L31"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L34"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Cookies", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L37"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Result", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L37"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L43"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L47"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "AddCookie", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L48"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L49"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L50"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginsuccesswithoutmfa", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L52"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "newTestApp", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L57"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Mux", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L58"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "HashPassword", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L60"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "CreateAdminUser", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L61"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L62"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L66"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L66"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Encode", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L66"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L68"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L72"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Cookies", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L74"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Result", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L74"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginwrongpasswordrejected", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L76"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "newTestApp", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L82"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Mux", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L83"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "HashPassword", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L85"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "CreateAdminUser", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L86"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L88"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "SetAdminTOTPSecret", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L91"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L92"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Encode", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L99"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Get", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L101"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Header", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L101"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L102"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Get", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L102"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Header", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L102"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Cookies", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L105"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Result", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L105"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L111"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "GenerateCode", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L115"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L115"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L117"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L124"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L124"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Encode", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L124"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "AddCookie", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L126"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L127"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L128"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Cookies", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L129"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Result", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L129"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L131"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L137"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L137"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Encode", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L137"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "AddCookie", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L139"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L140"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L141"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L143"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Cookies", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L146"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Result", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L146"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatal", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L152"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRequest", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L155"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "AddCookie", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L156"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "NewRecorder", "is_member_call": false, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L157"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "ServeHTTP", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L158"}, {"caller_nid": "$graphify-root$_internal_webui_login_test_testloginrequirestotpwhenenabled", "callee": "Fatalf", "is_member_call": true, "language": "go", "source_file": "internal/webui/login_test.go", "source_location": "L160"}]}