Coverage report: 69%

Files Functions Classes

coverage.py v7.6.7, created at 2025-03-28 09:37 +0000

File statements missing excluded coverage
app/__init__.py 0 0 0 100%
app/__version__.py 1 0 0 100%
app/auth/__init__.py 0 0 0 100%
app/auth/auth_deps.py 90 67 0 26%
app/auth/auth_routes.py 71 36 0 49%
app/auth/auth_schemas.py 37 3 0 92%
app/auth/providers/osm.py 66 48 0 27%
app/auth/roles.py 84 16 0 81%
app/central/__init__.py 0 0 0 100%
app/central/central_crud.py 336 145 0 57%
app/central/central_deps.py 35 10 0 71%
app/central/central_routes.py 57 31 0 46%
app/central/central_schemas.py 158 18 0 89%
app/config.py 175 36 0 79%
app/db/__init__.py 0 0 0 100%
app/db/database.py 11 3 0 73%
app/db/enums.py 114 0 0 100%
app/db/languages_and_countries.py 2 0 0 100%
app/db/models.py 754 243 0 68%
app/db/postgis_utils.py 284 80 0 72%
app/helpers/__init__.py 0 0 0 100%
app/helpers/helper_routes.py 127 83 0 35%
app/integrations/__init__.py 0 0 0 100%
app/integrations/integration_crud.py 36 25 0 31%
app/integrations/integration_deps.py 17 8 0 53%
app/integrations/integration_routes.py 33 15 0 55%
app/main.py 127 33 0 74%
app/monitoring.py 75 61 0 19%
app/organisations/__init__.py 0 0 0 100%
app/organisations/organisation_crud.py 35 5 0 86%
app/organisations/organisation_deps.py 40 16 0 60%
app/organisations/organisation_routes.py 68 15 0 78%
app/organisations/organisation_schemas.py 35 0 0 100%
app/projects/__init__.py 0 0 0 100%
app/projects/project_crud.py 300 159 0 47%
app/projects/project_deps.py 32 6 0 81%
app/projects/project_routes.py 408 189 0 54%
app/projects/project_schemas.py 168 19 0 89%
app/s3.py 114 62 0 46%
app/submissions/__init__.py 0 0 0 100%
app/submissions/submission_crud.py 74 17 0 77%
app/submissions/submission_deps.py 8 1 0 88%
app/submissions/submission_routes.py 134 69 0 49%
app/submissions/submission_schemas.py 52 14 0 73%
app/tasks/__init__.py 0 0 0 100%
app/tasks/task_crud.py 65 45 0 31%
app/tasks/task_deps.py 12 2 0 83%
app/tasks/task_routes.py 57 20 0 65%
app/tasks/task_schemas.py 20 0 0 100%
app/users/__init__.py 0 0 0 100%
app/users/user_crud.py 43 27 0 37%
app/users/user_deps.py 16 4 0 75%
app/users/user_routes.py 53 24 0 55%
app/users/user_schemas.py 30 0 0 100%
package_tests/test_osm_fieldwork/__init__.py 0 0 0 100%
package_tests/test_osm_fieldwork/conftest.py 117 0 0 100%
package_tests/test_osm_fieldwork/test_entities.py 77 0 0 100%
package_tests/test_osm_fieldwork/test_odk_central.py 100 2 0 98%
package_tests/test_osm_fieldwork/test_odk_submissions.py 19 0 0 100%
package_tests/test_osm_fieldwork/test_update_xlsform.py 91 8 0 91%
tests/__init__.py 0 0 0 100%
tests/conftest.py 187 12 0 94%
tests/test_central_routes.py 13 2 0 85%
tests/test_data/__init__.py 2 0 0 100%
tests/test_organisation_routes.py 44 2 0 95%
tests/test_projects_routes.py 188 3 0 98%
tests/test_submission_routes.py 62 2 0 97%
tests/test_task_routes.py 46 2 0 96%
tests/test_users.py 2 0 0 100%
Total 5402 1688 0 69%

No items found using the specified filter.