- Created a new JSON file containing the abstract syntax tree (AST) for the DoctorSecretary.php entity. - Included nodes representing the class, its methods, and properties with their respective source locations. - Established edges to illustrate relationships such as imports, references, and method calls within the entity.
1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "label": "SecretaryResourceEnforcementTest.php", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L1"}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "label": "SecretaryResourceEnforcementTest", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L16"}, {"id": "apitestcase", "label": "ApiTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "label": ".makeClinicSecretary()", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L18"}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "label": ".testInventoryDeniedByDefault()", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L36"}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "label": ".testInventoryAllowedWhenGranted()", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L46"}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "label": ".testPatientCreateDeniedByDefault()", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L56"}, {"id": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "label": ".testInventoryCreateDeniedButViewGranted()", "file_type": "code", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L66"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "useractivecontext", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "clinic", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "doctorsecretary", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "apitestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_secretary_secretaryresourceenforcementtest_php", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L16", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "apitestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L16", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L18", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L36", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L46", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L56", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L66", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L39", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L48", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L59", "weight": 1.0}, {"source": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "target": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L68", "weight": 1.0}], "raw_calls": [{"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L20", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L22", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L24", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L25", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "add", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L26", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "getDoctors", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L26", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L28", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L30", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L31", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_makeclinicsecretary", "callee": "getUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L31", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L40", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L43", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorydeniedbydefault", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L43", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "callee": "mergePermissions", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L49", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L50", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L52", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L53", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventoryallowedwhengranted", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L53", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L60", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L63", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testpatientcreatedeniedbydefault", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L63", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "mergePermissions", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L69", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L70", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L73", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L74", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L74", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L77", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "assertSame", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L78", "receiver": null}, {"caller_nid": "secretary_secretaryresourceenforcementtest_secretaryresourceenforcementtest_testinventorycreatedeniedbutviewgranted", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Secretary/SecretaryResourceEnforcementTest.php", "source_location": "L78", "receiver": null}]} |