1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "label": "SlotUniquenessTest.php", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L1"}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest", "label": "SlotUniquenessTest", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L17"}, {"id": "apitestcase", "label": "ApiTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "label": ".makeDoctor()", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L19"}, {"id": "doctor", "label": "Doctor", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L19"}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "label": ".newBooking()", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L28"}, {"id": "appointment", "label": "Appointment", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L28"}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "label": ".testTwoLiveBookingsOnSameSlotViolateUniqueKey()", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L33"}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "label": ".testCancelledBookingFreesTheSlot()", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L46"}, {"id": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "label": ".testBookAtomicallyRejectsAlreadyTakenSlot()", "file_type": "code", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L65"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "appointment", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "slottakenexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "apitestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "uniqueconstraintviolationexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_appointment_slotuniquenesstest_php", "target": "appointment_slotuniquenesstest_slotuniquenesstest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L17", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "apitestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L17", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L19", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "target": "doctor", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L19", "weight": 1.0, "context": "return_type"}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L28", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "target": "doctor", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L28", "weight": 1.0, "context": "parameter_type"}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "target": "appointment", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L28", "weight": 1.0, "context": "return_type"}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L33", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L46", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest", "target": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L65", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "target": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L35", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "target": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L38", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "target": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L48", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "target": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L51", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "target": "appointment", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L55", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "target": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L67", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "target": "appointment", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L69", "weight": 1.0}, {"source": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "target": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Appointment/SlotUniquenessTest.php", "source_location": "L71", "weight": 1.0}], "raw_calls": [{"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L21", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L22", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_makedoctor", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L23", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_newbooking", "callee": "createUser", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L30", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L36", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L38", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L39", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L41", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "expectException", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L42", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testtwolivebookingsonsameslotviolateuniquekey", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L43", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L49", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L52", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L53", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "transitionTo", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L55", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L56", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L59", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L60", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "assertNotNull", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testcancelledbookingfreestheslot", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L68", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "getRepository", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L69", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "markPendingWithTtl", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L72", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "bookAtomically", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L73", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "expectException", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L75", "receiver": null}, {"caller_nid": "appointment_slotuniquenesstest_slotuniquenesstest_testbookatomicallyrejectsalreadytakenslot", "callee": "bookAtomically", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Appointment/SlotUniquenessTest.php", "source_location": "L76", "receiver": null}]} |