Coverage report: 51%

Files Functions Classes

coverage.py v7.6.8, created at 2024-12-20 09:24 +0000

File function statements missing excluded coverage
apis_core/__init__.py (no function) 1 0 0 100%
apis_core/apis_entities/__init__.py (no function) 0 0 0 100%
apis_core/apis_entities/abc.py E21_Person.__str__ 1 1 0 0%
apis_core/apis_entities/abc.py E53_Place.__str__ 1 0 0 100%
apis_core/apis_entities/abc.py E74_Group.__str__ 1 1 0 0%
apis_core/apis_entities/abc.py (no function) 22 0 0 100%
apis_core/apis_entities/api_views.py GetEntityGeneric.get 5 5 0 0%
apis_core/apis_entities/api_views.py ListEntityGeneric.get_queryset 6 6 0 0%
apis_core/apis_entities/api_views.py (no function) 15 0 0 100%
apis_core/apis_entities/apps.py (no function) 3 0 0 100%
apis_core/apis_entities/autocomplete3.py PropertyAutocomplete.get_autocomplete_property_choices 11 11 0 0%
apis_core/apis_entities/autocomplete3.py PropertyAutocomplete.get 3 3 0 0%
apis_core/apis_entities/autocomplete3.py (no function) 11 0 0 100%
apis_core/apis_entities/fields.py Select2WidgetMixin.media 18 18 0 0%
apis_core/apis_entities/fields.py (no function) 23 0 0 100%
apis_core/apis_entities/filtersets.py ModelSearchFilter.__init__ 6 6 0 0%
apis_core/apis_entities/filtersets.py ModelSearchFilter.filter 1 1 0 0%
apis_core/apis_entities/filtersets.py changed_since 3 3 0 0%
apis_core/apis_entities/filtersets.py AbstractEntityFilterSet.__init__ 10 10 0 0%
apis_core/apis_entities/filtersets.py (no function) 22 22 0 0%
apis_core/apis_entities/migrations/0001_initial.py (no function) 6 0 0 100%
apis_core/apis_entities/migrations/0002_remove_tempentityclass_text.py (no function) 4 0 0 100%
apis_core/apis_entities/migrations/0003_remove_tempentityclass_source.py (no function) 4 0 0 100%
apis_core/apis_entities/migrations/0004_delete_tempentityclass.py (no function) 4 0 0 100%
apis_core/apis_entities/migrations/__init__.py (no function) 0 0 0 100%
apis_core/apis_entities/models.py AbstractEntity.get_or_create_uri 9 9 0 0%
apis_core/apis_entities/models.py AbstractEntity.get_entity_list_filter 1 1 0 0%
apis_core/apis_entities/models.py AbstractEntity.get_prev_id 5 5 0 0%
apis_core/apis_entities/models.py AbstractEntity.get_next_id 5 5 0 0%
apis_core/apis_entities/models.py AbstractEntity.get_duplicate_url 2 2 0 0%
apis_core/apis_entities/models.py AbstractEntity.merge_start_date_written 1 1 0 0%
apis_core/apis_entities/models.py AbstractEntity.merge_end_date_written 1 1 0 0%
apis_core/apis_entities/models.py create_default_uri 13 1 0 92%
apis_core/apis_entities/models.py (no function) 24 0 0 100%
apis_core/apis_entities/serializers.py MinimalEntitySerializer.get_name 1 1 0 0%
apis_core/apis_entities/serializers.py (no function) 6 0 0 100%
apis_core/apis_entities/tables.py (no function) 8 8 0 0%
apis_core/apis_entities/templatetags/apis_entities.py url_replace 3 3 0 0%
apis_core/apis_entities/templatetags/apis_entities.py is_entity 2 2 0 0%
apis_core/apis_entities/templatetags/apis_entities.py entities_content_types 2 2 0 0%
apis_core/apis_entities/templatetags/apis_entities.py entities_verbose_name_plural_listview_url 2 2 0 0%
apis_core/apis_entities/templatetags/apis_entities.py (no function) 12 0 0 100%
apis_core/apis_entities/urls.py EntityToContenttypeConverter.to_python 5 5 0 0%
apis_core/apis_entities/urls.py EntityToContenttypeConverter.to_url 4 4 0 0%
apis_core/apis_entities/urls.py (no function) 16 0 0 100%
apis_core/apis_entities/utils.py get_entity_classes 1 1 0 0%
apis_core/apis_entities/utils.py get_entity_content_types 1 1 0 0%
apis_core/apis_entities/utils.py (no function) 5 0 0 100%
apis_core/apis_entities/views.py EntitiesDuplicate.get 4 4 0 0%
apis_core/apis_entities/views.py EntitiesAutocomplete.get_result_value 2 2 0 0%
apis_core/apis_entities/views.py EntitiesAutocomplete.get_queryset 8 8 0 0%
apis_core/apis_entities/views.py (no function) 17 0 0 100%
apis_core/apis_metainfo/__init__.py (no function) 0 0 0 100%
apis_core/apis_metainfo/admin.py (no function) 3 0 0 100%
apis_core/apis_metainfo/apps.py MetainfoConfig.ready 2 0 0 100%
apis_core/apis_metainfo/apps.py (no function) 8 0 0 100%
apis_core/apis_metainfo/filtersets.py (no function) 6 6 0 0%
apis_core/apis_metainfo/forms.py UriForm.__init__ 4 4 0 0%
apis_core/apis_metainfo/forms.py (no function) 3 3 0 0%
apis_core/apis_metainfo/migrations/0001_initial.py (no function) 7 0 0 100%
apis_core/apis_metainfo/migrations/0002_auto_20220201_1241.py (no function) 6 0 0 100%
apis_core/apis_metainfo/migrations/0003_auto_20220218_1530.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0004_auto_20230310_0804.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0005_delete_uricandidate.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0006_delete_text.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0007_delete_source.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0008_alter_rootobject_self_contenttype.py (no function) 5 0 0 100%
apis_core/apis_metainfo/migrations/0009_remove_collection_collection_type.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0010_rename_name_rootobject_deprecated_name.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0011_alter_rootobject_deprecated_name.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0012_remove_rootobject_deprecated_name.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0013_delete_collection.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/0014_remove_uri_domain_remove_uri_loaded_and_more.py (no function) 4 0 0 100%
apis_core/apis_metainfo/migrations/__init__.py (no function) 0 0 0 100%
apis_core/apis_metainfo/models.py RootObject.save 2 0 0 100%
apis_core/apis_metainfo/models.py InheritanceForwardManyToOneDescriptor.get_queryset 1 1 0 0%
apis_core/apis_metainfo/models.py UriQuerySet.get 3 3 0 0%
apis_core/apis_metainfo/models.py UriManager.get_queryset 1 0 0 100%
apis_core/apis_metainfo/models.py Uri.__str__ 1 1 0 0%
apis_core/apis_metainfo/models.py Uri.get_web_object 2 2 0 0%
apis_core/apis_metainfo/models.py Uri.save 2 0 0 100%
apis_core/apis_metainfo/models.py Uri.clean 13 11 0 15%
apis_core/apis_metainfo/models.py Uri.internal 2 2 0 0%
apis_core/apis_metainfo/models.py (no function) 32 0 0 100%
apis_core/apis_metainfo/serializers.py (no function) 8 8 0 0%
apis_core/apis_metainfo/tables.py UriTable.order_ent_type 2 2 0 0%
apis_core/apis_metainfo/tables.py (no function) 12 12 0 0%
apis_core/apis_metainfo/urls.py (no function) 4 0 0 100%
apis_core/apis_metainfo/viewsets.py UriToObjectViewSet.list 9 9 0 0%
apis_core/apis_metainfo/viewsets.py (no function) 9 0 0 100%
apis_core/apis_relations/__init__.py (no function) 0 0 0 100%
apis_core/apis_relations/admin.py (no function) 4 0 0 100%
apis_core/apis_relations/apps.py RelationsConfig.ready 1 0 0 100%
apis_core/apis_relations/apps.py (no function) 5 0 0 100%
apis_core/apis_relations/filters.py related_entity 9 9 0 0%
apis_core/apis_relations/filters.py PropertyChoiceField.label_from_instance 4 4 0 0%
apis_core/apis_relations/filters.py PropertyFilter.__init__ 6 6 0 0%
apis_core/apis_relations/filters.py PropertyFilter.filter 5 5 0 0%
apis_core/apis_relations/filters.py (no function) 14 14 0 0%
apis_core/apis_relations/filtersets.py PropertySubjObjFilter.get_queryset 1 1 0 0%
apis_core/apis_relations/filtersets.py TripleFilterSet.subj_icontains 1 1 0 0%
apis_core/apis_relations/filtersets.py TripleFilterSet.obj_icontains 1 1 0 0%
apis_core/apis_relations/filtersets.py TripleFilterSet.class_in 4 4 0 0%
apis_core/apis_relations/filtersets.py (no function) 30 30 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.__init__ 14 14 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.load_subj_obj_prop 18 18 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.load_remaining_data_from_triple 4 4 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.load_remaining_data_from_input 2 2 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.save 10 10 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.get_text_id 1 1 0 0%
apis_core/apis_relations/forms.py GenericTripleForm.get_html_table 6 6 0 0%
apis_core/apis_relations/forms.py (no function) 28 0 0 100%
apis_core/apis_relations/migrations/0001_initial.py (no function) 7 0 0 100%
apis_core/apis_relations/migrations/0002_property_property_class_uri.py (no function) 4 0 0 100%
apis_core/apis_relations/migrations/0003_auto_20230123_1715.py (no function) 4 0 0 100%
apis_core/apis_relations/migrations/0004_auto_20230124_1201.py (no function) 6 0 0 100%
apis_core/apis_relations/migrations/0005_alter_property_obj_class_alter_property_subj_class.py (no function) 4 0 0 100%
apis_core/apis_relations/migrations/0006_versiontemptriple.py (no function) 9 0 0 100%
apis_core/apis_relations/migrations/0007_alter_versiontemptriple_options.py (no function) 4 0 0 100%
apis_core/apis_relations/migrations/__init__.py (no function) 0 0 0 100%
apis_core/apis_relations/models.py find_if_user_accepted 6 6 0 0%
apis_core/apis_relations/models.py BaseRelationManager.get_queryset 1 0 0 100%
apis_core/apis_relations/models.py BaseRelationManager.filter_ann_proj 1 1 0 0%
apis_core/apis_relations/models.py BaseRelationManager.filter_for_user 3 3 0 0%
apis_core/apis_relations/models.py Property.__str__ 1 1 0 0%
apis_core/apis_relations/models.py Property.save 11 5 0 55%
apis_core/apis_relations/models.py subj_or_obj_class_changed 15 2 0 87%
apis_core/apis_relations/models.py subj_or_obj_class_changed.cascade_subj_obj_class_to_children 9 3 0 67%
apis_core/apis_relations/models.py subj_or_obj_class_changed.cascade_subj_obj_class_to_children.get_all_parents 9 3 0 67%
apis_core/apis_relations/models.py subj_or_obj_class_changed.cascade_subj_obj_class_to_children.get_all_children 7 3 0 57%
apis_core/apis_relations/models.py subj_class_changed 1 0 0 100%
apis_core/apis_relations/models.py obj_class_changed 1 0 0 100%
apis_core/apis_relations/models.py RelationPublishedQueryset.filter_for_user 8 8 0 0%
apis_core/apis_relations/models.py RelationPublishedQueryset.filter_ann_proj 13 13 0 0%
apis_core/apis_relations/models.py InheritanceForwardManyToOneDescriptor.get_queryset 1 0 0 100%
apis_core/apis_relations/models.py Triple.__repr__ 4 4 0 0%
apis_core/apis_relations/models.py Triple.__str__ 1 1 0 0%
apis_core/apis_relations/models.py Triple.get_web_object 1 1 0 0%
apis_core/apis_relations/models.py Triple.save 12 3 0 75%
apis_core/apis_relations/models.py Triple.save.get_all_childs 5 5 0 0%
apis_core/apis_relations/models.py Triple.duplicate 9 9 0 0%
apis_core/apis_relations/models.py TempTriple.save 19 1 0 95%
apis_core/apis_relations/models.py (no function) 68 0 0 100%
apis_core/apis_relations/signals.py copy_relations 10 10 0 0%
apis_core/apis_relations/signals.py merge_relations 4 0 0 100%
apis_core/apis_relations/signals.py (no function) 10 0 0 100%
apis_core/apis_relations/tables.py SubjObjColumn.__init__ 6 0 0 100%
apis_core/apis_relations/tables.py PropertyTable.order_subject 2 2 0 0%
apis_core/apis_relations/tables.py PropertyTable.order_object 2 2 0 0%
apis_core/apis_relations/tables.py TripleTableBase.order_start_date_written 3 3 0 0%
apis_core/apis_relations/tables.py TripleTableBase.order_end_date_written 3 3 0 0%
apis_core/apis_relations/tables.py TripleTableBase.render_other_entity 5 5 0 0%
apis_core/apis_relations/tables.py TripleTableBase.__init__ 4 4 0 0%
apis_core/apis_relations/tables.py TripleTableBase.render_start_date_written 6 6 0 0%
apis_core/apis_relations/tables.py TripleTableBase.render_end_date_written 6 6 0 0%
apis_core/apis_relations/tables.py TripleTableDetail.__init__ 4 4 0 0%
apis_core/apis_relations/tables.py TripleTableEdit.__init__ 5 5 0 0%
apis_core/apis_relations/tables.py get_generic_triple_table 6 6 0 0%
apis_core/apis_relations/tables.py (no function) 52 1 0 98%
apis_core/apis_relations/templatetags/apis_relations.py object_relations 2 2 0 0%
apis_core/apis_relations/templatetags/apis_relations.py (no function) 5 0 0 100%
apis_core/apis_relations/urls.py (no function) 5 0 0 100%
apis_core/apis_relations/utils.py get_content_types_with_allowed_relation_from 10 10 0 0%
apis_core/apis_relations/utils.py triple_sidebar 16 16 0 0%
apis_core/apis_relations/utils.py (no function) 9 0 0 100%
apis_core/apis_relations/views.py GenericRelationView.setup 5 5 0 0%
apis_core/apis_relations/views.py get_form_ajax 31 31 0 0%
apis_core/apis_relations/views.py save_ajax_form 26 26 0 0%
apis_core/apis_relations/views.py (no function) 16 0 0 100%
apis_core/apis_vocabularies/migrations/0001_initial.py (no function) 7 0 0 100%
apis_core/apis_vocabularies/migrations/0002_remove_texttype_collections_and_more.py (no function) 4 0 0 100%
apis_core/apis_vocabularies/migrations/0003_delete_vocabnames_delete_vocabsuri.py (no function) 4 0 0 100%
apis_core/apis_vocabularies/migrations/0004_delete_collectiontype.py (no function) 4 0 0 100%
apis_core/apis_vocabularies/migrations/0005_delete_vocabsbaseclass.py (no function) 4 0 0 100%
apis_core/apis_vocabularies/migrations/__init__.py (no function) 0 0 0 100%
apis_core/collections/__init__.py (no function) 0 0 0 100%
apis_core/collections/admin.py (no function) 4 0 0 100%
apis_core/collections/apps.py VocabsConfig.ready 1 0 0 100%
apis_core/collections/apps.py (no function) 5 0 0 100%
apis_core/collections/migrations/0001_initial.py (no function) 6 0 0 100%
apis_core/collections/migrations/0002_alter_skoscollection_options.py (no function) 4 0 0 100%
apis_core/collections/migrations/0003_skoscollection_unique_name_parent_and_more.py (no function) 4 0 0 100%
apis_core/collections/migrations/__init__.py (no function) 0 0 0 100%
apis_core/collections/models.py SkosCollectionManager.get_by_full_path 5 5 0 0%
apis_core/collections/models.py SkosCollection.__str__ 1 0 0 100%
apis_core/collections/models.py SkosCollection.children 1 0 0 100%
apis_core/collections/models.py SkosCollection.children_tree_as_list 4 0 0 100%
apis_core/collections/models.py SkosCollectionContentObject.__str__ 1 0 0 100%
apis_core/collections/models.py (no function) 25 0 0 100%
apis_core/collections/signals.py add_to_session_collection 7 5 0 29%
apis_core/collections/signals.py (no function) 9 0 0 100%
apis_core/collections/tables.py (no function) 4 4 0 0%
apis_core/collections/templatetags/__init__.py (no function) 0 0 0 100%
apis_core/collections/templatetags/collections.py collection_toggle 6 6 0 0%
apis_core/collections/templatetags/collections.py collection_toggle_by_id 2 2 0 0%
apis_core/collections/templatetags/collections.py collection_children_toggle 4 4 0 0%
apis_core/collections/templatetags/collections.py collection_children_toggle_by_id 2 2 0 0%
apis_core/collections/templatetags/collections.py collection_object_parent 4 4 0 0%
apis_core/collections/templatetags/collections.py collection_object_parent_by_id 2 2 0 0%
apis_core/collections/templatetags/collections.py collection_content_objects 6 6 0 0%
apis_core/collections/templatetags/collections.py collection_session_toggle_by_id 4 4 0 0%
apis_core/collections/templatetags/collections.py (no function) 20 0 0 100%
apis_core/collections/tests/__init__.py (no function) 0 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionTestCase.test_name 3 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionTestCase.test_parent_name 6 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionTestCase.test_parent_children 3 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionTestCase.test_parent_children_tree_as_list 4 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionContentObjectTestCase.setUp 2 0 0 100%
apis_core/collections/tests/tests.py SkosCollectionContentObjectTestCase.test_collection 3 0 0 100%
apis_core/collections/tests/tests.py (no function) 13 0 0 100%
apis_core/collections/urls.py (no function) 4 0 0 100%
apis_core/collections/views.py ContentObjectMixin.setup 3 3 0 0%
apis_core/collections/views.py ContentObjectMixin.get_context_data 4 4 0 0%
apis_core/collections/views.py CollectionToggle.setup 2 2 0 0%
apis_core/collections/views.py CollectionToggle.get_context_data 4 4 0 0%
apis_core/collections/views.py CollectionToggle.get 6 6 0 0%
apis_core/collections/views.py CollectionObjectParent.get_context_data 7 7 0 0%
apis_core/collections/views.py CollectionSessionToggle.get_context_data 4 4 0 0%
apis_core/collections/views.py CollectionSessionToggle.get 7 7 0 0%
apis_core/collections/views.py (no function) 20 0 0 100%
apis_core/core/models.py LegacyDateMixin.save 32 32 0 0%
apis_core/core/models.py (no function) 14 0 0 100%
apis_core/core/templatetags/core.py shared_url 1 1 0 0%
apis_core/core/templatetags/core.py page_range 1 1 0 0%
apis_core/core/templatetags/core.py opts 1 1 0 0%
apis_core/core/templatetags/core.py model_meta 1 1 0 0%
apis_core/core/templatetags/core.py apis_version 1 1 0 0%
apis_core/core/templatetags/core.py git_repository_url 1 1 0 0%
apis_core/core/templatetags/core.py get_model_fields 5 5 0 0%
apis_core/core/templatetags/core.py (no function) 18 0 0 100%
apis_core/core/urls.py (no function) 4 0 0 100%
apis_core/core/views.py Dumpdata.get 5 5 0 0%
apis_core/core/views.py (no function) 10 0 0 100%
apis_core/documentation/urls.py (no function) 3 0 0 100%
apis_core/documentation/utils.py Datamodel.__init__ 5 5 0 0%
apis_core/documentation/utils.py Datamodel.edges 14 14 0 0%
apis_core/documentation/utils.py Datamodel.make_graph 20 20 0 0%
apis_core/documentation/utils.py (no function) 12 0 0 100%
apis_core/documentation/views.py Documentation.get_context_data 3 3 0 0%
apis_core/documentation/views.py (no function) 5 0 0 100%
apis_core/generic/__init__.py (no function) 0 0 0 100%
apis_core/generic/abc.py GenericModel.__repr__ 3 1 0 67%
apis_core/generic/abc.py GenericModel.get_listview_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_createview_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_importview_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_edit_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_enrich_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_absolute_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_delete_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_merge_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_select_merge_or_enrich_url 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_create_success_url 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_update_success_url 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_api_detail_endpoint 2 2 0 0%
apis_core/generic/abc.py GenericModel.get_change_permission 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_add_permission 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_delete_permission 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_merge_charfield_value 6 0 0 100%
apis_core/generic/abc.py GenericModel.get_merge_textfield_value 4 4 0 0%
apis_core/generic/abc.py GenericModel.get_merge_booleanfield 1 1 0 0%
apis_core/generic/abc.py GenericModel.get_field_value_after_merge 8 1 0 88%
apis_core/generic/abc.py GenericModel.merge_fields 5 0 0 100%
apis_core/generic/abc.py GenericModel.merge_with 28 10 0 64%
apis_core/generic/abc.py GenericModel.duplicate 21 21 0 0%
apis_core/generic/abc.py (no function) 41 0 0 100%
apis_core/generic/api_views.py ModelViewSet.dispatch 2 2 0 0%
apis_core/generic/api_views.py ModelViewSet.get_queryset 3 3 0 0%
apis_core/generic/api_views.py ModelViewSet.get_serializer_class 7 7 0 0%
apis_core/generic/api_views.py (no function) 9 0 0 100%
apis_core/generic/filterbackends.py GenericFilterBackend.get_filterset_class 4 4 0 0%
apis_core/generic/filterbackends.py (no function) 6 0 0 100%
apis_core/generic/filtersets.py (no function) 5 0 0 100%
apis_core/generic/forms/__init__.py GenericImportForm.__init__ 8 8 0 0%
apis_core/generic/forms/__init__.py GenericFilterSetForm.__init__ 4 4 0 0%
apis_core/generic/forms/__init__.py GenericFilterSetForm.clean 3 3 0 0%
apis_core/generic/forms/__init__.py GenericModelForm.__init__ 12 12 0 0%
apis_core/generic/forms/__init__.py GenericSelectMergeOrEnrichForm.__init__ 14 14 0 0%
apis_core/generic/forms/__init__.py GenericMergeWithForm.__init__ 3 3 0 0%
apis_core/generic/forms/__init__.py GenericEnrichForm.__init__ 10 10 0 0%
apis_core/generic/forms/__init__.py (no function) 26 0 0 100%
apis_core/generic/forms/fields.py ModelImportChoiceField.to_python 6 6 0 0%
apis_core/generic/forms/fields.py (no function) 6 0 0 100%
apis_core/generic/forms/widgets.py NewlineSeparatedListWidget.value_from_datadict 2 2 0 0%
apis_core/generic/forms/widgets.py NewlineSeparatedListWidget.format_value 3 3 0 0%
apis_core/generic/forms/widgets.py JSONListWidget.value_from_datadict 2 2 0 0%
apis_core/generic/forms/widgets.py JSONListWidget.format_value 3 3 0 0%
apis_core/generic/forms/widgets.py (no function) 16 16 0 0%
apis_core/generic/generators.py CustomEndpointEnumerator._generate_content_type_endpoint 9 9 0 0%
apis_core/generic/generators.py CustomEndpointEnumerator.get_api_endpoints 7 7 0 0%
apis_core/generic/generators.py (no function) 9 0 0 100%
apis_core/generic/helpers.py default_search_fields 7 7 0 0%
apis_core/generic/helpers.py generate_search_filter 6 6 0 0%
apis_core/generic/helpers.py mro_paths 4 4 0 0%
apis_core/generic/helpers.py template_names_via_mro 2 2 0 0%
apis_core/generic/helpers.py permission_fullname 2 2 0 0%
apis_core/generic/helpers.py module_paths 3 3 0 0%
apis_core/generic/helpers.py makeclassprefix 3 3 0 0%
apis_core/generic/helpers.py import_string 4 4 0 0%
apis_core/generic/helpers.py first_member_match 7 7 0 0%
apis_core/generic/helpers.py (no function) 22 0 0 100%
apis_core/generic/importers.py GenericModelImporter.__init__ 2 2 0 0%
apis_core/generic/importers.py GenericModelImporter.get_uri 1 1 0 0%
apis_core/generic/importers.py GenericModelImporter.clean_uri 1 1 0 0%
apis_core/generic/importers.py GenericModelImporter.request 10 10 0 0%
apis_core/generic/importers.py GenericModelImporter.mangle_data 1 1 0 0%
apis_core/generic/importers.py GenericModelImporter.get_data 8 8 0 0%
apis_core/generic/importers.py GenericModelImporter.import_into_instance 7 7 0 0%
apis_core/generic/importers.py GenericModelImporter.create_instance 1 1 0 0%
apis_core/generic/importers.py (no function) 21 21 0 0%
apis_core/generic/renderers.py GenericRDFBaseRenderer.render 8 8 0 0%
apis_core/generic/renderers.py (no function) 15 15 0 0%
apis_core/generic/routers.py CustomAPIRootView.get 6 6 0 0%
apis_core/generic/routers.py (no function) 8 0 0 100%
apis_core/generic/serializers.py GenericHyperlinkedRelatedField.get_url 3 3 0 0%
apis_core/generic/serializers.py GenericHyperlinkedRelatedField.use_pk_only_optimization 1 1 0 0%
apis_core/generic/serializers.py GenericHyperlinkedIdentityField.__init__ 4 0 0 100%
apis_core/generic/serializers.py serializer_factory 5 5 0 0%
apis_core/generic/serializers.py ContentTypeInstanceSerializer.to_internal_value 4 4 0 0%
apis_core/generic/serializers.py SimpleObjectSerializer.get_label 1 1 0 0%
apis_core/generic/serializers.py SimpleObjectSerializer.get_content_type_key 2 2 0 0%
apis_core/generic/serializers.py SimpleObjectSerializer.get_content_type_name 2 2 0 0%
apis_core/generic/serializers.py (no function) 27 0 0 100%
apis_core/generic/signals.py (no function) 5 0 0 100%
apis_core/generic/tables.py CustomTemplateColumn.__init__ 1 0 0 100%
apis_core/generic/tables.py ActionColumn.render 4 4 0 0%
apis_core/generic/tables.py MoreLessColumn.__init__ 3 3 0 0%
apis_core/generic/tables.py MoreLessColumn.render 3 3 0 0%
apis_core/generic/tables.py (no function) 38 0 0 100%
apis_core/generic/templatetags/generic.py contenttype 1 1 0 0%
apis_core/generic/templatetags/generic.py modeldict 16 16 0 0%
apis_core/generic/templatetags/generic.py contenttypes 4 4 0 0%
apis_core/generic/templatetags/generic.py is_genericmodel 2 2 0 0%
apis_core/generic/templatetags/generic.py genericmodel_content_types 2 2 0 0%
apis_core/generic/templatetags/generic.py get_attribute 1 1 0 0%
apis_core/generic/templatetags/generic.py content_type_count 1 1 0 0%
apis_core/generic/templatetags/generic.py template_list 1 1 0 0%
apis_core/generic/templatetags/generic.py (no function) 21 0 0 100%
apis_core/generic/urls.py ContenttypeConverter.to_python 5 5 0 0%
apis_core/generic/urls.py ContenttypeConverter.to_url 4 4 0 0%
apis_core/generic/urls.py (no function) 16 0 0 100%
apis_core/generic/views.py GenericModelMixin.setup 4 4 0 0%
apis_core/generic/views.py GenericModelMixin.get_template_names 12 12 0 0%
apis_core/generic/views.py GenericModelMixin.get_permission_required 5 5 0 0%
apis_core/generic/views.py List.get_table_class 3 3 0 0%
apis_core/generic/views.py List.get_table_kwargs 12 12 0 0%
apis_core/generic/views.py List.get_filterset_class 3 3 0 0%
apis_core/generic/views.py List._get_columns_choices 4 4 0 0%
apis_core/generic/views.py List._get_columns_initial 1 1 0 0%
apis_core/generic/views.py List.get_filterset 5 5 0 0%
apis_core/generic/views.py List.get_table_pagination 3 3 0 0%
apis_core/generic/views.py Create.get_form_class 3 3 0 0%
apis_core/generic/views.py Create.get_success_url 1 1 0 0%
apis_core/generic/views.py Delete.get_success_url 1 1 0 0%
apis_core/generic/views.py Delete.delete 3 3 0 0%
apis_core/generic/views.py Update.get_form_class 3 3 0 0%
apis_core/generic/views.py Update.get_success_url 1 1 0 0%
apis_core/generic/views.py Autocomplete.setup 7 7 0 0%
apis_core/generic/views.py Autocomplete.get_queryset 5 5 0 0%
apis_core/generic/views.py Autocomplete.get_results 7 7 0 0%
apis_core/generic/views.py Autocomplete.create_object 1 1 0 0%
apis_core/generic/views.py Autocomplete.post 4 4 0 0%
apis_core/generic/views.py Import.get_form_class 3 3 0 0%
apis_core/generic/views.py Import.form_valid 2 2 0 0%
apis_core/generic/views.py Import.get_success_url 1 1 0 0%
apis_core/generic/views.py SelectMergeOrEnrich.get_object 1 1 0 0%
apis_core/generic/views.py SelectMergeOrEnrich.get_context_data 3 3 0 0%
apis_core/generic/views.py SelectMergeOrEnrich.get_form_kwargs 3 3 0 0%
apis_core/generic/views.py MergeWith.setup 3 3 0 0%
apis_core/generic/views.py MergeWith.get_context_data 9 9 0 0%
apis_core/generic/views.py MergeWith.form_valid 3 3 0 0%
apis_core/generic/views.py MergeWith.get_success_url 1 1 0 0%
apis_core/generic/views.py Enrich.setup 6 6 0 0%
apis_core/generic/views.py Enrich.get 10 10 0 0%
apis_core/generic/views.py Enrich.get_context_data 4 4 0 0%
apis_core/generic/views.py Enrich.get_form_kwargs 8 8 0 0%
apis_core/generic/views.py Enrich.form_valid 8 8 0 0%
apis_core/generic/views.py Enrich.get_success_url 1 1 0 0%
apis_core/generic/views.py (no function) 100 0 0 100%
apis_core/history/__init__.py (no function) 0 0 0 100%
apis_core/history/api_views.py EntityHistoryLogs.get_queryset 1 1 0 0%
apis_core/history/api_views.py GenericHistoryLog.get_queryset 1 1 0 0%
apis_core/history/api_views.py (no function) 8 0 0 100%
apis_core/history/apps.py (no function) 3 0 0 100%
apis_core/history/models.py APISHistoricalRecords.get_m2m_fields_from_model 8 2 0 75%
apis_core/history/models.py APISHistoricalRecords.get_prev_record 2 2 0 0%
apis_core/history/models.py APISHistoryTableBase.get_triples_for_version 14 1 0 93%
apis_core/history/models.py APISHistoryTableBase.set_version_tag 9 1 0 89%
apis_core/history/models.py APISHistoryTableBase.get_absolute_url 2 2 0 0%
apis_core/history/models.py APISHistoryTableBase.get_diff 8 8 0 0%
apis_core/history/models.py VersionMixin._history_date 1 0 0 100%
apis_core/history/models.py VersionMixin._history_date 2 0 0 100%
apis_core/history/models.py VersionMixin.get_history_url 2 2 0 0%
apis_core/history/models.py VersionMixin.get_create_version_url 2 2 0 0%
apis_core/history/models.py VersionMixin._get_historical_relations 10 10 0 0%
apis_core/history/models.py VersionMixin._get_historical_triples 5 5 0 0%
apis_core/history/models.py VersionMixin.get_history_data 16 16 0 0%
apis_core/history/models.py VersionMixin.__init__ 1 0 0 100%
apis_core/history/models.py (no function) 43 0 0 100%
apis_core/history/serializers.py ModelChangeSerializer.get_data_for_m2m_field 2 2 0 0%
apis_core/history/serializers.py ModelChangeSerializer.get_field_data 12 12 0 0%
apis_core/history/serializers.py ModelChangeSerializer.get_field_data_new 2 2 0 0%
apis_core/history/serializers.py ModelChangeSerializer.get_field_data_old 2 2 0 0%
apis_core/history/serializers.py ModelChangeSerializer.__init__ 2 2 0 0%
apis_core/history/serializers.py HistoryLogSerializer.get_diff 8 8 0 0%
apis_core/history/serializers.py HistoryLogSerializer.get_action 7 7 0 0%
apis_core/history/serializers.py HistoryObjectSerializer.get_instance 1 1 0 0%
apis_core/history/serializers.py HistoryObjectSerializer.get_history 1 1 0 0%
apis_core/history/serializers.py (no function) 35 0 0 100%
apis_core/history/tables.py HistoryGenericTable.render_model 1 1 0 0%
apis_core/history/tables.py (no function) 24 0 0 100%
apis_core/history/templatetags/history.py object_relations_history 2 2 0 0%
apis_core/history/templatetags/history.py get_history_data 2 2 0 0%
apis_core/history/templatetags/history.py get_diff_old 1 1 0 0%
apis_core/history/templatetags/history.py get_diff_new 1 1 0 0%
apis_core/history/templatetags/history.py (no function) 14 0 0 100%
apis_core/history/tests/__init__.py (no function) 0 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.setUp 8 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history 8 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history_through_triples 24 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history_tag 13 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history_delete_entry 3 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history_merge 4 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_m2m_save 11 0 0 100%
apis_core/history/tests/test_simple_history.py SimpleHistoryTestCase.test_history_date 4 0 0 100%
apis_core/history/tests/test_simple_history.py (no function) 14 0 0 100%
apis_core/history/urls.py (no function) 5 0 0 100%
apis_core/history/utils.py triple_sidebar_history 21 21 0 0%
apis_core/history/utils.py (no function) 6 0 0 100%
apis_core/history/views.py HistoryView.get_table_class 3 3 0 0%
apis_core/history/views.py HistoryView.get_table_data 1 1 0 0%
apis_core/history/views.py create_new_version 12 12 0 0%
apis_core/history/views.py (no function) 15 0 0 100%
apis_core/relations/__init__.py (no function) 0 0 0 100%
apis_core/relations/admin.py (no function) 3 0 0 100%
apis_core/relations/apps.py RelationsNgConfig.ready 1 0 0 100%
apis_core/relations/apps.py (no function) 5 0 0 100%
apis_core/relations/filtersets.py EntityFilter.__init__ 2 2 0 0%
apis_core/relations/filtersets.py EntityFilter._search_all_entities 5 5 0 0%
apis_core/relations/filtersets.py EntityFilter.filter 4 4 0 0%
apis_core/relations/filtersets.py SubjObjClassFilter.__init__ 3 3 0 0%
apis_core/relations/filtersets.py SubjObjClassFilter.filter 3 3 0 0%
apis_core/relations/filtersets.py RelationFilterSet.__init__ 9 9 0 0%
apis_core/relations/filtersets.py (no function) 21 21 0 0%
apis_core/relations/forms.py CustomSelect2ListChoiceField.validate 2 2 0 0%
apis_core/relations/forms.py RelationForm.__entities_autocomplete_with_params 3 3 0 0%
apis_core/relations/forms.py RelationForm.__subj_autocomplete_url 2 2 0 0%
apis_core/relations/forms.py RelationForm.__obj_autocomplete_url 2 2 0 0%
apis_core/relations/forms.py RelationForm.__init__ 61 61 0 0%
apis_core/relations/forms.py RelationForm.clean 16 16 0 0%
apis_core/relations/forms.py RelationForm.relation_name 3 3 0 0%
apis_core/relations/forms.py (no function) 24 24 0 0%
apis_core/relations/migrations/0001_initial.py (no function) 7 0 0 100%
apis_core/relations/migrations/__init__.py (no function) 0 0 0 100%
apis_core/relations/models.py RelationModelBase.__new__ 8 2 0 75%
apis_core/relations/models.py get_by_natural_key 2 2 0 0%
apis_core/relations/models.py Relation.save 7 7 0 0%
apis_core/relations/models.py Relation.subj_to_obj_text 3 3 0 0%
apis_core/relations/models.py Relation.obj_to_subj_text 3 3 0 0%
apis_core/relations/models.py Relation.__str__ 1 1 0 0%
apis_core/relations/models.py Relation._get_models 2 2 0 0%
apis_core/relations/models.py Relation.subj_list 1 1 0 0%
apis_core/relations/models.py Relation.obj_list 1 1 0 0%
apis_core/relations/models.py Relation.name 1 1 0 0%
apis_core/relations/models.py Relation.reverse_name 1 1 0 0%
apis_core/relations/models.py (no function) 36 0 0 100%
apis_core/relations/querysets.py RelationListViewQueryset 1 1 0 0%
apis_core/relations/querysets.py RelationViewSetQueryset 1 1 0 0%
apis_core/relations/querysets.py (no function) 2 2 0 0%
apis_core/relations/serializers.py RelationSerializer.get_subj 3 3 0 0%
apis_core/relations/serializers.py RelationSerializer.get_obj 3 3 0 0%
apis_core/relations/serializers.py (no function) 12 12 0 0%
apis_core/relations/signals.py copy_relations 14 14 0 0%
apis_core/relations/signals.py merge_relations 5 0 0 100%
apis_core/relations/signals.py (no function) 10 0 0 100%
apis_core/relations/tables.py (no function) 10 0 0 100%
apis_core/relations/templatetags/relations.py possible_relation_types_from 1 1 0 0%
apis_core/relations/templatetags/relations.py get_relation_targets_from 8 8 0 0%
apis_core/relations/templatetags/relations.py relations_from 6 6 0 0%
apis_core/relations/templatetags/relations.py relations_list_table 10 10 0 0%
apis_core/relations/templatetags/relations.py relations_verbose_name_listview_url 3 3 0 0%
apis_core/relations/templatetags/relations.py (no function) 18 0 0 100%
apis_core/relations/urls.py (no function) 4 0 0 100%
apis_core/relations/utils.py is_relation 2 2 0 0%
apis_core/relations/utils.py relation_content_types 14 14 0 0%
apis_core/relations/utils.py relation_match_target 5 5 0 0%
apis_core/relations/utils.py get_all_relation_subj_and_obj 5 5 0 0%
apis_core/relations/utils.py (no function) 9 0 0 100%
apis_core/relations/views.py CreateRelation.get_form_kwargs 6 6 0 0%
apis_core/relations/views.py CreateRelationForm.setup 2 2 0 0%
apis_core/relations/views.py CreateRelationForm.get 4 4 0 0%
apis_core/relations/views.py CreateRelationForm.get_form_kwargs 5 5 0 0%
apis_core/relations/views.py CreateRelationForm.get_success_url 4 4 0 0%
apis_core/relations/views.py ListRelations.get_context_data 7 7 0 0%
apis_core/relations/views.py ListRelations.get 3 3 0 0%
apis_core/relations/views.py (no function) 18 0 0 100%
apis_core/urls.py (no function) 30 0 0 100%
apis_core/utils/DateParser.py parse_date 60 21 0 65%
apis_core/utils/DateParser.py parse_date.parse_date_range_individual 51 22 0 57%
apis_core/utils/DateParser.py parse_date.parse_date_range_individual.get_last_day_of_month 13 11 0 15%
apis_core/utils/DateParser.py parse_date.parse_iso_date 5 2 0 60%
apis_core/utils/DateParser.py (no function) 4 0 0 100%
apis_core/utils/__init__.py (no function) 0 0 0 100%
apis_core/utils/authentication.py TokenAuthSupportQueryString.authenticate 3 3 0 0%
apis_core/utils/authentication.py (no function) 3 3 0 0%
apis_core/utils/autocomplete.py ExternalAutocomplete.get_results 4 4 0 0%
apis_core/utils/autocomplete.py ExternalAutocompleteAdapter.__init__ 1 1 0 0%
apis_core/utils/autocomplete.py ExternalAutocompleteAdapter.default_template 1 1 0 0%
apis_core/utils/autocomplete.py ExternalAutocompleteAdapter.get_result_label 3 3 0 0%
apis_core/utils/autocomplete.py TypeSenseAutocompleteAdapter.__init__ 4 4 0 0%
apis_core/utils/autocomplete.py TypeSenseAutocompleteAdapter.default_template 1 1 0 0%
apis_core/utils/autocomplete.py TypeSenseAutocompleteAdapter.extract 4 4 0 0%
apis_core/utils/autocomplete.py TypeSenseAutocompleteAdapter.get_results 22 22 0 0%
apis_core/utils/autocomplete.py LobidAutocompleteAdapter.__init__ 2 2 0 0%
apis_core/utils/autocomplete.py LobidAutocompleteAdapter.extract 1 1 0 0%
apis_core/utils/autocomplete.py LobidAutocompleteAdapter.get_results 6 6 0 0%
apis_core/utils/autocomplete.py (no function) 27 27 0 0%
apis_core/utils/fields.py NewlineSeparatedListField.formfield 2 2 0 0%
apis_core/utils/fields.py (no function) 4 4 0 0%
apis_core/utils/filters.py CustomSearchFilter.filter_queryset 9 9 0 0%
apis_core/utils/filters.py CustomSearchFilter.to_html 3 3 0 0%
apis_core/utils/filters.py (no function) 8 0 0 100%
apis_core/utils/helpers.py datadump_get_objects 5 5 0 0%
apis_core/utils/helpers.py datadump_get_queryset 13 13 0 0%
apis_core/utils/helpers.py datadump_serializer 1 1 0 0%
apis_core/utils/helpers.py get_importer_for_model 4 4 0 0%
apis_core/utils/helpers.py create_object_from_uri 14 14 0 0%
apis_core/utils/helpers.py get_html_diff 32 32 0 0%
apis_core/utils/helpers.py get_html_diff.style_remove 1 1 0 0%
apis_core/utils/helpers.py get_html_diff.style_insert 1 1 0 0%
apis_core/utils/helpers.py construct_lookup 12 0 0 100%
apis_core/utils/helpers.py (no function) 15 0 0 100%
apis_core/utils/normalize.py clean_uri 8 0 0 100%
apis_core/utils/normalize.py (no function) 3 0 0 100%
apis_core/utils/rdf.py definition_matches_model 10 0 0 100%
apis_core/utils/rdf.py definition_matches_uri 6 0 0 100%
apis_core/utils/rdf.py get_definition_and_attributes_from_uri 21 1 0 95%
apis_core/utils/rdf.py (no function) 11 0 0 100%
apis_core/utils/settings.py get_entity_settings_by_modelname 4 4 0 0%
apis_core/utils/settings.py dict_from_toml_directory 8 2 0 75%
apis_core/utils/settings.py internal_uris 1 1 0 0%
apis_core/utils/settings.py (no function) 8 0 0 100%
apis_core/utils/test_DateParser.py fi 1 0 0 100%
apis_core/utils/test_DateParser.py DateParserTest.test_dates 5 0 0 100%
apis_core/utils/test_DateParser.py (no function) 8 0 0 100%
apis_core/utils/test_helpers.py FilterMethodstest.test_lookup 2 0 0 100%
apis_core/utils/test_helpers.py (no function) 5 0 0 100%
apis_core/utils/test_normalize.py NormalizeTest.test_clean_uri_geonames 3 0 0 100%
apis_core/utils/test_normalize.py NormalizeTest.test_clean_uri_wikidata 3 0 0 100%
apis_core/utils/test_normalize.py NormalizeTest.test_clean_uri_dnb 3 0 0 100%
apis_core/utils/test_normalize.py (no function) 6 0 0 100%
apis_core/utils/test_rdf.py RdfTest.test_get_definition_from_dict_place_from_geonames 5 0 0 100%
apis_core/utils/test_rdf.py RdfTest.test_get_definition_from_dict_place_from_dnb 5 0 0 100%
apis_core/utils/test_rdf.py RdfTest.test_get_definition_from_dict_person_from_dnb 5 0 0 100%
apis_core/utils/test_rdf.py RdfTest.test_get_definition_from_dict_institution_from_dnb 5 0 0 100%
apis_core/utils/test_rdf.py RdfTest.test_get_definition_from_dict_institution_from_dnb2 5 0 0 100%
apis_core/utils/test_rdf.py (no function) 20 0 0 100%
manage.py main 6 2 0 67%
manage.py (no function) 5 0 0 100%
sample_project/__init__.py (no function) 0 0 0 100%
sample_project/apps.py (no function) 4 0 0 100%
sample_project/forms.py (no function) 4 4 0 0%
sample_project/migrations/0001_initial.py (no function) 9 0 0 100%
sample_project/migrations/0002_iscousinof_ispartof_issiblingof_livesin.py (no function) 5 0 0 100%
sample_project/migrations/0003_alter_versiongroup_options_and_more.py (no function) 4 0 0 100%
sample_project/migrations/__init__.py (no function) 0 0 0 100%
sample_project/models.py Profession.__str__ 1 1 0 0%
sample_project/models.py IsCousinOf.reverse_name 1 1 0 0%
sample_project/models.py IsPartOf.reverse_name 1 1 0 0%
sample_project/models.py IsSiblingOf.reverse_name 1 1 0 0%
sample_project/models.py LivesIn.reverse_name 1 1 0 0%
sample_project/models.py (no function) 35 0 0 100%
sample_project/querysets.py (no function) 6 6 0 0%
sample_project/settings.py (no function) 20 0 0 100%
sample_project/settings_loaddata.py (no function) 2 2 0 0%
sample_project/settings_tests.py (no function) 2 0 0 100%
sample_project/tables.py (no function) 6 6 0 0%
sample_project/templatetags/sample_project.py password 4 4 0 0%
sample_project/templatetags/sample_project.py teardown 5 5 0 0%
sample_project/templatetags/sample_project.py (no function) 8 0 0 100%
sample_project/urls.py (no function) 3 0 0 100%
Total   4010 1966 0 51%

No items found using the specified filter.