Coverage report: 99%

Files Functions Classes

coverage.py v7.10.1, created at 2025-07-29 15:38 +0000

File function statements missing excluded branches partial coverage
dalima/__init__.py (no function) 0 0 0 0 0 100%
dalima/settings.py (no function) 54 1 0 4 2 95%
dalima/urls.py HealthCheck.get 1 0 0 0 0 100%
dalima/urls.py (no function) 10 1 0 2 1 83%
datacite/__init__.py (no function) 0 0 0 0 0 100%
datacite/admin.py (no function) 67 0 0 0 0 100%
datacite/apps.py (no function) 4 0 0 0 0 100%
datacite/datacite.py DataciteRESTClient.__init__ 4 0 0 4 0 100%
datacite/datacite.py DataciteRESTClient.get_doi_metadata 6 0 0 2 0 100%
datacite/datacite.py DataciteRESTClient.get_metadata_of_doi_list 8 0 0 6 0 100%
datacite/datacite.py DataciteRESTClient.upsert_doi 3 0 0 0 0 100%
datacite/datacite.py (no function) 16 0 0 0 0 100%
datacite/fdsn.py FdsnRESTClient.get_all_networks 6 0 0 2 0 100%
datacite/fdsn.py FdsnRESTClient.get_doi_list 7 0 0 4 1 91%
datacite/fdsn.py FdsnRESTClient.exists_network_doi 3 0 0 2 0 100%
datacite/fdsn.py (no function) 13 0 0 0 0 100%
datacite/forms.py DalimaFormHelper.__init__ 5 0 0 0 0 100%
datacite/forms.py MetadataFormHelper.__init__ 5 0 0 0 0 100%
datacite/forms.py InlineFormSetHelper.__init__ 3 0 0 0 0 100%
datacite/forms.py DalimaForm.__init__ 2 0 0 0 0 100%
datacite/forms.py DateInput.__init__ 1 0 0 0 0 100%
datacite/forms.py MetadataForm.__init__ 2 0 0 0 0 100%
datacite/forms.py MetadataForm.clean 4 0 0 2 0 100%
datacite/forms.py BaseTitleFormSet.clean 8 2 0 6 2 71%
datacite/forms.py (no function) 108 0 0 0 0 100%
datacite/management/__init__.py (no function) 0 0 0 0 0 100%
datacite/management/commands/__init__.py (no function) 0 0 0 0 0 100%
datacite/management/commands/populate.py Command.add_arguments 3 0 0 0 0 100%
datacite/management/commands/populate.py Command.handle 3 0 0 2 0 100%
datacite/management/commands/populate.py Command.import_networks 28 1 0 8 1 94%
datacite/management/commands/populate.py Command.save_network 5 0 0 0 0 100%
datacite/management/commands/populate.py Command.get_fdsn_network_from 1 0 0 0 0 100%
datacite/management/commands/populate.py Command.get_datacite_data 2 0 0 0 0 100%
datacite/management/commands/populate.py (no function) 18 0 0 0 0 100%
datacite/models.py IdentifierScheme.__str__ 1 0 0 0 0 100%
datacite/models.py IdentifierQuerySet.get_or_create 5 0 0 4 0 100%
datacite/models.py IdentifierQuerySet.get_or_create_specific 12 2 0 2 0 86%
datacite/models.py Identifier.__str__ 1 0 0 0 0 100%
datacite/models.py ResourceType.__str__ 1 0 0 0 0 100%
datacite/models.py Publisher.__str__ 1 0 0 0 0 100%
datacite/models.py Participant.__str__ 1 0 0 0 0 100%
datacite/models.py MetadataCreator.__str__ 1 0 0 0 0 100%
datacite/models.py MetadataContributor.__str__ 1 0 0 0 0 100%
datacite/models.py Rights.__str__ 1 0 0 0 0 100%
datacite/models.py Description.__str__ 1 0 0 0 0 100%
datacite/models.py Format.__str__ 1 0 0 0 0 100%
datacite/models.py Funding.__str__ 8 0 0 6 0 100%
datacite/models.py MetadataManager.create_from_network 5 0 0 0 0 100%
datacite/models.py Metadata.__str__ 1 0 0 0 0 100%
datacite/models.py Metadata.get_absolute_url 1 0 0 0 0 100%
datacite/models.py Metadata.add_ordered_creator 1 0 0 0 0 100%
datacite/models.py Metadata.add_ordered_creators 3 0 0 0 0 100%
datacite/models.py Metadata.add_ordered_creators_from_ids 13 0 0 6 0 100%
datacite/models.py Title.__str__ 1 0 0 0 0 100%
datacite/models.py Subject.__str__ 1 0 0 0 0 100%
datacite/models.py RelatedIdentifier.__str__ 1 0 0 0 0 100%
datacite/models.py Geolocation.__str__ 4 0 0 2 0 100%
datacite/models.py Geolocation.latitude_2_str 3 0 0 2 0 100%
datacite/models.py Geolocation.longitude_2_str 3 0 0 2 0 100%
datacite/models.py (no function) 256 0 0 0 0 100%
datacite/serializers.py IdentifierSchemeSerializer.validate 7 0 0 2 1 89%
datacite/serializers.py IdentifierSchemeSerializer.create 2 0 0 0 0 100%
datacite/serializers.py IdentifierSchemeSerializer.get_or_create 4 0 0 0 0 100%
datacite/serializers.py IdentifierSerializer.create 6 0 0 2 0 100%
datacite/serializers.py IdentifierSerializer.to_representation 1 0 0 0 0 100%
datacite/serializers.py IdentifierSerializer.__init__ 5 0 0 2 0 100%
datacite/serializers.py IdentifierSerializer.reformat_data 3 0 0 2 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.__init__ 2 0 0 0 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.to_representation 7 0 0 2 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.to_internal_value_identifier 6 0 0 4 2 80%
datacite/serializers.py MultiIdentifiedObjectSerializer.to_internal_value 6 0 0 4 1 90%
datacite/serializers.py MultiIdentifiedObjectSerializer.create 13 0 0 10 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.create_identifier 4 0 0 4 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.get_identifiers_label 1 0 0 0 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.get_identifier_label 1 0 0 0 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.get_identifier_scheme_label 1 0 0 0 0 100%
datacite/serializers.py MultiIdentifiedObjectSerializer.get_scheme_uri_label 1 0 0 0 0 100%
datacite/serializers.py SingleIdentifiedObjectSerializer.__init__ 3 0 0 0 0 100%
datacite/serializers.py SingleIdentifiedObjectSerializer.to_representation 5 0 0 2 0 100%
datacite/serializers.py SingleIdentifiedObjectSerializer.to_internal_value 4 0 0 2 0 100%
datacite/serializers.py AffiliationSerializer.to_internal_value 5 0 0 2 0 100%
datacite/serializers.py AffiliationSerializer.transform_string_input_to_name 3 0 0 2 0 100%
datacite/serializers.py AffiliationSerializer.transform_affiliation_identifier 8 0 0 6 0 100%
datacite/serializers.py DataciteParticipantSerializer.to_internal_value 6 0 0 2 0 100%
datacite/serializers.py ParticipantSerializer.create 9 2 0 2 0 82%
datacite/serializers.py ParticipantSerializer.to_representation 18 0 0 8 2 92%
datacite/serializers.py FundingSerializer.to_internal_value 17 0 0 12 0 100%
datacite/serializers.py FundingSerializer.create 20 0 0 8 0 100%
datacite/serializers.py FundingSerializer.try_to_get_scheme_uri_if_missing 11 0 0 8 0 100%
datacite/serializers.py FundingSerializer.to_representation 12 0 0 6 0 100%
datacite/serializers.py FundingSerializer.validate 5 0 0 2 0 100%
datacite/serializers.py RightsSerializer.to_representation 5 0 0 2 0 100%
datacite/serializers.py TitleSerializer.to_internal_value 4 0 0 2 0 100%
datacite/serializers.py TitleSerializer.to_representation 4 0 0 2 1 83%
datacite/serializers.py GeolocationSerializer.to_internal_value 4 0 0 0 0 100%
datacite/serializers.py GeolocationSerializer.to_representation 8 0 0 4 0 100%
datacite/serializers.py GeolocationSerializer.clean_location_box 4 0 0 4 0 100%
datacite/serializers.py MetadataSerializer.date_serializer 7 0 0 4 0 100%
datacite/serializers.py MetadataSerializer.dates_serializer 6 0 0 4 0 100%
datacite/serializers.py MetadataSerializer.sizes_serializer 1 0 0 0 0 100%
datacite/serializers.py MetadataSerializer.to_representation 12 0 0 0 0 100%
datacite/serializers.py convert_from_plain_to_nested 12 0 0 8 0 100%
datacite/serializers.py MetadataDeserializer.__init__ 6 0 0 6 0 100%
datacite/serializers.py MetadataDeserializer.create 43 0 0 22 0 100%
datacite/serializers.py MetadataDeserializer.to_internal_value 15 0 0 6 0 100%
datacite/serializers.py MetadataDeserializer.get_or_create_formats 8 0 0 2 0 100%
datacite/serializers.py MetadataDeserializer.extract_date 10 0 0 6 0 100%
datacite/serializers.py MetadataDeserializer.extract_dates 9 0 0 8 0 100%
datacite/serializers.py (no function) 186 0 0 0 0 100%
datacite/urls.py (no function) 4 0 0 0 0 100%
datacite/utils.py _str_to_date 1 0 0 0 0 100%
datacite/utils.py year_to_date 1 0 0 0 0 100%
datacite/utils.py str_date_to_date 1 0 0 0 0 100%
datacite/utils.py (no function) 10 0 0 0 0 100%
datacite/validators.py validate_uri 3 0 0 2 0 100%
datacite/validators.py (no function) 9 0 0 0 0 100%
datacite/views.py MetadataList.get_queryset 1 0 0 0 0 100%
datacite/views.py MetadataDetail.post 18 0 0 4 0 100%
datacite/views.py MetadataDetail.get_queryset 1 0 0 0 0 100%
datacite/views.py MetadataUpdate.get_queryset 1 0 0 0 0 100%
datacite/views.py MetadataUpdate.get_context_data 4 0 0 0 0 100%
datacite/views.py MetadataUpdate.form_valid 5 0 0 2 1 86%
datacite/views.py MetadataUpdate.manage_creators 2 0 0 0 0 100%
datacite/views.py CreatorCreate.form_valid 3 0 0 0 0 100%
datacite/views.py CreatorCreate.get_context_data 6 0 0 0 0 100%
datacite/views.py RightsCreate.form_valid 3 0 0 0 0 100%
datacite/views.py RightsCreate.get_context_data 5 0 0 0 0 100%
datacite/views.py FunderCreate.form_valid 3 0 0 0 0 100%
datacite/views.py FunderCreate.get_context_data 5 0 0 0 0 100%
datacite/views.py FundingCreate.form_valid 3 0 0 0 0 100%
datacite/views.py FundingCreate.get_context_data 4 0 0 0 0 100%
datacite/views.py NetworkCreate.get_context_data 4 0 0 0 0 100%
datacite/views.py NetworkCreate.form_valid 6 0 0 4 0 100%
datacite/views.py (no function) 87 0 0 0 0 100%
network/__init__.py (no function) 0 0 0 0 0 100%
network/admin.py (no function) 3 0 0 0 0 100%
network/apps.py (no function) 4 0 0 0 0 100%
network/forms.py (no function) 8 0 0 0 0 100%
network/models.py Network.__str__ 3 0 0 2 0 100%
network/models.py Network.get_absolute_url 1 0 0 0 0 100%
network/models.py Network.is_temporary 1 0 0 0 0 100%
network/models.py Network.generate_doi 3 0 0 2 0 100%
network/models.py Network.supported 4 0 0 4 0 100%
network/models.py (no function) 19 0 0 0 0 100%
network/views.py (no function) 0 0 0 0 0 100%
Total   1504 9 0 262 15 99%

No items found using the specified filter.