Coverage report: 89%

Files Functions Classes

coverage.py v7.11.0, created at 2025-11-03 20:32 +0000

File function statements missing excluded coverage
tests/test_contacts.py TestApps.setup 1 0 0 100%
tests/test_contacts.py TestApps.setup_db_data 33 0 0 100%
tests/test_contacts.py TestApps.test_get_organisations 5 0 0 100%
tests/test_contacts.py TestApps.test_get_all_organisations 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_organisation 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_organisation_out_of_index 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_organisation_by_name 5 0 0 100%
tests/test_contacts.py TestApps.test_insert_new_organisation 5 0 0 100%
tests/test_contacts.py TestApps.test_insert_duplicate_organisation 5 0 0 100%
tests/test_contacts.py TestApps.test_get_persons 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_out_of_index 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_out_of_index_not_found 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_by_name_url 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_by_name 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_by_name_using_fields 5 0 0 100%
tests/test_contacts.py TestApps.test_get_special_person_using_wrong_fieldname 5 0 0 100%
tests/test_contacts.py TestApps.test_insert_new_person 5 0 0 100%
tests/test_contacts.py TestApps.test_insert_duplicate_person 5 0 0 100%
tests/test_contacts.py TestApps.test_get_contacts 5 0 0 100%
tests/test_contacts.py TestApps.test_get_all_contacts 5 0 0 100%
tests/test_contacts.py TestApps.test_get_person_not_found 5 0 0 100%
tests/test_contacts.py TestApps.test_get_contact_by_person_name 5 0 0 100%
tests/test_contacts.py TestApps.test_get_contact_by_person_email 5 0 0 100%
tests/test_contacts.py TestApps.test_get_organisation_not_found 5 0 0 100%
tests/test_contacts.py TestApps.test_get_contact_by_id 5 0 0 100%
tests/test_contacts.py TestApps.test_get_all_contacts_by_orga_name 5 0 0 100%
tests/test_contacts.py TestApps.test_get_contact_not_found 5 0 0 100%
tests/test_contacts.py (no function) 35 0 0 100%
tests/test_data.py FixedDatetime.now 1 0 0 100%
tests/test_data.py TestApps.setup 1 0 0 100%
tests/test_data.py TestApps.setup_db_data 145 0 0 100%
tests/test_data.py TestApps.test_get_special 8 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged 6 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged_with_fields 6 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged_with_fields_csv 6 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged_with_fields_and_daterange_csv 6 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged_unknown_stationcode 6 0 0 100%
tests/test_data.py TestApps.test_get_timeseries_merged_no_table_entry 6 4 0 33%
tests/test_data.py TestApps.test_get_map_data 8 0 0 100%
tests/test_data.py TestApps.test_get_data_with_fields 8 0 0 100%
tests/test_data.py TestApps.test_get_data_as_csv_with_fields 8 0 0 100%
tests/test_data.py TestApps.test_get_no_data_with_variable_and_timerange 5 2 0 60%
tests/test_data.py TestApps.test_insert_new_wrong_credentials 5 0 0 100%
tests/test_data.py TestApps.test_insert_new_without_credentials 5 0 0 100%
tests/test_data.py TestApps.test_insert_new 5 0 0 100%
tests/test_data.py TestApps.test_insert_duplicate 5 0 0 100%
tests/test_data.py TestApps.test_insert_new_as_bulk 10 0 0 100%
tests/test_data.py TestApps.test_get_data_not_found 5 0 0 100%
tests/test_data.py TestApps.test_get_data_invalid_type 4 0 0 100%
tests/test_data.py TestApps.test_get_data2 8 0 0 100%
tests/test_data.py TestApps.test_get_data2_not_found 5 0 0 100%
tests/test_data.py TestApps.test_get_data2_invalid_type 4 0 0 100%
tests/test_data.py TestApps.test_get_data_with_daterange 6 0 0 100%
tests/test_data.py TestApps.test_get_data_with_specific_flags 6 0 0 100%
tests/test_data.py TestApps.test_get_data_with_staging 6 0 0 100%
tests/test_data.py TestApps.test_get_no_data_with_staging 5 0 0 100%
tests/test_data.py TestApps.test_create_data_record 11 0 0 100%
tests/test_data.py TestApps.test_patch_data 11 0 0 100%
tests/test_data.py TestApps.test_patch_bulk_data 33 0 0 100%
tests/test_data.py TestApps.test_patch_bulk_data2 5 0 0 100%
tests/test_data.py (no function) 58 0 0 100%
tests/test_search.py TestApps.setup 1 0 0 100%
tests/test_search.py TestApps.setup_db_data 131 0 0 100%
tests/test_search.py TestApps.test_search_no_arguments 5 0 0 100%
tests/test_search.py TestApps.test_search_variable_wrong_syntax 5 0 0 100%
tests/test_search.py TestApps.test_search_with_variable_id 5 0 0 100%
tests/test_search.py TestApps.test_search_with_codes 5 0 0 100%
tests/test_search.py TestApps.test_search_with_wrong_bounding_box 5 0 0 100%
tests/test_search.py TestApps.test_search_empty_bounding_box 5 0 0 100%
tests/test_search.py TestApps.test_search_empty_bounding_box_and_fields 5 0 0 100%
tests/test_search.py TestApps.test_search_with_bounding_box 5 0 0 100%
tests/test_search.py TestApps.test_search_with_time 5 0 0 100%
tests/test_search.py TestApps.test_search_wrong_time_syntax 5 0 0 100%
tests/test_search.py TestApps.test_search_with_fields 7 0 0 100%
tests/test_search.py TestApps.test_search_with_variable_id_in_fields 7 0 0 100%
tests/test_search.py TestApps.test_search_with_whole_variable_in_fields 5 0 0 100%
tests/test_search.py TestApps.test_search_with_stationname 5 0 0 100%
tests/test_search.py TestApps.test_search_with_global_attributes 5 0 0 100%
tests/test_search.py TestApps.test_search_with_global_attributes2 5 0 0 100%
tests/test_search.py TestApps.test_search_with_additional_metadata 5 0 0 100%
tests/test_search.py TestApps.test_search_with_additional_metadata2 5 0 0 100%
tests/test_search.py TestApps.test_search_with_additional_metadata3 5 0 0 100%
tests/test_search.py TestApps.test_search_with_additional_metadata_unknown 5 0 0 100%
tests/test_search.py TestApps.test_search_with_additional_metadata_station 5 0 0 100%
tests/test_search.py (no function) 38 0 0 100%
tests/test_search_aggregations.py TestApps.setup 1 0 0 100%
tests/test_search_aggregations.py TestApps.setup_db_data 131 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_base 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_single 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_plus 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_minus 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_distinct 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_search_complex 5 0 0 100%
tests/test_search_aggregations.py TestApps.test_inconsistent_fields 3 0 0 100%
tests/test_search_aggregations.py TestApps.test_consistent_fields 7 0 0 100%
tests/test_search_aggregations.py (no function) 25 0 0 100%
tests/test_stationmeta.py TestApps.setup 1 0 0 100%
tests/test_stationmeta.py TestApps.setup_db_data 106 0 0 100%
tests/test_stationmeta.py TestApps.test_get_all 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_special_nested 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_special_with_fields 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_special_with_ambiguous_field 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_special_with_fields_station_not_found 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_all_with_fields 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_all_wrong_params 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_stationmeta_not_found 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_stationmeta_by_id_not_found 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_stationmeta_by_id 5 0 0 100%
tests/test_stationmeta.py TestApps.test_get_stationmeta_changelog 5 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new_wrong_credentials 5 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new_without_credentials 5 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new 6 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new_with_roles 6 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new_with_annotations 6 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_new_same_coordinates 5 0 0 100%
tests/test_stationmeta.py TestApps.test_insert_duplicate 5 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_stationmeta_no_description 5 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_stationmeta_not_found1 5 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_stationmeta_name 13 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_single_stationmeta_global 13 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_multiple_stationmeta_global 13 0 0 100%
tests/test_stationmeta.py TestApps.test_patch_stationmeta_roles_and_annotations 13 0 0 100%
tests/test_stationmeta.py TestApps.test_delete_roles_from_stationmeta 7 0 0 100%
tests/test_stationmeta.py TestApps.test_delete_field_station_not_found 5 0 0 100%
tests/test_stationmeta.py TestApps.test_test 5 0 0 100%
tests/test_stationmeta.py (no function) 44 0 0 100%
tests/test_timeseries.py TestApps.setup 1 0 0 100%
tests/test_timeseries.py TestApps.setup_db_data 131 0 0 100%
tests/test_timeseries.py TestApps.test_get_timeseries 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_special 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_new_wrong_credentials 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_new_without_credentials 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_new_with_roles 12 0 0 100%
tests/test_timeseries.py TestApps.test_insert_new_without_existing_station 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_duplicate_no_resource_provider 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_duplicate_wrong_resource_provider 5 0 0 100%
tests/test_timeseries.py TestApps.test_insert_duplicate 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_all_timeseries 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_one_timeseries_with_fields 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_all_timeseries_with_fields 7 0 0 100%
tests/test_timeseries.py TestApps.test_get_all_timeseries_filter_roles 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_all_timeseries_filter_not_roles 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_timeseries_not_found 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_timeseries_invalid_type 4 0 0 100%
tests/test_timeseries.py TestApps.test_get_timeseries2_not_found 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_timeseries2_invalid_type 4 0 0 100%
tests/test_timeseries.py TestApps.test_get_unique_timeseries_invalid_type 4 0 0 100%
tests/test_timeseries.py TestApps.test_get_citation 8 0 0 100%
tests/test_timeseries.py TestApps.test_get_contributors_json 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_contributors_text 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_contributors_default 5 0 0 100%
tests/test_timeseries.py TestApps.test_get_contributors_unknown_format 5 0 0 100%
tests/test_timeseries.py TestApps.test_register_contributors_list 5 0 0 100%
tests/test_timeseries.py TestApps.test_register_duplicate_contributors_list 5 0 0 100%
tests/test_timeseries.py TestApps.test_request_registered_contributors_list_json 5 0 0 100%
tests/test_timeseries.py TestApps.test_request_registered_contributors_list_text 5 0 0 100%
tests/test_timeseries.py TestApps.test_request_registered_contributors_list_unknown_rid 5 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_no_description 5 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_not_found 5 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_single_item 13 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_multiple_items 13 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_roles 16 0 0 100%
tests/test_timeseries.py TestApps.test_patch_timeseries_annotations 13 0 0 100%
tests/test_timeseries.py (no function) 55 0 0 100%
tests/test_toardb.py TestApps.setup 1 0 0 100%
tests/test_toardb.py TestApps.setup_db_data 9 0 0 100%
tests/test_toardb.py TestApps.test_get_controlled_vocabulary 6 0 0 100%
tests/test_toardb.py TestApps.test_get_controlled_vocabulary_field 5 0 0 100%
tests/test_toardb.py TestApps.test_get_controlled_vocabulary_unknown_field 5 0 0 100%
tests/test_toardb.py TestApps.test_get_database_statistics 5 0 0 100%
tests/test_toardb.py TestApps.test_get_database_statistics_field 5 0 0 100%
tests/test_toardb.py TestApps.test_get_geopeas_urls 7 0 0 100%
tests/test_toardb.py (no function) 14 0 0 100%
tests/test_variables.py TestApps.setup 1 0 0 100%
tests/test_variables.py TestApps.setup_db_data 13 0 0 100%
tests/test_variables.py TestApps.test_get_variables 5 0 0 100%
tests/test_variables.py TestApps.test_get_all_variables_default_limit 5 0 0 100%
tests/test_variables.py TestApps.test_get_all_variables_unlimited 5 0 0 100%
tests/test_variables.py TestApps.test_get_all_variables_using_fields 5 0 0 100%
tests/test_variables.py TestApps.test_get_all_variables_wrong_fieldname 5 0 0 100%
tests/test_variables.py TestApps.test_get_special 5 0 0 100%
tests/test_variables.py TestApps.test_get_special_out_of_index 5 0 0 100%
tests/test_variables.py TestApps.test_get_special_by_name 5 0 0 100%
tests/test_variables.py TestApps.test_get_special_by_units 5 0 0 100%
tests/test_variables.py TestApps.test_get_special_by_name_not_existing 5 0 0 100%
tests/test_variables.py TestApps.test_insert_new 5 0 0 100%
tests/test_variables.py TestApps.test_insert_new_again 5 0 0 100%
tests/test_variables.py TestApps.test_insert_duplicate 5 0 0 100%
tests/test_variables.py (no function) 22 0 0 100%
toardb/__init__.py (no function) 0 0 0 100%
toardb/auth_user/__init__.py (no function) 0 0 0 100%
toardb/auth_user/auth_user.py get_eduperson 10 10 0 0%
toardb/auth_user/auth_user.py get_increments 1 1 0 0%
toardb/auth_user/auth_user.py (no function) 10 0 0 100%
toardb/auth_user/crud.py get_user_role 8 3 0 62%
toardb/auth_user/crud.py get_eduperson_and_roles 4 2 0 50%
toardb/auth_user/crud.py _get_eduperson_and_roles 58 33 0 43%
toardb/auth_user/crud.py count_year_intervals 9 9 0 0%
toardb/auth_user/crud.py modify_query_params 6 6 0 0%
toardb/auth_user/crud.py pop_user_role 3 3 0 0%
toardb/auth_user/crud.py count_timeseries_intervals 16 16 0 0%
toardb/auth_user/crud.py determine_increments 18 18 0 0%
toardb/auth_user/crud.py (no function) 18 0 0 100%
toardb/auth_user/models.py (no function) 11 0 0 100%
toardb/auth_user/schemas.py (no function) 15 0 0 100%
toardb/base.py (no function) 3 0 0 100%
toardb/contacts/__init__.py (no function) 0 0 0 100%
toardb/contacts/contacts.py get_all_persons 2 0 0 100%
toardb/contacts/contacts.py get_person 4 0 0 100%
toardb/contacts/contacts.py get_person 4 0 0 100%
toardb/contacts/contacts.py create_person 4 0 0 100%
toardb/contacts/contacts.py get_all_organisations 4 0 0 100%
toardb/contacts/contacts.py get_organisation 4 0 0 100%
toardb/contacts/contacts.py get_organisation 4 0 0 100%
toardb/contacts/contacts.py create_organisation 4 0 0 100%
toardb/contacts/contacts.py get_all_contacts 4 0 0 100%
toardb/contacts/contacts.py get_all_contacts 2 0 0 100%
toardb/contacts/contacts.py get_all_contacts 4 0 0 100%
toardb/contacts/contacts.py get_all_contacts 2 0 0 100%
toardb/contacts/contacts.py get_all_contacts 2 0 0 100%
toardb/contacts/contacts.py create_contact 4 4 0 0%
toardb/contacts/contacts.py (no function) 34 0 0 100%
toardb/contacts/crud.py get_organisation 1 0 0 100%
toardb/contacts/crud.py get_all_organisations 1 0 0 100%
toardb/contacts/crud.py get_organisation_by_name 1 0 0 100%
toardb/contacts/crud.py get_organisation_by_longname 1 0 0 100%
toardb/contacts/crud.py create_organisation 11 0 0 100%
toardb/contacts/crud.py get_person 1 0 0 100%
toardb/contacts/crud.py get_all_persons 15 0 0 100%
toardb/contacts/crud.py get_person_by_name 1 0 0 100%
toardb/contacts/crud.py get_person_by_email 1 1 0 0%
toardb/contacts/crud.py _get_private_person_by_name 1 1 0 0%
toardb/contacts/crud.py create_person 9 0 0 100%
toardb/contacts/crud.py get_all_contacts 1 0 0 100%
toardb/contacts/crud.py get_contact 6 0 0 100%
toardb/contacts/crud.py get_contact_by_orga_name 5 0 0 100%
toardb/contacts/crud.py get_contact_by_person_name 2 0 0 100%
toardb/contacts/crud.py get_contact_by_person_email 2 0 0 100%
toardb/contacts/crud.py get_contact_by_unique_constraints 1 1 0 0%
toardb/contacts/crud.py create_contact 13 13 0 0%
toardb/contacts/crud.py (no function) 25 0 0 100%
toardb/contacts/models.py (no function) 16 0 0 100%
toardb/contacts/models_organisation.py (no function) 17 0 0 100%
toardb/contacts/models_person.py (no function) 12 0 0 100%
toardb/contacts/schemas.py OrganisationBase.check_kind 1 0 0 100%
toardb/contacts/schemas.py OrganisationBase.check_country 1 0 0 100%
toardb/contacts/schemas.py OrganisationCreate.check_kind 3 1 0 67%
toardb/contacts/schemas.py OrganisationCreate.check_country 3 1 0 67%
toardb/contacts/schemas.py PersonBase.__str__ 1 1 0 0%
toardb/contacts/schemas.py Contact.check_contact_is_private 5 0 0 100%
toardb/contacts/schemas.py Contact.check_contact_is_organisation 2 0 0 100%
toardb/contacts/schemas.py (no function) 61 0 0 100%
toardb/data/__init__.py (no function) 0 0 0 100%
toardb/data/crud.py create_filter_from_aggreated_flags 7 0 0 100%
toardb/data/crud.py create_filter_from_flags 11 0 0 100%
toardb/data/crud.py get_data 49 9 0 82%
toardb/data/crud.py get_data.get_timeseries_meta 15 0 0 100%
toardb/data/crud.py get_next_version 13 3 0 77%
toardb/data/crud.py get_map_data 4 0 0 100%
toardb/data/crud.py get_data_with_staging 20 10 0 50%
toardb/data/crud.py get_data_with_staging.get_timeseries_meta 13 0 0 100%
toardb/data/crud.py get_all_merged_timeseries_ids 5 2 0 60%
toardb/data/crud.py replace_v8_v9_elements 21 13 0 38%
toardb/data/crud.py select_provider 19 8 0 58%
toardb/data/crud.py ensure_v8_before_v9_and_strip_tags 12 5 0 58%
toardb/data/crud.py merge_sequences 16 0 0 100%
toardb/data/crud.py format_timeseries 29 22 0 24%
toardb/data/crud.py format_timeseries.format_start 2 0 0 100%
toardb/data/crud.py format_timeseries.format_end 2 0 0 100%
toardb/data/crud.py substitute_v89_entry 3 3 0 0%
toardb/data/crud.py get_merging_list 32 6 0 81%
toardb/data/crud.py get_merged_data 29 4 0 86%
toardb/data/crud.py get_data_by_datetime_and_timeseriesid 1 1 0 0%
toardb/data/crud.py get_all_data 1 1 0 0%
toardb/data/crud.py is_preliminary 1 0 0 100%
toardb/data/crud.py create_data_record 36 5 0 86%
toardb/data/crud.py insert_dataframe 56 12 0 79%
toardb/data/crud.py create_data 48 7 0 85%
toardb/data/crud.py create_bulk_data 16 2 0 88%
toardb/data/crud.py patch_data 68 11 0 84%
toardb/data/crud.py patch_bulk_data 31 2 0 94%
toardb/data/crud.py (no function) 55 0 0 100%
toardb/data/data.py get_data 9 4 0 56%
toardb/data/data.py get_data2 8 2 0 75%
toardb/data/data.py get_data_with_staging 8 2 0 75%
toardb/data/data.py get_map_data 6 2 0 67%
toardb/data/data.py get_version 2 0 0 100%
toardb/data/data.py get_merged_data 18 14 0 22%
toardb/data/data.py get_merging_list 1 1 0 0%
toardb/data/data.py get_map_data 4 4 0 0%
toardb/data/data.py create_data 10 0 0 100%
toardb/data/data.py create_bulk_data 10 6 0 40%
toardb/data/data.py create_data_record 12 8 0 33%
toardb/data/data.py patch_data 3 1 0 67%
toardb/data/data.py patch_bulk_data 3 1 0 67%
toardb/data/data.py (no function) 37 0 0 100%
toardb/data/models.py (no function) 23 0 0 100%
toardb/data/schemas.py DataBase.check_flags 4 0 0 100%
toardb/data/schemas.py DataBase.convert_version 7 0 0 100%
toardb/data/schemas.py DataPatch.check_flags 1 0 0 100%
toardb/data/schemas.py DataPatch.convert_version 1 0 0 100%
toardb/data/schemas.py DataCreate.check_flags 1 0 0 100%
toardb/data/schemas.py DataCreate.convert_version 1 0 0 100%
toardb/data/schemas.py (no function) 37 0 0 100%
toardb/generic/__init__.py (no function) 0 0 0 100%
toardb/generic/models.py (no function) 7 0 0 100%
toardb/stationmeta/__init__.py (no function) 0 0 0 100%
toardb/stationmeta/crud.py get_stationmeta_core 6 0 0 100%
toardb/stationmeta/crud.py get_stationmeta 47 5 0 89%
toardb/stationmeta/crud.py get_stationmeta_by_id 6 0 0 100%
toardb/stationmeta/crud.py station_id_exists 2 0 0 100%
toardb/stationmeta/crud.py get_all_stationmeta 46 3 0 93%
toardb/stationmeta/crud.py get_stationmeta_roles 1 0 0 100%
toardb/stationmeta/crud.py get_stationmeta_changelog 1 0 0 100%
toardb/stationmeta/crud.py get_unique_stationmeta_role 2 0 0 100%
toardb/stationmeta/crud.py get_stationmeta_role_by_id 1 0 0 100%
toardb/stationmeta/crud.py get_unique_stationmeta_annotation 2 0 0 100%
toardb/stationmeta/crud.py get_stationmeta_annotations 1 0 0 100%
toardb/stationmeta/crud.py get_stationmeta_global 2 0 0 100%
toardb/stationmeta/crud.py determine_stationmeta_global 21 21 0 0%
toardb/stationmeta/crud.py create_stationmeta 106 21 0 80%
toardb/stationmeta/crud.py get_field_from_record 8 0 0 100%
toardb/stationmeta/crud.py patch_stationmeta 158 32 0 80%
toardb/stationmeta/crud.py delete_stationmeta_field 17 0 0 100%
toardb/stationmeta/crud.py (no function) 37 0 0 100%
toardb/stationmeta/models.py (no function) 21 0 0 100%
toardb/stationmeta/models_annotation.py (no function) 17 0 0 100%
toardb/stationmeta/models_aux.py (no function) 34 0 0 100%
toardb/stationmeta/models_changelog.py (no function) 16 0 0 100%
toardb/stationmeta/models_core.py (no function) 27 0 0 100%
toardb/stationmeta/models_global.py (no function) 37 0 0 100%
toardb/stationmeta/models_global_services.py (no function) 6 0 0 100%
toardb/stationmeta/models_role.py (no function) 15 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreBase.check_coordinate_validation_status 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreBase.check_country 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreBase.check_type 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreBase.check_type_of_area 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreBase.check_timezone 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaCoreCreate.check_coordinate_validation_status 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaCoreCreate.check_country 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaCoreCreate.check_type 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaCoreCreate.check_type_of_area 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaCoreCreate.check_timezone 3 1 0 67%
toardb/stationmeta/schemas.py get_geom_from_coordinates 2 0 0 100%
toardb/stationmeta/schemas.py get_coordinates_from_geom 3 0 0 100%
toardb/stationmeta/schemas.py get_coordinates_from_string 2 2 0 0%
toardb/stationmeta/schemas.py StationmetaAnnotationBase.check_kind 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaAnnotationPatch.check_kind 1 1 0 0%
toardb/stationmeta/schemas.py StationmetaAnnotationCreate.check_kind 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_climatic_zone 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_toar1_category 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_toar2_category 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_htap_region_tier1 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_dominant_landcover_year2012 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_landcover_description_25km_year2012 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_dominant_ecoregion_year2017 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalBase.check_ecoregion_description_25km_year2017 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_climatic_zone 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_toar1_category 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_toar2_category 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_htap_region_tier1 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_dominant_landcover_year2012 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_dominant_ecoregion_year2017 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_landcover_description_25km_year2012 5 2 0 60%
toardb/stationmeta/schemas.py StationmetaGlobalPatch.check_ecoregion_description_25km_year2017 5 2 0 60%
toardb/stationmeta/schemas.py get_full_description_from_abbreviation 9 0 0 100%
toardb/stationmeta/schemas.py get_code_description_from_abbreviation 9 6 0 33%
toardb/stationmeta/schemas.py get_abbreviation_from_code_description 9 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_climatic_zone 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_toar1_category 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_toar2_category 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_htap_region_tier1 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_dominant_landcover_year2012 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_dominant_ecoregion_year2017 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_landcover_description_25km_year2012 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalFields.check_ecoregion_description_25km_year2017 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_climatic_zone 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_toar1_category 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_toar2_category 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_htap_region_tier1 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_dominant_landcover_year2012 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaGlobalCreate.check_dominant_ecoregion_year2017 3 3 0 0%
toardb/stationmeta/schemas.py StationmetaRoleBase.check_role 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaRoleBase.check_status 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaRoleBase.check_contact_is_private 6 1 0 83%
toardb/stationmeta/schemas.py StationmetaRoleCreate.check_role 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaRoleCreate.check_status 3 1 0 67%
toardb/stationmeta/schemas.py StationmetaChangelogBase.check_role 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaBase.order_changelog 1 0 0 100%
toardb/stationmeta/schemas.py StationmetaBase.check_roles 3 0 0 100%
toardb/stationmeta/schemas.py StationmetaBase.check_annotations 3 0 0 100%
toardb/stationmeta/schemas.py (no function) 404 0 0 100%
toardb/stationmeta/stationmeta.py get_all_stationmeta 1 0 0 100%
toardb/stationmeta/stationmeta.py get_stationmeta 4 0 0 100%
toardb/stationmeta/stationmeta.py get_stationmeta_by_id 4 0 0 100%
toardb/stationmeta/stationmeta.py get_stationmeta_changelog 2 0 0 100%
toardb/stationmeta/stationmeta.py create_stationmeta_core 7 0 0 100%
toardb/stationmeta/stationmeta.py patch_stationmeta_core 10 1 0 90%
toardb/stationmeta/stationmeta.py delete_field_from_stationmeta_core 6 1 0 83%
toardb/stationmeta/stationmeta.py (no function) 22 0 0 100%
toardb/test_base.py get_test_engine 2 0 0 100%
toardb/test_base.py get_test_db 4 0 0 100%
toardb/test_base.py override_dependency 9 0 0 100%
toardb/test_base.py create_test_database 4 0 0 100%
toardb/test_base.py test_db_session 11 0 0 100%
toardb/test_base.py client 2 0 0 100%
toardb/test_base.py (no function) 30 0 0 100%
toardb/timeseries/__init__.py (no function) 0 0 0 100%
toardb/timeseries/crud.py clean_additional_metadata 15 0 0 100%
toardb/timeseries/crud.py get_timeseries 26 4 0 85%
toardb/timeseries/crud.py get_citation 44 8 0 82%
toardb/timeseries/crud.py adapt_db_object 39 13 0 67%
toardb/timeseries/crud.py TimeseriesQuery.__init__ 4 0 0 100%
toardb/timeseries/crud.py TimeseriesQuery.aggregate 6 0 0 100%
toardb/timeseries/crud.py TimeseriesQuery.from_query_params 22 0 0 100%
toardb/timeseries/crud.py TimeseriesQuery.adapt_objects 1 0 0 100%
toardb/timeseries/crud.py search_all 14 0 0 100%
toardb/timeseries/crud.py search_all_aggregation 13 2 0 85%
toardb/timeseries/crud.py get_timeseries_by_unique_constraints 97 45 0 54%
toardb/timeseries/crud.py get_timeseries_changelog 1 1 0 0%
toardb/timeseries/crud.py get_timeseries_programme 1 1 0 0%
toardb/timeseries/crud.py get_role_ids_of_timeseries 2 2 0 0%
toardb/timeseries/crud.py get_unique_timeseries_role 2 0 0 100%
toardb/timeseries/crud.py get_role_id_from_string 4 0 0 100%
toardb/timeseries/crud.py get_unique_timeseries_programme 2 2 0 0%
toardb/timeseries/crud.py get_unique_timeseries_annotation 2 0 0 100%
toardb/timeseries/crud.py get_contributors_string 15 0 0 100%
toardb/timeseries/crud.py get_contributors_list 13 0 0 100%
toardb/timeseries/crud.py get_request_contributors 3 0 0 100%
toardb/timeseries/crud.py get_registered_request_contributors 7 0 0 100%
toardb/timeseries/crud.py register_request_contributors 14 2 0 86%
toardb/timeseries/crud.py get_timeseries_roles 1 0 0 100%
toardb/timeseries/crud.py get_timeseries_role_by_id 1 0 0 100%
toardb/timeseries/crud.py get_timeseries_annotations 1 0 0 100%
toardb/timeseries/crud.py get_timeseries_annotation_by_id 1 1 0 0%
toardb/timeseries/crud.py create_timeseries 90 24 0 73%
toardb/timeseries/crud.py patch_timeseries 140 29 0 79%
toardb/timeseries/crud.py (no function) 54 0 0 100%
toardb/timeseries/models.py (no function) 13 0 0 100%
toardb/timeseries/models_annotation.py (no function) 16 0 0 100%
toardb/timeseries/models_changelog.py (no function) 19 0 0 100%
toardb/timeseries/models_contributor.py (no function) 3 0 0 100%
toardb/timeseries/models_core.py (no function) 35 0 0 100%
toardb/timeseries/models_programme.py (no function) 12 0 0 100%
toardb/timeseries/models_role.py (no function) 15 0 0 100%
toardb/timeseries/schemas.py TimeseriesCoreBase.check_sampling_frequency 2 0 0 100%
toardb/timeseries/schemas.py TimeseriesCoreBase.check_aggregation 2 0 0 100%
toardb/timeseries/schemas.py TimeseriesCoreBase.check_data_origin_type 2 0 0 100%
toardb/timeseries/schemas.py TimeseriesCoreBase.check_data_origin 2 0 0 100%
toardb/timeseries/schemas.py TimeseriesCoreBase.check_additional_metadata 9 2 0 78%
toardb/timeseries/schemas.py TimeseriesCoreCreate.check_sampling_frequency 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesCoreCreate.check_aggregation 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesCoreCreate.check_data_origin_type 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesCoreCreate.check_data_origin 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesCoreCreate.check_additional_metadata 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesRoleBase.check_role 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesRoleBase.check_status 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesRoleBase.check_contact_is_private 5 1 0 80%
toardb/timeseries/schemas.py TimeseriesRoleCreate.check_role 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesRoleCreate.check_status 3 1 0 67%
toardb/timeseries/schemas.py TimeseriesRoleFields.check_role 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesRoleFields.check_status 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesAnnotationBase.check_kind 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesAnnotationPatch.check_kind 1 1 0 0%
toardb/timeseries/schemas.py TimeseriesAnnotationCreate.check_kind 3 3 0 0%
toardb/timeseries/schemas.py TimeseriesChangelogBase.check_role 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesBase.order_changelog 1 0 0 100%
toardb/timeseries/schemas.py TimeseriesBase.check_roles 3 0 0 100%
toardb/timeseries/schemas.py TimeseriesBase.check_annotations 3 0 0 100%
toardb/timeseries/schemas.py TimeseriesBase.check_changelog 3 0 0 100%
toardb/timeseries/schemas.py Timeseries.check_station_country 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_coordinate_validation_status 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_type 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_type_of_area 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_timezone 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_climatic_zone 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_toar1_category 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_toar2_category 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_htap_region_tier1 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_dominant_landcover_year2012 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_landcover_description_year2012 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_ecoregion_description_25km_year2017 1 1 0 0%
toardb/timeseries/schemas.py Timeseries.check_dominant_ecoregion_year2017 1 1 0 0%
toardb/timeseries/schemas.py TimeseriesWithCitation.check_sampling_frequency 5 2 0 60%
toardb/timeseries/schemas.py TimeseriesWithCitation.check_aggregation 5 2 0 60%
toardb/timeseries/schemas.py TimeseriesWithCitation.check_data_origin_type 5 2 0 60%
toardb/timeseries/schemas.py TimeseriesWithCitation.check_data_origin 5 2 0 60%
toardb/timeseries/schemas.py TimeseriesWithCitation.check_additional_metadata 1 0 0 100%
toardb/timeseries/schemas.py (no function) 272 0 0 100%
toardb/timeseries/timeseries.py get_query_params 3 0 0 100%
toardb/timeseries/timeseries.py search_all_timeseries 2 0 0 100%
toardb/timeseries/timeseries.py search_all_timeseries_aggregations 6 0 0 100%
toardb/timeseries/timeseries.py get_all_timeseries 5 0 0 100%
toardb/timeseries/timeseries.py get_timeseries 4 0 0 100%
toardb/timeseries/timeseries.py get_timeseries2 4 0 0 100%
toardb/timeseries/timeseries.py get_citation 2 0 0 100%
toardb/timeseries/timeseries.py get_timeseries 4 4 0 0%
toardb/timeseries/timeseries.py get_timeseries_changelog 2 2 0 0%
toardb/timeseries/timeseries.py get_timeseries_programme 2 2 0 0%
toardb/timeseries/timeseries.py get_registered_request_contributors 2 0 0 100%
toardb/timeseries/timeseries.py register_request_contributors 1 0 0 100%
toardb/timeseries/timeseries.py get_request_contributors 2 0 0 100%
toardb/timeseries/timeseries.py create_timeseries 3 0 0 100%
toardb/timeseries/timeseries.py patch_timeseries 8 1 0 88%
toardb/timeseries/timeseries.py (no function) 48 0 0 100%
toardb/toardb.py profile_request 3 0 10 100%
toardb/toardb.py add_process_time_header 1 0 7 100%
toardb/toardb.py response_to_csv 11 8 0 27%
toardb/toardb.py read_openapi_yaml 4 4 0 0%
toardb/toardb.py show_api 2 2 0 0%
toardb/toardb.py read_onto 3 3 0 0%
toardb/toardb.py info 2 0 0 100%
toardb/toardb.py info 6 0 0 100%
toardb/toardb.py stats_info 3 0 0 100%
toardb/toardb.py stats_info 3 0 0 100%
toardb/toardb.py geo_info 2 0 0 100%
toardb/toardb.py get_db 4 4 0 0%
toardb/toardb.py __get_enum_dict 6 0 0 100%
toardb/toardb.py startup_event 32 0 0 100%
toardb/toardb.py (no function) 89 0 0 100%
toardb/utils/__init__.py (no function) 0 0 0 100%
toardb/utils/database.py get_engine 0 0 2 100%
toardb/utils/database.py get_db 0 0 5 100%
toardb/utils/database.py (no function) 5 0 2 100%
toardb/utils/deployment_settings.py (no function) 1 0 0 100%
toardb/utils/settings.py (no function) 5 0 0 100%
toardb/utils/utils.py get_access_rights 26 10 0 62%
toardb/utils/utils.py get_admin_access_rights 1 1 0 0%
toardb/utils/utils.py get_station_md_change_access_rights 1 1 0 0%
toardb/utils/utils.py get_timeseries_md_change_access_rights 1 1 0 0%
toardb/utils/utils.py get_data_change_access_rights 1 1 0 0%
toardb/utils/utils.py get_register_contributors_access_rights 1 0 0 100%
toardb/utils/utils.py get_data_download_access_rights 6 6 0 0%
toardb/utils/utils.py get_map_data_download_access_rights 1 1 0 0%
toardb/utils/utils.py get_str_from_value 1 0 0 100%
toardb/utils/utils.py get_displaystr_from_value 1 0 0 100%
toardb/utils/utils.py get_value_from_str 4 2 0 50%
toardb/utils/utils.py get_value_from_display_str 1 1 0 0%
toardb/utils/utils.py get_hr_value 8 3 0 62%
toardb/utils/utils.py translate_convoc_list 4 2 0 50%
toardb/utils/utils.py normalize_metadata 6 6 0 0%
toardb/utils/utils.py pop_non_merged 3 0 0 100%
toardb/utils/utils.py create_filter 197 16 0 92%
toardb/utils/utils.py (no function) 44 0 0 100%
toardb/variables/__init__.py (no function) 0 0 0 100%
toardb/variables/crud.py get_variable 1 0 0 100%
toardb/variables/crud.py get_variable_by_name 1 0 0 100%
toardb/variables/crud.py get_variables 15 0 0 100%
toardb/variables/crud.py create_variable 5 0 0 100%
toardb/variables/crud.py (no function) 9 0 0 100%
toardb/variables/models.py (no function) 14 0 0 100%
toardb/variables/schemas.py (no function) 14 0 0 100%
toardb/variables/variables.py create_variable 4 0 0 100%
toardb/variables/variables.py get_variables 2 0 0 100%
toardb/variables/variables.py get_variable_by_name 4 0 0 100%
toardb/variables/variables.py get_variable_by_id 4 0 0 100%
toardb/variables/variables.py (no function) 14 0 0 100%
Total   6390 680 26 89%

No items found using the specified filter.