Coverage report: 99%

Files Functions Classes

coverage.py v7.14.1, created at 2026-10-30 22:54 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src/wonka/__init__.py (no function)   100% 13 0 0   100% 0 0   100%
src/wonka/base.py Manager.create   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Manager.__iter__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__getitem__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__setitem__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__delitem__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__add__   100% 3 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__iadd__   100% 2 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__iter__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py Cluster.__len__   100% 1 0 0   100% 0 0   100%
src/wonka/base.py (no function)   100% 49 0 0   100% 0 0   100%
src/wonka/clusters.py Manufacturer.add   100% 9 0 0   100% 6 0   100%
src/wonka/clusters.py Manufacturer.delete   100% 1 0 0   100% 0 0   100%
src/wonka/clusters.py Manufacturer.items   100% 1 0 0   100% 0 0   100%
src/wonka/clusters.py Manufacturer.keys   100% 1 0 0   100% 0 0   100%
src/wonka/clusters.py Manufacturer.subset   100% 12 0 0   100% 6 0   100%
src/wonka/clusters.py Manufacturer.values   100% 1 0 0   100% 0 0   100%
src/wonka/clusters.py (no function)   100% 16 0 0   100% 0 0   100%
src/wonka/dispatchers.py Delegate.create   100% 3 0 0   100% 0 0   100%
src/wonka/dispatchers.py Sourcerer.create   100% 7 0 0   100% 4 0   100%
src/wonka/dispatchers.py _get_creation_method_name   100% 4 0 0   100% 2 0   100%
src/wonka/dispatchers.py _get_from_builder_method   100% 6 0 0   100% 0 0   100%
src/wonka/dispatchers.py _is_kind   100% 1 0 0   100% 0 0   100%
src/wonka/dispatchers.py (no function)   100% 21 0 2   100% 0 0   100%
src/wonka/managers.py Assembler.add   100% 6 0 0   100% 4 0   100%
src/wonka/managers.py Assembler.delete   100% 1 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.insert   100% 2 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.manage   100% 3 0 0   100% 2 0   100%
src/wonka/managers.py Assembler.prepend   100% 7 0 0   100% 4 0   100%
src/wonka/managers.py Assembler.subset   100% 13 0 0   100% 6 0   100%
src/wonka/managers.py Assembler.__getitem__   100% 1 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.__setitem__   100% 6 0 0   100% 2 0   100%
src/wonka/managers.py Assembler.__add__   100% 3 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.__iadd__   100% 2 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.__delitem__   100% 1 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.__iter__   100% 1 0 0   100% 0 0   100%
src/wonka/managers.py Assembler.__len__   100% 1 0 0   100% 0 0   100%
src/wonka/managers.py _validate_constructors   100% 3 0 0   100% 2 0   100%
src/wonka/managers.py (no function)   100% 28 0 7   50% 2 1   97%
src/wonka/options.py set_compatibility_rule   100% 4 0 0   100% 2 0   100%
src/wonka/options.py set_keyer   100% 4 0 0   100% 2 0   100%
src/wonka/options.py set_method_namer   100% 4 0 0   100% 2 0   100%
src/wonka/options.py set_overwrite_rule   100% 4 0 0   100% 2 0   100%
src/wonka/options.py set_verbose_rule   100% 4 0 0   100% 2 0   100%
src/wonka/options.py (no function)   100% 15 0 0   100% 0 0   100%
src/wonka/producers.py Classer.produce   100% 1 0 0   100% 0 0   100%
src/wonka/producers.py Flexer.produce   100% 5 0 0   100% 4 0   100%
src/wonka/producers.py Instancer.produce   100% 5 0 0   100% 4 0   100%
src/wonka/producers.py (no function)   100% 21 0 0   100% 0 0   100%
src/wonka/prototypers.py Scribe.create   100% 3 0 0   100% 0 0   100%
src/wonka/prototypers.py (no function)   100% 10 0 0   100% 0 0   100%
src/wonka/registries.py Registrar.create   100% 2 0 0   100% 0 0   100%
src/wonka/registries.py AutoRegistrar.__init_subclass__   100% 4 0 0   100% 2 0   100%
src/wonka/registries.py Subclasser.create   100% 4 0 0   100% 0 0   100%
src/wonka/registries.py _get_all_subclasses   100% 5 0 0   100% 2 0   100%
src/wonka/registries.py _get_from_registry   100% 5 0 0   100% 0 0   100%
src/wonka/registries.py (no function)   100% 26 0 2   100% 0 0   100%
src/wonka/shared.py finalize   100% 8 0 0   100% 6 0   100%
src/wonka/shared.py inject_attributes   100% 6 0 0   100% 6 0   100%
src/wonka/shared.py is_constructor   100% 3 0 0   100% 2 0   100%
src/wonka/shared.py (no function)   100% 8 0 0   100% 0 0   100%
src/wonka/utilities.py _iterify   100% 8 0 0   100% 4 0   100%
src/wonka/utilities.py _namify   100% 8 0 0   100% 4 0   100%
src/wonka/utilities.py _pathlibify   100% 6 0 0   100% 4 0   100%
src/wonka/utilities.py _snakify   100% 2 0 0   100% 0 0   100%
src/wonka/utilities.py (no function)   100% 11 0 0   100% 0 0   100%
tests/conftest.py Adder.create   100% 1 0 0   100% 0 0   100%
tests/conftest.py Doubler.create   100% 1 0 0   100% 0 0   100%
tests/conftest.py restore_options   100% 4 0 0   100% 2 0   100%
tests/conftest.py (no function)   100% 20 0 2   100% 0 0   100%
tests/test_base.py Counter.manage   100% 1 0 0   100% 0 0   100%
tests/test_base.py test_base_classes_are_abstract   100% 8 0 0   100% 0 0   100%
tests/test_base.py test_manager_create_calls_manage   100% 3 0 0   100% 0 0   100%
tests/test_base.py test_manager_iterates_contents   100% 1 0 0   100% 0 0   100%
tests/test_base.py test_manager_is_constructor   100% 2 0 0   100% 0 0   100%
tests/test_base.py test_manufacturer_is_cluster   100% 1 0 0   100% 0 0   100%
tests/test_base.py (no function)   100% 16 0 0   100% 0 0   100%
tests/test_clusters.py Duck.create   0% 1 1 0   100% 0 0   0%
tests/test_clusters.py test_manufacturer   100% 9 0 0   100% 0 0   100%
tests/test_clusters.py test_add_validation   100% 6 0 0   100% 0 0   100%
tests/test_clusters.py test_add_manager_instance   100% 3 0 0   100% 0 0   100%
tests/test_clusters.py test_add_uses_global_keyer   100% 4 0 0   100% 0 0   100%
tests/test_clusters.py test_add_duck_type_with_relaxed_compatibility   100% 6 0 0   100% 0 0   100%
tests/test_clusters.py test_mapping_interface   100% 14 0 0   100% 0 0   100%
tests/test_clusters.py test_setitem   100% 3 0 0   100% 0 0   100%
tests/test_clusters.py test_add_operator_returns_copy   100% 9 0 0   100% 0 0   100%
tests/test_clusters.py test_add_operator_validates   100% 3 0 0   100% 0 0   100%
tests/test_clusters.py test_inplace_add_operator   100% 6 0 0   100% 0 0   100%
tests/test_clusters.py test_subset   100% 5 0 0   100% 0 0   100%
tests/test_clusters.py test_subset_returns_new_instance   100% 5 0 0   100% 0 0   100%
tests/test_clusters.py test_subset_errors   100% 5 0 0   100% 0 0   100%
tests/test_clusters.py (no function)   100% 32 0 2   100% 0 0   100%
tests/test_dispatchers.py Settings.from_dict   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Configuration.from_dictionary   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Maker.from_flag   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Maker.from_number   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Maker.from_mapping   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Maker.from_text   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Maker.from_kind   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py Broken.from_boom   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate   100% 4 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate_passes_kwargs_and_parameters   100% 4 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate_no_method   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate_uses_global_method_namer   100% 6 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate_uses_global_method_namer.Builder.make_int   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py test_delegate_str_item_names_method   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_sourcerer   100% 4 0 0   100% 0 0   100%
tests/test_dispatchers.py test_sourcerer_skips_non_matching_kinds   100% 3 0 0   100% 0 0   100%
tests/test_dispatchers.py test_sourcerer_checks_sources_in_order   100% 1 0 0   100% 0 0   100%
tests/test_dispatchers.py test_sourcerer_matches_subclasses   100% 3 0 0   100% 0 0   100%
tests/test_dispatchers.py test_sourcerer_no_match   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_missing_builder_method   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_builder_attribute_error_not_masked   100% 2 0 0   100% 0 0   100%
tests/test_dispatchers.py test_is_kind   100% 4 0 0   100% 0 0   100%
tests/test_dispatchers.py test_get_creation_method_name   100% 4 0 0   100% 0 0   100%
tests/test_dispatchers.py (no function)   100% 52 0 3   100% 0 0   100%
tests/test_main.py test_version   100% 2 0 0   100% 0 0   100%
tests/test_main.py test_all_names_are_exported   100% 4 0 0   100% 2 0   100%
tests/test_main.py test_all_is_sorted_and_unique   100% 5 0 0   100% 0 0   100%
tests/test_main.py test_package_is_typed   100% 1 0 0   100% 0 0   100%
tests/test_main.py (no function)   100% 8 0 2   100% 0 0   100%
tests/test_managers.py test_assembler_stores_created_constructors   100% 6 0 0   100% 0 0   100%
tests/test_managers.py test_manage_order   100% 4 0 0   100% 0 0   100%
tests/test_managers.py test_manage_passes_kwargs   100% 2 0 0   100% 0 0   100%
tests/test_managers.py test_manage_empty_returns_item   100% 1 0 0   100% 0 0   100%
tests/test_managers.py test_nested_assembler   100% 3 0 0   100% 0 0   100%
tests/test_managers.py test_add_validates   100% 10 0 0   100% 0 0   100%
tests/test_managers.py test_add_assembler_as_one_constructor   100% 4 0 0   100% 0 0   100%
tests/test_managers.py test_insert_and_append_validate   100% 10 0 0   100% 0 0   100%
tests/test_managers.py test_sequence_behavior   100% 11 0 0   100% 0 0   100%
tests/test_managers.py test_slices   100% 9 0 0   100% 0 0   100%
tests/test_managers.py test_setitem_validates   100% 4 0 0   100% 0 0   100%
tests/test_managers.py test_delete   100% 7 0 0   100% 0 0   100%
tests/test_managers.py test_prepend   100% 5 0 0   100% 0 0   100%
tests/test_managers.py test_prepend_assembler_as_one_constructor   100% 4 0 0   100% 0 0   100%
tests/test_managers.py test_prepend_validates   100% 8 0 0   100% 0 0   100%
tests/test_managers.py test_subset   100% 8 0 0   100% 0 0   100%
tests/test_managers.py test_subset_returns_new_instance   100% 5 0 0   100% 0 0   100%
tests/test_managers.py test_add_operator_returns_copy   100% 8 0 0   100% 0 0   100%
tests/test_managers.py test_inplace_add_operator   100% 6 0 0   100% 0 0   100%
tests/test_managers.py (no function)   100% 33 0 2   100% 0 0   100%
tests/test_options.py test_setters_validate   100% 2 0 0   100% 0 0   100%
tests/test_options.py test_setters_set_values   100% 10 0 0   100% 0 0   100%
tests/test_options.py test_defaults   100% 5 0 0   100% 0 0   100%
tests/test_options.py (no function)   100% 10 0 0   100% 0 0   100%
tests/test_producers.py Configuration.from_dict   100% 1 0 0   100% 0 0   100%
tests/test_producers.py Settings.from_dict   100% 1 0 0   100% 0 0   100%
tests/test_producers.py Settings.from_list   100% 1 0 0   100% 0 0   100%
tests/test_producers.py Setup.from_dict   100% 1 0 0   100% 0 0   100%
tests/test_producers.py Setup.from_list   100% 1 0 0   100% 0 0   100%
tests/test_producers.py test_classer   100% 2 0 0   100% 0 0   100%
tests/test_producers.py test_flexer   100% 3 0 0   100% 0 0   100%
tests/test_producers.py test_flexer_with_parameters   100% 3 0 0   100% 0 0   100%
tests/test_producers.py test_instancer   100% 4 0 0   100% 0 0   100%
tests/test_producers.py test_producers_directly   100% 13 0 0   100% 0 0   100%
tests/test_producers.py (no function)   100% 30 0 4   100% 0 0   100%
tests/test_prototypers.py test_scribe   100% 7 0 0   100% 0 0   100%
tests/test_prototypers.py test_scribe_none_clones_self   100% 1 0 0   100% 0 0   100%
tests/test_prototypers.py test_scribe_clones_falsy_items   100% 3 0 0   100% 0 0   100%
tests/test_prototypers.py test_scribe_deep_copies   100% 5 0 0   100% 0 0   100%
tests/test_prototypers.py test_scribe_injects_parameters_into_copy   100% 4 0 0   100% 0 0   100%
tests/test_prototypers.py (no function)   100% 12 0 2   100% 0 0   100%
tests/test_registries.py test_registrar   100% 3 0 0   100% 0 0   100%
tests/test_registries.py test_registrar_without_parameters_returns_class   100% 1 0 0   100% 0 0   100%
tests/test_registries.py test_registrar_returns_copy_of_instance   100% 3 0 0   100% 0 0   100%
tests/test_registries.py test_registrar_accepts_kwargs   100% 1 0 0   100% 0 0   100%
tests/test_registries.py test_registrar_missing_key   100% 2 0 0   100% 0 0   100%
tests/test_registries.py test_subclasser   100% 3 0 0   100% 0 0   100%
tests/test_registries.py test_subclasser_indirect_and_missing   100% 4 0 0   100% 0 0   100%
tests/test_registries.py test_subclasser_from_intermediate_class   100% 3 0 0   100% 0 0   100%
tests/test_registries.py test_get_all_subclasses_has_no_duplicates   100% 6 0 0   100% 0 0   100%
tests/test_registries.py test_auto_registrar_registers_indirect_subclasses   100% 3 0 0   100% 0 0   100%
tests/test_registries.py test_auto_registrar_families_do_not_share_registries   100% 5 0 0   100% 0 0   100%
tests/test_registries.py test_auto_registrar_create   100% 6 0 0   100% 0 0   100%
tests/test_registries.py test_auto_registrar_custom_keyer   100% 4 0 0   100% 0 0   100%
tests/test_registries.py test_auto_registrar_own_registry   100% 6 0 0   100% 0 0   100%
tests/test_registries.py (no function)   100% 47 0 3   100% 0 0   100%
tests/test_shared.py Duck.create   0% 1 1 0   100% 0 0   0%
tests/test_shared.py InstanceDuck.create   0% 1 1 0   100% 0 0   0%
tests/test_shared.py test_finalize_class_with_parameters   100% 1 0 0   100% 0 0   100%
tests/test_shared.py test_finalize_instance_with_parameters   100% 4 0 0   100% 0 0   100%
tests/test_shared.py test_finalize_without_parameters   100% 1 0 0   100% 0 0   100%
tests/test_shared.py test_finalize_uses_produce_of_item   100% 2 0 0   100% 0 0   100%
tests/test_shared.py test_finalize_uses_produce_of_factory   100% 2 0 0   100% 0 0   100%
tests/test_shared.py test_inject_attributes_overwrite_rules   100% 7 0 0   100% 0 0   100%
tests/test_shared.py test_inject_attributes_uses_global_overwrite_rule   100% 8 0 0   100% 0 0   100%
tests/test_shared.py test_is_constructor_strict   100% 5 0 0   100% 0 0   100%
tests/test_shared.py test_is_constructor_relaxed   100% 5 0 0   100% 0 0   100%
tests/test_shared.py (no function)   100% 18 0 0   100% 0 0   100%
tests/test_utilities.py test_snakify   100% 3 0 0   100% 0 0   100%
tests/test_utilities.py test_namify   100% 5 0 0   100% 0 0   100%
tests/test_utilities.py test_namify_uses_name_attribute   100% 7 0 0   100% 0 0   100%
tests/test_utilities.py test_iterify   100% 6 0 0   100% 0 0   100%
tests/test_utilities.py test_pathlibify   100% 5 0 0   100% 0 0   100%
tests/test_utilities.py (no function)   100% 10 0 0   100% 0 0   100%
Total     99% 1170 3 34   99% 92 1   99%

No items found using the specified filter.

9 empty functions skipped.