Files
clinicpro/graphify-out/cache/ast/v0.8.44/4a87afc5aa0454c1a7dc2dedd83ca18fd275ab53f2cff86be66ef19b6b6dc6df.json
hamed 17ce271b2c Add AST cache files for DurationCalculator, ResolvedServiceSpec, and ServiceItemCatalogCategoryTest
- Created JSON representation for DurationCalculator.php, including nodes and edges for methods and imports.
- Added JSON for ResolvedServiceSpec.php, detailing its structure and methods.
- Introduced JSON for ServiceItemCatalogCategoryTest.php, capturing test methods and their relationships.
2026-08-03 09:37:54 +03:30

1 line
18 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "label": "ResourceTestCase.php", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L1"}, {"id": "resource_resourcetestcase_resourcetestcase", "label": "ResourceTestCase", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L17"}, {"id": "apitestcase", "label": "ApiTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "label": ".clinicWithAddress()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L20"}, {"id": "resource_resourcetestcase_resourcetestcase_extraaddress", "label": ".extraAddress()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37"}, {"id": "clinic", "label": "Clinic", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37"}, {"id": "doctoraddress", "label": "DoctorAddress", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37"}, {"id": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "label": ".doctorWithAddress()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L48"}, {"id": "resource_resourcetestcase_resourcetestcase_resourcetype", "label": ".resourceType()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L64"}, {"id": "resourcetype", "label": "ResourceType", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L64"}, {"id": "resource_resourcetestcase_resourcetestcase_staff", "label": ".staff()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L73"}, {"id": "clinicstaff", "label": "ClinicStaff", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L73"}, {"id": "resource_resourcetestcase_resourcetestcase_createresource", "label": ".createResource()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83"}, {"id": "resource_resourcetestcase_resourcetestcase_createskill", "label": ".createSkill()", "file_type": "code", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L92"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "clinic", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "doctoraddress", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "resourcetype", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "clinicstaff", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "apitestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcetestcase_php", "target": "resource_resourcetestcase_resourcetestcase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L17", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "apitestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L17", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L20", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_extraaddress", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_extraaddress", "target": "clinic", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_extraaddress", "target": "doctoraddress", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L37", "weight": 1.0, "context": "return_type"}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L48", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_resourcetype", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L64", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_resourcetype", "target": "doctoraddress", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L64", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_resourcetype", "target": "resourcetype", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L64", "weight": 1.0, "context": "return_type"}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_staff", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L73", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_staff", "target": "doctoraddress", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L73", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_staff", "target": "clinicstaff", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L73", "weight": 1.0, "context": "return_type"}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_createresource", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_createresource", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_createresource", "target": "doctoraddress", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_createresource", "target": "resourcetype", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L83", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase", "target": "resource_resourcetestcase_resourcetestcase_createskill", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L92", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_createskill", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L92", "weight": 1.0, "context": "parameter_type"}, {"source": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "target": "doctoraddress", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L28", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_extraaddress", "target": "doctoraddress", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L39", "weight": 1.0}, {"source": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "target": "doctoraddress", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceTestCase.php", "source_location": "L56", "weight": 1.0}], "raw_calls": [{"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L22", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "setName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L24", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L25", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L26", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L28", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "setName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L29", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L30", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_clinicwithaddress", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L31", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_extraaddress", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L39", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_extraaddress", "callee": "setName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L40", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_extraaddress", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L41", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_extraaddress", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L42", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L50", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "setMobileNumber", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L52", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "getMobileNumber", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L52", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L53", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L54", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "setName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L57", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L58", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_doctorwithaddress", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L59", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_resourcetype", "callee": "tenantEntityType", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L66", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_resourcetype", "callee": "tenantEntityId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L66", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_resourcetype", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L67", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_resourcetype", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L68", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_staff", "callee": "tenantEntityType", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L75", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_staff", "callee": "tenantEntityId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L75", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_staff", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L76", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_staff", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L77", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_createresource", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L85", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_createresource", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L86", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_createresource", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L87", "receiver": null}, {"caller_nid": "resource_resourcetestcase_resourcetestcase_createskill", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceTestCase.php", "source_location": "L94", "receiver": null}]}