1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_pipeline_stage_spf_go", "label": "stage_spf.go", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L1"}, {"id": "pipeline_spfstage", "label": "SPFStage", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L12"}, {"id": "pipeline_spfstage_name", "label": ".Name()", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L14"}, {"id": "pipeline_spfstage_run", "label": ".Run()", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L16"}, {"id": "context", "label": "Context", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/pipeline/stage_spf.go"}, {"id": "mailcontext", "label": "MailContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/pipeline/stage_spf.go"}, {"id": "stageresult", "label": "StageResult", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/pipeline/stage_spf.go"}, {"id": "pipeline_spfoutcome", "label": "spfOutcome", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L31"}, {"id": "checkresult", "label": "CheckResult", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/pipeline/stage_spf.go"}, {"id": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "label": "checkSPF()", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L36"}, {"id": "ip", "label": "IP", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/pipeline/stage_spf.go"}, {"id": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "label": "evaluateSPF()", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L73"}, {"id": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "label": "matchCIDR()", "file_type": "code", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L153"}], "edges": [{"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "go_pkg_context", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "go_pkg_net", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "go_pkg_gomail_internal_db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "pipeline_spfstage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L12", "weight": 1.0}, {"source": "pipeline_spfstage", "target": "pipeline_spfstage_name", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L14", "weight": 1.0}, {"source": "pipeline_spfstage", "target": "pipeline_spfstage_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L16", "weight": 1.0}, {"source": "pipeline_spfstage_run", "target": "context", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L16", "weight": 1.0, "context": "parameter_type"}, {"source": "pipeline_spfstage_run", "target": "mailcontext", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L16", "weight": 1.0, "context": "parameter_type"}, {"source": "pipeline_spfstage_run", "target": "stageresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L16", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "pipeline_spfoutcome", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L31", "weight": 1.0}, {"source": "pipeline_spfoutcome", "target": "checkresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L32", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L36", "weight": 1.0}, {"source": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "target": "context", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L36", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L36", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "target": "pipeline_spfoutcome", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L36", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L73", "weight": 1.0}, {"source": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "target": "context", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L73", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L73", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_pipeline_stage_spf_go", "target": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L153", "weight": 1.0}, {"source": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L153", "weight": 1.0, "context": "parameter_type"}, {"source": "pipeline_spfstage_run", "target": "pipeline_spfstage_name", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L18", "weight": 1.0}, {"source": "pipeline_spfstage_run", "target": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "target": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L54", "weight": 1.0}, {"source": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "target": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L89", "weight": 1.0}], "raw_calls": [{"caller_nid": "pipeline_spfstage_run", "callee": "MailFromDomain", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L21"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "LookupTXT", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L38"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L40"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L45"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L45"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L51"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L56"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L60"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L61"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L62"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L63"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_checkspf", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L65"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "Fields", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L79"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L80"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L87"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L87"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "Index", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L88"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L93"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "LookupTXT", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L95"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "evaluateSPF", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L99"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L107"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L107"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L109"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "LookupHost", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L112"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "Equal", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L115"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "ParseIP", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L115"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L121"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L123"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "LookupMX", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L126"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "LookupHost", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L129"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "Equal", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L131"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "ParseIP", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L131"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L138"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "LookupTXT", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L140"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L143"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L143"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_evaluatespf", "callee": "evaluateSPF", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L144"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L154"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "callee": "Equal", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L155"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "callee": "ParseIP", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L155"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "callee": "ParseCIDR", "is_member_call": false, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L157"}, {"caller_nid": "$graphify-root$_internal_pipeline_stage_spf_matchcidr", "callee": "Contains", "is_member_call": true, "language": "go", "source_file": "internal/pipeline/stage_spf.go", "source_location": "L161"}]} |