Coverage report: 92%

Files Functions Classes

coverage.py v7.13.5, created at 2026-07-01 13:49 +0000

File function   statements missing excluded   coverage
ramose / __init__.py (no function)   8 0 0   100%
ramose / _constants.py media_type_for_format   1 0 0   100%
ramose / _constants.py backend_auth_header   2 0 0   100%
ramose / _constants.py (no function)   10 0 0   100%
ramose / api_manager.py APIManager.__max_size_csv   5 0 2   100%
ramose / api_manager.py APIManager._load_addon   5 0 0   100%
ramose / api_manager.py APIManager._process_api_metadata   27 1 0   96%
ramose / api_manager.py APIManager.__init__   17 1 0   94%
ramose / api_manager.py APIManager._build_operation_prefixes   10 0 0   100%
ramose / api_manager.py APIManager.nor_api_url   8 0 0   100%
ramose / api_manager.py APIManager.best_match   12 1 0   92%
ramose / api_manager.py APIManager._parse_format_map   16 0 0   100%
ramose / api_manager.py APIManager._retry_config_for_operation   4 0 0   100%
ramose / api_manager.py APIManager._resolve_custom_param_configs   10 1 0   90%
ramose / api_manager.py APIManager.get_op   26 0 0   100%
ramose / api_manager.py (no function)   48 2 0   96%
ramose / auth.py TokenStore.__init__   5 0 0   100%
ramose / auth.py TokenStore._hash   1 0 0   100%
ramose / auth.py TokenStore.create   6 0 0   100%
ramose / auth.py TokenStore.validate   5 0 0   100%
ramose / auth.py TokenStore.revoke   3 0 0   100%
ramose / auth.py TokenStore.list_tokens   1 0 0   100%
ramose / auth.py (no function)   14 0 0   100%
ramose / cache.py ResultCache.__init__   5 0 0   100%
ramose / cache.py ResultCache.get   2 0 0   100%
ramose / cache.py ResultCache.set   2 0 0   100%
ramose / cache.py ResultCache.clear   2 2 0   0%
ramose / cache.py (no function)   10 0 0   100%
ramose / datatype.py _parse_datetime   12 2 0   83%
ramose / datatype.py _parse_duration   7 2 0   71%
ramose / datatype.py _add_duration   8 0 0   100%
ramose / datatype.py DataType.__init__   1 0 0   100%
ramose / datatype.py DataType.get_func   1 0 0   100%
ramose / datatype.py DataType.duration   3 0 0   100%
ramose / datatype.py DataType.datetime   1 0 0   100%
ramose / datatype.py DataType.str   1 0 0   100%
ramose / datatype.py DataType.int   1 0 0   100%
ramose / datatype.py DataType.float   1 0 0   100%
ramose / datatype.py (no function)   32 1 0   97%
ramose / documentation.py DocumentationHandler.__init__   1 0 0   100%
ramose / documentation.py DocumentationHandler.get_documentation   0 0 0   100%
ramose / documentation.py DocumentationHandler.store_documentation   0 0 0   100%
ramose / documentation.py DocumentationHandler.get_index   0 0 0   100%
ramose / documentation.py (no function)   13 1 3   92%
ramose / filters.py render   1 0 0   100%
ramose / filters.py _select_template   6 0 0   100%
ramose / filters.py _is_always_empty   1 0 0   100%
ramose / filters.py apply_filters   24 0 0   100%
ramose / filters.py load_filters_config   1 0 0   100%
ramose / filters.py (no function)   13 0 0   100%
ramose / hash_format.py parse_disable_params   4 0 0   100%
ramose / hash_format.py parse_auth   1 0 0   100%
ramose / hash_format.py _is_yaml_handler   1 0 0   100%
ramose / hash_format.py parse_custom_params   17 1 0   94%
ramose / hash_format.py HashFormatHandler._process_field_line   8 0 0   100%
ramose / hash_format.py HashFormatHandler.read   20 0 0   100%
ramose / hash_format.py YAMLSpecHandler.read   10 0 0   100%
ramose / hash_format.py YAMLSpecHandler._normalize_section   13 0 0   100%
ramose / hash_format.py read_spec_file   3 0 0   100%
ramose / hash_format.py (no function)   20 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__title   1 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__htmlmetadescription   3 0 1   100%
ramose / html_documentation.py HTMLDocumentationHandler.__sidebar   3 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__header   4 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__parameters   17 1 0   94%
ramose / html_documentation.py HTMLDocumentationHandler.__operations   25 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__footer   2 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__css   1 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.__css_path   1 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.logger_ramose   0 0 12   100%
ramose / html_documentation.py HTMLDocumentationHandler.__parse_logger_ramose   19 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.get_documentation   5 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.get_index   1 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.store_documentation   3 0 0   100%
ramose / html_documentation.py HTMLDocumentationHandler.clean_log   11 0 0   100%
ramose / html_documentation.py (no function)   27 1 1   96%
ramose / openapi_documentation.py _read_swagger_asset   1 0 0   100%
ramose / openapi_documentation.py _MarkupParser.__init__   5 0 0   100%
ramose / openapi_documentation.py _MarkupParser.handle_starttag   3 0 0   100%
ramose / openapi_documentation.py _MarkupParser.handle_endtag   4 0 0   100%
ramose / openapi_documentation.py _MarkupParser.handle_data   3 0 0   100%
ramose / openapi_documentation.py _MarkupParser.text   1 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._normalize_base_url   1 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._get_conf   5 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._schema_for_ramose_type   10 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._parse_param_type_shape   5 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._parse_markup   3 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._guess_contact   13 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._clean_text   6 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._param_hint_from_preprocess   6 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._try_parse_output_json   6 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._collect_format_tokens   14 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._format_media_type_map   11 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._single_response_media_type   9 2 0   78%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._csv_example   15 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._content_entry   10 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_response_content   0 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_response_content   0 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_response_content   8 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_single_format_response   4 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._extract_param_examples_from_call   18 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_row_schema_from_field_type   4 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._infer_schema_from_value   16 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_info   18 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_common_parameters   1 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_path_params   21 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_request_body   6 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_operation_object   41 1 0   98%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._server_url   1 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._build_openapi   28 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._to_builtin   7 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._dump_yaml   5 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._dump_yaml._RamoseYamlDumper.ignore_aliases   1 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler._dump_yaml._str_presenter   3 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler.get_documentation   4 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler.get_swagger_ui   6 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler.store_documentation   3 0 0   100%
ramose / openapi_documentation.py OpenAPIDocumentationHandler.get_index   1 0 0   100%
ramose / openapi_documentation.py (no function)   77 1 0   99%
ramose / operation.py SparqlAnythingEngine.select   1 1 0   0%
ramose / operation.py HttpError.__init__   2 0 0   100%
ramose / operation.py OperationConfig.__post_init__   9 6 0   33%
ramose / operation.py Operation.__init__   27 1 0   96%
ramose / operation.py Operation._public_request_url   4 1 0   75%
ramose / operation.py Operation._converter_request_url   5 0 0   100%
ramose / operation.py Operation._is_builtin_param_active   1 0 0   100%
ramose / operation.py Operation._raise_unprocessable   1 0 0   100%
ramose / operation.py Operation._parse_positive_int_param   8 0 0   100%
ramose / operation.py Operation._validate_page_range   2 0 0   100%
ramose / operation.py Operation.get_content_type   6 0 0   100%
ramose / operation.py Operation._resolve_format   13 0 0   100%
ramose / operation.py Operation._media_type_for_format   3 0 0   100%
ramose / operation.py Operation._validate_format_values   4 0 0   100%
ramose / operation.py Operation.media_type_to_format   11 0 0   100%
ramose / operation.py Operation.conv   20 1 0   95%
ramose / operation.py Operation.pv   3 0 0   100%
ramose / operation.py Operation.tv   3 0 0   100%
ramose / operation.py Operation.do_overlap   3 0 0   100%
ramose / operation.py Operation.get_item_in_dict   11 0 0   100%
ramose / operation.py Operation.add_item_in_dict   12 0 0   100%
ramose / operation.py Operation._apply_array_transform   3 0 0   100%
ramose / operation.py Operation._apply_dict_transform   9 0 0   100%
ramose / operation.py Operation.structured   22 0 0   100%
ramose / operation.py Operation.preprocess   11 0 0   100%
ramose / operation.py Operation.postprocess   12 0 0   100%
ramose / operation.py Operation._apply_require   6 0 0   100%
ramose / operation.py Operation._apply_filter   27 2 0   93%
ramose / operation.py Operation._apply_sort   13 0 0   100%
ramose / operation.py Operation.handling_params   11 0 0   100%
ramose / operation.py Operation.type_fields   17 0 0   100%
ramose / operation.py Operation.remove_types   3 0 0   100%
ramose / operation.py Operation._is_directive   1 0 0   100%
ramose / operation.py Operation._parse_directive_args   31 2 0   94%
ramose / operation.py Operation._handle_directive_with   25 0 0   100%
ramose / operation.py Operation._handle_directive_join   2 0 0   100%
ramose / operation.py Operation._handle_directive_values   5 0 0   100%
ramose / operation.py Operation._handle_directive_foreach   11 0 0   100%
ramose / operation.py Operation._handle_directive_page   6 0 0   100%
ramose / operation.py Operation._process_directive   8 0 0   100%
ramose / operation.py Operation._update_directive_state   5 0 0   100%
ramose / operation.py Operation._parse_steps   20 0 0   100%
ramose / operation.py Operation._parse_steps.flush_query   9 0 0   100%
ramose / operation.py Operation._send_sparql_csv_request   4 0 0   100%
ramose / operation.py Operation._request_sparql_csv   25 2 0   92%
ramose / operation.py Operation._sleep_before_retry   2 1 0   50%
ramose / operation.py Operation._run_sparql_dicts   8 0 0   100%
ramose / operation.py Operation._normalize_sparql_json_resultset   2 0 0   100%
ramose / operation.py Operation._normalize_columnar_dict   12 0 0   100%
ramose / operation.py Operation._sparql_anything_error_status   10 0 0   100%
ramose / operation.py Operation._raise_sparql_anything_error   2 0 0   100%
ramose / operation.py Operation._request_sparql_anything_select   18 4 0   78%
ramose / operation.py Operation._run_sparql_anything_dicts   20 0 0   100%
ramose / operation.py Operation._run_query_dicts   6 2 0   67%
ramose / operation.py Operation._inject_values_clause   18 0 0   100%
ramose / operation.py Operation._inject_values_clause.fmt   4 0 0   100%
ramose / operation.py Operation._drop_columns   4 0 0   100%
ramose / operation.py Operation._norm_join_key   6 0 0   100%
ramose / operation.py Operation._merge_row   11 0 0   100%
ramose / operation.py Operation._join   20 0 0   100%
ramose / operation.py Operation._apply_custom_postprocess_params   7 3 0   57%
ramose / operation.py Operation._cache_ttl   3 1 0   67%
ramose / operation.py Operation._build_cache_key   8 0 0   100%
ramose / operation.py Operation._extract_pagination_params   11 0 0   100%
ramose / operation.py Operation._has_custom_converter   7 0 0   100%
ramose / operation.py Operation._paginate_and_format   19 0 0   100%
ramose / operation.py Operation._cache_value   4 0 0   100%
ramose / operation.py Operation._format_cached_result   5 0 0   100%
ramose / operation.py Operation._finalize_result   11 0 0   100%
ramose / operation.py Operation._header_from_field_type   3 0 0   100%
ramose / operation.py Operation._to_csv_rows   3 0 0   100%
ramose / operation.py Operation._extract_params   18 2 0   89%
ramose / operation.py Operation._resolve_preprocess_handler   4 1 0   75%
ramose / operation.py Operation._apply_custom_preprocess_params   12 1 0   92%
ramose / operation.py Operation._exec_standard_sparql   17 0 0   100%
ramose / operation.py Operation._exec_foreach_query   18 0 0   100%
ramose / operation.py Operation._exec_multi_source_query_step   16 0 0   100%
ramose / operation.py Operation._exec_page_step   33 2 0   94%
ramose / operation.py Operation._exec_multi_source   21 0 0   100%
ramose / operation.py Operation._format_error   4 0 0   100%
ramose / operation.py Operation.exec   21 1 0   95%
ramose / operation.py Operation._prepare_params   6 0 0   100%
ramose / operation.py Operation._dispatch_exec   18 0 0   100%
ramose / operation.py Operation._is_write   1 0 0   100%
ramose / operation.py Operation._escape_literal   2 0 0   100%
ramose / operation.py Operation._escape_iri   4 0 0   100%
ramose / operation.py Operation._bind_sparql_value   7 1 0   86%
ramose / operation.py Operation._format_write_success   3 0 0   100%
ramose / operation.py Operation._exec_update   19 3 0   84%
ramose / operation.py (no function)   193 7 0   96%
ramose / paging.py build_pagination_info   7 0 0   100%
ramose / paging.py build_link_header   8 0 0   100%
ramose / paging.py _page_url   5 0 0   100%
ramose / paging.py (no function)   17 0 0   100%
ramose / skg_if / __init__.py (no function)   3 0 0   100%
ramose / skg_if / _base.py _collect_identifiers   9 0 0   100%
ramose / skg_if / _base.py _order_linked_list   17 3 0   82%
ramose / skg_if / _base.py _build_agent   28 1 0   96%
ramose / skg_if / _base.py _build_org   14 3 0   79%
ramose / skg_if / _base.py _merge_org_multivalued   14 14 0   0%
ramose / skg_if / _base.py _collect_declared_affiliations   12 3 0   75%
ramose / skg_if / _base.py _enrich_contributor   6 2 0   67%
ramose / skg_if / _base.py _process_contributor_row   26 5 0   81%
ramose / skg_if / _base.py _collect_contributors   14 0 0   100%
ramose / skg_if / _base.py _build_venue   19 1 0   95%
ramose / skg_if / _base.py _normalize_datetime   8 1 0   88%
ramose / skg_if / _base.py _collect_manifestation_dates   9 0 0   100%
ramose / skg_if / _base.py _build_biblio_venue   5 0 0   100%
ramose / skg_if / _base.py _build_biblio_hosting   11 8 0   27%
ramose / skg_if / _base.py _build_biblio   17 1 0   94%
ramose / skg_if / _base.py _build_manifestation_type   11 0 0   100%
ramose / skg_if / _base.py _build_status_with_description   8 5 0   38%
ramose / skg_if / _base.py _build_manifestation   27 5 0   81%
ramose / skg_if / _base.py _collect_related_products   13 0 0   100%
ramose / skg_if / _base.py _collect_topics   28 28 0   0%
ramose / skg_if / _base.py _collect_organisation   10 10 0   0%
ramose / skg_if / _base.py _build_grant   19 15 0   21%
ramose / skg_if / _base.py _collect_funding   30 30 0   0%
ramose / skg_if / _base.py normalize_local_identifier_url   1 0 0   100%
ramose / skg_if / _base.py _canonical_path   6 0 0   100%
ramose / skg_if / _base.py _build_search_result_page   1 0 0   100%
ramose / skg_if / _base.py _meta_base_url   5 0 0   100%
ramose / skg_if / _base.py _page_url   2 0 0   100%
ramose / skg_if / _base.py _raise_unprocessable   1 1 0   0%
ramose / skg_if / _base.py _parse_positive_int_param   8 3 0   62%
ramose / skg_if / _base.py _validate_page_range   2 1 0   50%
ramose / skg_if / _base.py _build_meta   31 1 0   97%
ramose / skg_if / _base.py _collect_passthrough_fields   9 0 0   100%
ramose / skg_if / _base.py _add_formatted_text   3 0 0   100%
ramose / skg_if / _base.py _build_entity   20 1 0   95%
ramose / skg_if / _base.py _build_entities   6 0 0   100%
ramose / skg_if / _base.py _extract_entity_type   4 0 0   100%
ramose / skg_if / _base.py _is_single_entity_request   5 0 0   100%
ramose / skg_if / _base.py _fill_missing_columns   8 1 0   88%
ramose / skg_if / _base.py to_skg_if   23 1 0   96%
ramose / skg_if / _base.py (no function)   69 0 0   100%
Total     2692 210 19   92%

No items found using the specified filter.