1 line
22 KiB
JSON
1 line
22 KiB
JSON
{"nodes": [{"id": "backend_tests_test_schema_py", "label": "test_schema.py", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L1"}, {"id": "test_schema_testitemphotofields", "label": "TestItemPhotoFields", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L8"}, {"id": "test_schema_testitemphotofields_test_item_has_photo_path_field", "label": ".test_item_has_photo_path_field()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L11"}, {"id": "test_schema_testitemphotofields_test_item_has_photo_thumbnail_path_field", "label": ".test_item_has_photo_thumbnail_path_field()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L16"}, {"id": "test_schema_testitemphotofields_test_item_has_photo_upload_date_field", "label": ".test_item_has_photo_upload_date_field()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L20"}, {"id": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "label": ".test_item_photo_fields_are_nullable()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L24"}, {"id": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "label": ".test_item_photo_fields_can_be_set()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L47"}, {"id": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "label": ".test_item_photo_path_is_string_type()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L72"}, {"id": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "label": ".test_item_photo_upload_date_is_datetime_type()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L92"}, {"id": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "label": ".test_existing_item_without_photos_unaffected()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L112"}, {"id": "test_schema_testboxmodel", "label": "TestBoxModel", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L144"}, {"id": "test_schema_testboxmodel_test_box_model_exists", "label": ".test_box_model_exists()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L147"}, {"id": "test_schema_testboxmodel_test_box_photo_fields_exist", "label": ".test_box_photo_fields_exist()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L156"}, {"id": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "label": ".test_box_photo_fields_are_nullable()", "file_type": "code", "source_file": "backend/tests/test_schema.py", "source_location": "L166"}, {"id": "test_schema_rationale_9", "label": "Tests for Item model photo fields.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L9"}, {"id": "test_schema_rationale_12", "label": "Verify Item model has photo_path field.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L12"}, {"id": "test_schema_rationale_17", "label": "Verify Item model has photo_thumbnail_path field.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L17"}, {"id": "test_schema_rationale_21", "label": "Verify Item model has photo_upload_date field.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L21"}, {"id": "test_schema_rationale_25", "label": "Verify that photo fields are nullable - can create item without photos.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L25"}, {"id": "test_schema_rationale_48", "label": "Verify that photo fields can be set with values.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L48"}, {"id": "test_schema_rationale_73", "label": "Verify photo_path field accepts string values.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L73"}, {"id": "test_schema_rationale_93", "label": "Verify photo_upload_date field accepts datetime values.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L93"}, {"id": "test_schema_rationale_113", "label": "Verify that existing items without photos continue to work.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L113"}, {"id": "test_schema_rationale_145", "label": "Tests for Box model photo fields (if Box model exists).", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L145"}, {"id": "test_schema_rationale_148", "label": "Verify Box model exists in database schema.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L148"}, {"id": "test_schema_rationale_157", "label": "Verify Box model has photo fields if it exists.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L157"}, {"id": "test_schema_rationale_167", "label": "Verify Box photo fields are nullable.", "file_type": "rationale", "source_file": "backend/tests/test_schema.py", "source_location": "L167"}], "edges": [{"source": "backend_tests_test_schema_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_tests_test_schema_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_tests_test_schema_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_tests_test_schema_py", "target": "backend_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_tests_test_schema_py", "target": "test_schema_testitemphotofields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L8", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_has_photo_path_field", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L11", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_has_photo_thumbnail_path_field", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L16", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_has_photo_upload_date_field", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L20", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L24", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L47", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L72", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L92", "weight": 1.0}, {"source": "test_schema_testitemphotofields", "target": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L112", "weight": 1.0}, {"source": "backend_tests_test_schema_py", "target": "test_schema_testboxmodel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L144", "weight": 1.0}, {"source": "test_schema_testboxmodel", "target": "test_schema_testboxmodel_test_box_model_exists", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L147", "weight": 1.0}, {"source": "test_schema_testboxmodel", "target": "test_schema_testboxmodel_test_box_photo_fields_exist", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L156", "weight": 1.0}, {"source": "test_schema_testboxmodel", "target": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L166", "weight": 1.0}, {"source": "test_schema_rationale_9", "target": "test_schema_testitemphotofields", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L9", "weight": 1.0}, {"source": "test_schema_rationale_12", "target": "test_schema_testitemphotofields_test_item_has_photo_path_field", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L12", "weight": 1.0}, {"source": "test_schema_rationale_17", "target": "test_schema_testitemphotofields_test_item_has_photo_thumbnail_path_field", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L17", "weight": 1.0}, {"source": "test_schema_rationale_21", "target": "test_schema_testitemphotofields_test_item_has_photo_upload_date_field", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L21", "weight": 1.0}, {"source": "test_schema_rationale_25", "target": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L25", "weight": 1.0}, {"source": "test_schema_rationale_48", "target": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L48", "weight": 1.0}, {"source": "test_schema_rationale_73", "target": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L73", "weight": 1.0}, {"source": "test_schema_rationale_93", "target": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L93", "weight": 1.0}, {"source": "test_schema_rationale_113", "target": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L113", "weight": 1.0}, {"source": "test_schema_rationale_145", "target": "test_schema_testboxmodel", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L145", "weight": 1.0}, {"source": "test_schema_rationale_148", "target": "test_schema_testboxmodel_test_box_model_exists", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L148", "weight": 1.0}, {"source": "test_schema_rationale_157", "target": "test_schema_testboxmodel_test_box_photo_fields_exist", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L157", "weight": 1.0}, {"source": "test_schema_rationale_167", "target": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/tests/test_schema.py", "source_location": "L167", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_schema_testitemphotofields_test_item_has_photo_path_field", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L14"}, {"caller_nid": "test_schema_testitemphotofields_test_item_has_photo_thumbnail_path_field", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L18"}, {"caller_nid": "test_schema_testitemphotofields_test_item_has_photo_upload_date_field", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L22"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "User", "source_file": "backend/tests/test_schema.py", "source_location": "L27"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L28"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L29"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "Item", "source_file": "backend/tests/test_schema.py", "source_location": "L31"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L37"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L38"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_are_nullable", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L39"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "User", "source_file": "backend/tests/test_schema.py", "source_location": "L49"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L50"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L51"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "now", "source_file": "backend/tests/test_schema.py", "source_location": "L53"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "Item", "source_file": "backend/tests/test_schema.py", "source_location": "L54"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L63"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L64"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_fields_can_be_set", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L65"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "User", "source_file": "backend/tests/test_schema.py", "source_location": "L74"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L75"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L76"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "Item", "source_file": "backend/tests/test_schema.py", "source_location": "L79"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L85"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L86"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L87"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_path_is_string_type", "callee": "isinstance", "source_file": "backend/tests/test_schema.py", "source_location": "L89"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "User", "source_file": "backend/tests/test_schema.py", "source_location": "L94"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L95"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L96"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "now", "source_file": "backend/tests/test_schema.py", "source_location": "L98"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "Item", "source_file": "backend/tests/test_schema.py", "source_location": "L99"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L105"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L106"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L107"}, {"caller_nid": "test_schema_testitemphotofields_test_item_photo_upload_date_is_datetime_type", "callee": "isinstance", "source_file": "backend/tests/test_schema.py", "source_location": "L109"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "User", "source_file": "backend/tests/test_schema.py", "source_location": "L114"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L115"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L116"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "Item", "source_file": "backend/tests/test_schema.py", "source_location": "L119"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L127"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L128"}, {"caller_nid": "test_schema_testitemphotofields_test_existing_item_without_photos_unaffected", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L129"}, {"caller_nid": "test_schema_testboxmodel_test_box_model_exists", "callee": "skip", "source_file": "backend/tests/test_schema.py", "source_location": "L154"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_exist", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L160"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_exist", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L161"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_exist", "callee": "hasattr", "source_file": "backend/tests/test_schema.py", "source_location": "L162"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_exist", "callee": "skip", "source_file": "backend/tests/test_schema.py", "source_location": "L164"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "callee": "Box", "source_file": "backend/tests/test_schema.py", "source_location": "L171"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "callee": "add", "source_file": "backend/tests/test_schema.py", "source_location": "L172"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "callee": "commit", "source_file": "backend/tests/test_schema.py", "source_location": "L173"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "callee": "refresh", "source_file": "backend/tests/test_schema.py", "source_location": "L174"}, {"caller_nid": "test_schema_testboxmodel_test_box_photo_fields_are_nullable", "callee": "skip", "source_file": "backend/tests/test_schema.py", "source_location": "L181"}]} |