- 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.
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcecalendarvalidationtest_php", "label": "ResourceCalendarValidationTest.php", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L1"}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "label": "ResourceCalendarValidationTest", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L11"}, {"id": "resourcetestcase", "label": "ResourceTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "label": ".putCalendar()", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L14"}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "label": ".testOverlappingShiftsInTheSameDayAreRejected()", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L28"}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "label": ".testOverlapIsDetectedRegardlessOfInputOrder()", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L44"}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "label": ".testBackToBackShiftsAreAccepted()", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L59"}, {"id": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "label": ".testAnInvalidDayLeavesTheExistingCalendarUntouched()", "file_type": "code", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L73"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_resource_resourcecalendarvalidationtest_php", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L11", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resourcetestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L11", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L14", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L28", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L44", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L59", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L73", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L30", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L46", "weight": 1.0}, {"source": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "target": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L61", "weight": 1.0}], "raw_calls": [{"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "callee": "clinicWithAddress", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L16", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "callee": "createResource", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L17", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "callee": "resourceType", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L17", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_putcalendar", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L19", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "json_encode", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L38", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L39", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlappingshiftsinthesamedayarerejected", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L40", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L54", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L54", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testoverlapisdetectedregardlessofinputorder", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L55", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L68", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L68", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "callee": "json_encode", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L68", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testbacktobackshiftsareaccepted", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L69", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "clinicWithAddress", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L75", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "createResource", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "resourceType", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L79", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L82", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L82", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L84", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L93", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "responseCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L93", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "authJson", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L95", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L96", "receiver": null}, {"caller_nid": "resource_resourcecalendarvalidationtest_resourcecalendarvalidationtest_testaninvaliddayleavestheexistingcalendaruntouched", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Resource/ResourceCalendarValidationTest.php", "source_location": "L97", "receiver": null}]} |