Coverage report: 93%

Files Functions Classes

coverage.py v7.10.1, created at 2025-08-04 00:22 +0000

File function statements missing excluded coverage
dormatory/api/__init__.py (no function) 3 0 0 100%
dormatory/api/dependencies.py get_db 4 4 0 0%
dormatory/api/dependencies.py (no function) 5 0 0 100%
dormatory/api/main.py startup_event 1 1 0 0%
dormatory/api/main.py root 1 1 0 0%
dormatory/api/main.py health_check 1 1 0 0%
dormatory/api/main.py (no function) 19 0 0 100%
dormatory/api/routes/__init__.py (no function) 2 0 0 100%
dormatory/api/routes/attributes.py create_attribute 11 0 0 100%
dormatory/api/routes/attributes.py get_attribute_by_id 4 0 0 100%
dormatory/api/routes/attributes.py get_all_attributes 7 0 0 100%
dormatory/api/routes/attributes.py update_attribute 16 2 0 88%
dormatory/api/routes/attributes.py delete_attribute 6 0 0 100%
dormatory/api/routes/attributes.py create_attributes_bulk 15 2 0 87%
dormatory/api/routes/attributes.py get_attributes_by_object 5 1 0 80%
dormatory/api/routes/attributes.py get_attribute_by_name 2 0 0 100%
dormatory/api/routes/attributes.py get_object_attributes_map 5 1 0 80%
dormatory/api/routes/attributes.py set_object_attributes 16 3 0 81%
dormatory/api/routes/attributes.py delete_attribute_by_name 9 2 0 78%
dormatory/api/routes/attributes.py search_attributes 2 0 0 100%
dormatory/api/routes/attributes.py (no function) 50 0 0 100%
dormatory/api/routes/links.py create_link 16 0 0 100%
dormatory/api/routes/links.py get_link_by_id 4 0 0 100%
dormatory/api/routes/links.py get_all_links 9 0 0 100%
dormatory/api/routes/links.py update_link 12 2 0 83%
dormatory/api/routes/links.py delete_link 6 0 0 100%
dormatory/api/routes/links.py create_links_bulk 20 4 0 80%
dormatory/api/routes/links.py get_children_by_parent 7 1 0 86%
dormatory/api/routes/links.py get_parents_by_child 7 1 0 86%
dormatory/api/routes/links.py get_links_by_relationship 2 0 0 100%
dormatory/api/routes/links.py create_hierarchy 1 0 0 100%
dormatory/api/routes/links.py (no function) 46 0 0 100%
dormatory/api/routes/objects.py create_object 8 0 0 100%
dormatory/api/routes/objects.py get_object_by_id 4 0 0 100%
dormatory/api/routes/objects.py get_all_objects 7 0 0 100%
dormatory/api/routes/objects.py update_object 15 2 0 87%
dormatory/api/routes/objects.py delete_object 6 0 0 100%
dormatory/api/routes/objects.py create_objects_bulk 12 1 0 92%
dormatory/api/routes/objects.py get_object_children 7 1 0 86%
dormatory/api/routes/objects.py get_object_parents 7 1 0 86%
dormatory/api/routes/objects.py get_object_hierarchy 6 1 0 83%
dormatory/api/routes/objects.py get_object_hierarchy.build_hierarchy 15 2 0 87%
dormatory/api/routes/objects.py get_object_hierarchy_with_depth 8 2 0 75%
dormatory/api/routes/objects.py get_object_hierarchy_with_depth.build_hierarchy_with_depth 16 2 0 88%
dormatory/api/routes/objects.py (no function) 47 0 0 100%
dormatory/api/routes/permissions.py create_permission 1 0 0 100%
dormatory/api/routes/permissions.py get_permission_by_id 3 0 0 100%
dormatory/api/routes/permissions.py get_all_permissions 1 0 0 100%
dormatory/api/routes/permissions.py update_permission 3 0 0 100%
dormatory/api/routes/permissions.py delete_permission 3 0 0 100%
dormatory/api/routes/permissions.py create_permissions_bulk 1 0 0 100%
dormatory/api/routes/permissions.py get_permissions_by_object 1 0 0 100%
dormatory/api/routes/permissions.py get_permissions_by_user 1 0 0 100%
dormatory/api/routes/permissions.py check_user_permission 1 0 0 100%
dormatory/api/routes/permissions.py (no function) 34 0 0 100%
dormatory/api/routes/types.py create_type 5 0 0 100%
dormatory/api/routes/types.py get_type_by_id 4 0 0 100%
dormatory/api/routes/types.py get_all_types 5 0 0 100%
dormatory/api/routes/types.py update_type 8 0 0 100%
dormatory/api/routes/types.py delete_type 6 0 0 100%
dormatory/api/routes/types.py create_types_bulk 9 0 0 100%
dormatory/api/routes/types.py get_objects_by_type 5 0 0 100%
dormatory/api/routes/types.py (no function) 40 0 0 100%
dormatory/api/routes/versioning.py create_versioning 1 0 0 100%
dormatory/api/routes/versioning.py get_versioning_by_id 3 0 0 100%
dormatory/api/routes/versioning.py get_all_versioning 1 0 0 100%
dormatory/api/routes/versioning.py update_versioning 3 0 0 100%
dormatory/api/routes/versioning.py delete_versioning 3 0 0 100%
dormatory/api/routes/versioning.py create_versioning_bulk 1 0 0 100%
dormatory/api/routes/versioning.py get_versioning_by_object 1 0 0 100%
dormatory/api/routes/versioning.py get_latest_version 1 0 0 100%
dormatory/api/routes/versioning.py get_specific_version 1 0 0 100%
dormatory/api/routes/versioning.py create_new_version 1 0 0 100%
dormatory/api/routes/versioning.py (no function) 38 0 0 100%
dormatory/models/__init__.py (no function) 2 0 0 100%
dormatory/models/database_config.py get_database_url 1 0 0 100%
dormatory/models/database_config.py create_engine_and_session 9 3 0 67%
dormatory/models/database_config.py get_database_info 10 10 0 0%
dormatory/models/database_config.py is_postgresql 1 1 0 0%
dormatory/models/database_config.py is_sqlite 1 1 0 0%
dormatory/models/database_config.py (no function) 9 0 0 100%
dormatory/models/dormatory_model.py Type.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py Object.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py Link.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py Permissions.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py Versioning.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py Attributes.__repr__ 0 0 1 100%
dormatory/models/dormatory_model.py create_engine_and_session 2 0 0 100%
dormatory/models/dormatory_model.py create_tables 1 0 0 100%
dormatory/models/dormatory_model.py get_db_session 4 0 0 100%
dormatory/models/dormatory_model.py (no function) 62 0 6 100%
Total   759 53 12 93%

No items found using the specified filter.