{"nodes": [{"id": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "label": "FuzzyMatchService.php", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L1"}, {"id": "services_fuzzymatchservice_fuzzymatchservice", "label": "FuzzyMatchService", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L10"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "label": ".findSimilarCompany()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L18"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "label": ".findSimilarPerson()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L26"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_findexactkrapin", "label": ".findExactKraPin()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L37"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_findexactidnumber", "label": ".findExactIdNumber()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L44"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "label": ".detectCompanyDuplicates()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L51"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "label": ".detectPersonDuplicates()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L105"}, {"id": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "label": ".createDuplicateFlag()", "file_type": "code", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L162"}], "edges": [{"source": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "target": "company", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "target": "duplicateflag", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "target": "person", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "target": "db", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_isaacmini_projects_petrus_crm_backend_app_services_fuzzymatchservice_php", "target": "services_fuzzymatchservice_fuzzymatchservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L10", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L18", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L26", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_findexactkrapin", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L37", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_findexactidnumber", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L44", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L51", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L105", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice", "target": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L162", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "target": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L68", "weight": 1.0}, {"source": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "target": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L122", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "callee": "first", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L20"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "callee": "orderByRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L20"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "callee": "whereRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L20"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarcompany", "callee": "Company", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L20"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "callee": "first", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L28"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "callee": "orderByRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L28"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "callee": "whereRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L28"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findsimilarperson", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L28"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactkrapin", "callee": "first", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L39"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactkrapin", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L39"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactkrapin", "callee": "$modelClass", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L39"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactidnumber", "callee": "first", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L46"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactidnumber", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L46"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_findexactidnumber", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L46"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "pluck", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "havingRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "groupBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "whereNotNull", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "select", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "Company", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L56"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L65"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "orderBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L65"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "Company", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L65"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L66"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L67"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "Company", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L81"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "slice", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L83"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectcompanyduplicates", "callee": "DB", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L84"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "pluck", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "havingRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "groupBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "whereNotNull", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "select", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L110"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L119"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "orderBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L119"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L119"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L120"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L121"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "pluck", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "havingRaw", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "groupBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "where", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "whereNotNull", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "select", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L135"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "get", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L144"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "orderBy", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L144"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "Person", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L144"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L145"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_detectpersonduplicates", "callee": "count", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L146"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "callee": "DuplicateFlag", "is_member_call": false, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L169"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "callee": "getMorphClass", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L171"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "callee": "getKey", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L172"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "callee": "getMorphClass", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L173"}, {"caller_nid": "services_fuzzymatchservice_fuzzymatchservice_createduplicateflag", "callee": "getKey", "is_member_call": true, "source_file": "/Users/isaacmini/Projects/petrus-crm/backend/app/Services/FuzzyMatchService.php", "source_location": "L174"}]}