paritytech / ink
Files Coverage
crates/allocator/src/bump.rs 85.71%
crates/engine/src/chain_extension.rs 42.86%
crates/engine/src/database.rs 100.00%
crates/engine/src/exec_context.rs 100.00%
crates/engine/src/ext.rs 70.52%
crates/engine/src/hashing.rs 100.00%
crates/engine/src/test_api.rs 85.71%
crates/engine/src/tests.rs 100.00%
crates/engine/src/types.rs 66.67%
crates/env/src/api.rs 32.31%
crates/env/src/arithmetic.rs 100.00%
crates/env/src/backend.rs 83.33%
crates/env/src/call/call_builder.rs 0.00%
crates/env/src/call/common.rs 0.00%
crates/env/src/call/create_builder.rs 0.00%
crates/env/src/call/execution_input.rs 76.92%
crates/env/src/call/selector.rs 50.00%
crates/env/src/chain_extension.rs 0.00%
crates/env/src/engine/e2e/mod.rs 0.00%
crates/env/src/engine/e2e/xts.rs 0.00%
crates/env/src/engine/off_chain/call_data.rs 0.00%
crates/env/src/engine/off_chain/impls.rs 44.58%
crates/env/src/engine/off_chain/mod.rs 100.00%
crates/env/src/engine/off_chain/test_api.rs 64.71%
crates/env/src/engine/off_chain/types.rs 21.05%
crates/env/src/topics.rs 100.00%
crates/env/src/types.rs 0.00%
crates/ink/codegen/src/enforced_error.rs 100.00%
crates/ink/codegen/src/generator/arg_list.rs 100.00%
crates/ink/codegen/src/generator/as_dependency/call_builder.rs 100.00%
crates/ink/codegen/src/generator/as_dependency/contract_ref.rs 100.00%
crates/ink/codegen/src/generator/as_dependency/mod.rs 100.00%
crates/ink/codegen/src/generator/blake2b.rs 100.00%
crates/ink/codegen/src/generator/chain_extension.rs 95.74%
crates/ink/codegen/src/generator/contract.rs 100.00%
crates/ink/codegen/src/generator/dispatch.rs 94.81%
crates/ink/codegen/src/generator/env.rs 100.00%
crates/ink/codegen/src/generator/events.rs 97.26%
crates/ink/codegen/src/generator/ink_e2e_test.rs 0.00%
crates/ink/codegen/src/generator/ink_test.rs 75.00%
crates/ink/codegen/src/generator/item_impls.rs 97.27%
crates/ink/codegen/src/generator/metadata.rs 97.41%
crates/ink/codegen/src/generator/mod.rs 100.00%
crates/ink/codegen/src/generator/selector.rs 100.00%
crates/ink/codegen/src/generator/storage.rs 100.00%
crates/ink/codegen/src/generator/storage_item.rs 53.01%
crates/ink/codegen/src/generator/trait_def/call_builder.rs 100.00%
crates/ink/codegen/src/generator/trait_def/call_forwarder.rs 100.00%
crates/ink/codegen/src/generator/trait_def/definition.rs 100.00%
crates/ink/codegen/src/generator/trait_def/mod.rs 100.00%
crates/ink/codegen/src/generator/trait_def/trait_registry.rs 98.90%
crates/ink/codegen/src/lib.rs 100.00%
crates/ink/codegen/src/traits.rs 100.00%
crates/ink/ir/src/ast/attr_args.rs 82.61%
crates/ink/ir/src/error.rs 100.00%
crates/ink/ir/src/ir/attrs.rs 81.99%
crates/ink/ir/src/ir/blake2.rs 80.00%
crates/ink/ir/src/ir/chain_extension.rs 93.42%
crates/ink/ir/src/ir/config.rs 100.00%
crates/ink/ir/src/ir/contract.rs 100.00%
crates/ink/ir/src/ir/e2e_config.rs 43.75%
crates/ink/ir/src/ir/idents_lint.rs 71.43%
crates/ink/ir/src/ir/ink_e2e_test.rs 0.00%
crates/ink/ir/src/ir/ink_test.rs 87.50%
crates/ink/ir/src/ir/item/event.rs 89.23%
crates/ink/ir/src/ir/item/mod.rs 60.71%
crates/ink/ir/src/ir/item/storage.rs 79.31%
crates/ink/ir/src/ir/item_impl/callable.rs 91.84%
crates/ink/ir/src/ir/item_impl/constructor.rs 93.75%
crates/ink/ir/src/ir/item_impl/impl_item.rs 57.45%
crates/ink/ir/src/ir/item_impl/iter.rs 100.00%
crates/ink/ir/src/ir/item_impl/message.rs 92.05%
crates/ink/ir/src/ir/item_impl/mod.rs 90.68%
crates/ink/ir/src/ir/item_impl/tests.rs 100.00%
crates/ink/ir/src/ir/item_mod.rs 89.66%
crates/ink/ir/src/ir/selector.rs 88.00%
crates/ink/ir/src/ir/storage_item/config.rs 73.33%
crates/ink/ir/src/ir/storage_item/mod.rs 72.34%
crates/ink/ir/src/ir/trait_def/config.rs 64.29%
crates/ink/ir/src/ir/trait_def/item/iter.rs 100.00%
crates/ink/ir/src/ir/trait_def/item/mod.rs 90.08%
crates/ink/ir/src/ir/trait_def/item/trait_item.rs 91.67%
crates/ink/ir/src/ir/trait_def/mod.rs 83.33%
crates/ink/ir/src/ir/trait_def/tests.rs 100.00%
crates/ink/ir/src/ir/utils.rs 92.59%
crates/ink/ir/src/literal.rs 100.00%
crates/ink/macro/src/blake2b.rs 85.71%
crates/ink/macro/src/chain_extension.rs 85.71%
crates/ink/macro/src/contract.rs 85.71%
crates/ink/macro/src/ink_e2e_test.rs 0.00%
crates/ink/macro/src/ink_test.rs 85.71%
crates/ink/macro/src/lib.rs 88.89%
crates/ink/macro/src/selector.rs 85.71%
crates/ink/macro/src/storage/storable.rs 92.68%
crates/ink/macro/src/storage/storable_hint.rs 87.50%
crates/ink/macro/src/storage/storage_key.rs 100.00%
crates/ink/macro/src/storage/storage_layout.rs 90.24%
crates/ink/macro/src/storage/tests/mod.rs 0.00%
crates/ink/macro/src/storage_item.rs 85.71%
crates/ink/macro/src/trait_def.rs 85.71%
crates/ink/src/codegen/dispatch/execution.rs 0.00%
crates/ink/src/env_access.rs 12.00%
crates/ink/src/reflect/dispatch.rs 0.00%
crates/ink/src/result_info.rs 100.00%
crates/ink/tests/ui/blake2b/pass/bytestring_input.rs 100.00%
crates/ink/tests/ui/blake2b/pass/no_implicit_prelude.rs 100.00%
crates/ink/tests/ui/blake2b/pass/string_input.rs 100.00%
crates/ink/tests/ui/chain_extension/E-01-simple.rs 3.13%
crates/ink/tests/ui/contract/pass/config-custom-env.rs 20.00%
crates/ink/tests/ui/contract/pass/config-keep-attr.rs 16.67%
crates/ink/tests/ui/contract/pass/constructor-many-inputs.rs 6.67%
crates/ink/tests/ui/contract/pass/constructor-non-payable-multiple.rs 37.50%
crates/ink/tests/ui/contract/pass/constructor-non-payable.rs 33.33%
crates/ink/tests/ui/contract/pass/constructor-payable-multiple.rs 37.50%
crates/ink/tests/ui/contract/pass/constructor-payable.rs 33.33%
crates/ink/tests/ui/contract/pass/constructor-selector.rs 46.15%
crates/ink/tests/ui/contract/pass/constructor-wildcard-selector.rs 20.00%
crates/ink/tests/ui/contract/pass/dispatch-decoder-works.rs 89.66%
crates/ink/tests/ui/contract/pass/env-access.rs 4.00%
crates/ink/tests/ui/contract/pass/event-anonymous.rs 2.56%
crates/ink/tests/ui/contract/pass/event-config-more-topics.rs 5.56%
crates/ink/tests/ui/contract/pass/event-many-definitions.rs 2.63%
crates/ink/tests/ui/contract/pass/event-single-definition.rs 16.67%
crates/ink/tests/ui/contract/pass/event-topics.rs 2.56%
crates/ink/tests/ui/contract/pass/example-erc20-works.rs 1.61%
crates/ink/tests/ui/contract/pass/example-erc721-works.rs 0.71%
crates/ink/tests/ui/contract/pass/example-flipper-works.rs 73.33%
crates/ink/tests/ui/contract/pass/example-incrementer-works.rs 76.47%
crates/ink/tests/ui/contract/pass/example-trait-flipper-works.rs 60.00%
crates/ink/tests/ui/contract/pass/example-trait-incrementer-works.rs 58.82%
crates/ink/tests/ui/contract/pass/impl-alias-storage.rs 20.00%
crates/ink/tests/ui/contract/pass/impl-block-namespace.rs 20.00%
crates/ink/tests/ui/contract/pass/impl-block-using-env.rs 9.09%
crates/ink/tests/ui/contract/pass/impl-with-property.rs 20.00%
crates/ink/tests/ui/contract/pass/message-many-inputs.rs 3.85%
crates/ink/tests/ui/contract/pass/message-many-outputs.rs 3.85%
crates/ink/tests/ui/contract/pass/message-payable.rs 37.50%
crates/ink/tests/ui/contract/pass/message-selector.rs 33.33%
crates/ink/tests/ui/contract/pass/message-wildcard-selector.rs 14.29%
crates/ink/tests/ui/contract/pass/minimal-contract.rs 20.00%
crates/ink/tests/ui/contract/pass/module-env-types.rs 9.09%
crates/ink/tests/ui/contract/pass/module-non-ink-items.rs 63.64%
crates/ink/tests/ui/contract/pass/no-implicit-prelude.rs 20.00%
crates/ink/tests/ui/contract/pass/storage-many-fields.rs 6.25%
crates/ink/tests/ui/contract/pass/storage-packed-fields.rs 12.50%
crates/ink/tests/ui/contract/pass/storage-single-field.rs 14.29%
crates/ink/tests/ui/contract/pass/storage-with-derives.rs 66.67%
crates/ink/tests/ui/contract/pass/trait-message-payable-guard.rs 11.11%
crates/ink/tests/ui/contract/pass/trait-message-selector-guard.rs 11.11%
crates/ink/tests/ui/contract/pass/traits-messages-same-name.rs 7.14%
crates/ink/tests/ui/pay_with_call/pass/multiple_args.rs 9.09%
crates/ink/tests/ui/selector_bytes/pass/bytestring_input.rs 100.00%
crates/ink/tests/ui/selector_bytes/pass/no_implicit_prelude.rs 100.00%
crates/ink/tests/ui/selector_bytes/pass/string_input.rs 100.00%
crates/ink/tests/ui/selector_id/pass/bytestring_input.rs 100.00%
crates/ink/tests/ui/selector_id/pass/no_implicit_prelude.rs 100.00%
crates/ink/tests/ui/selector_id/pass/string_input.rs 100.00%
crates/ink/tests/ui/storage_item/pass/argument_derive_false.rs 100.00%
crates/ink/tests/ui/storage_item/pass/complex_non_packed_enum.rs 88.14%
crates/ink/tests/ui/storage_item/pass/complex_non_packed_struct.rs 96.43%
crates/ink/tests/ui/storage_item/pass/complex_packed_enum.rs 100.00%
crates/ink/tests/ui/storage_item/pass/complex_packed_struct.rs 100.00%
crates/ink/tests/ui/storage_item/pass/default_storage_key_1.rs 100.00%
crates/ink/tests/ui/storage_item/pass/default_storage_key_2.rs 100.00%
crates/ink/tests/ui/storage_item/pass/default_storage_key_3.rs 100.00%
crates/ink/tests/ui/storage_item/pass/default_storage_key_4.rs 100.00%
crates/ink/tests/ui/storage_item/pass/non_packed_tuple_struct.rs 100.00%
crates/ink/tests/ui/storage_item/pass/packed_tuple_struct.rs 100.00%
crates/ink/tests/ui/trait_def/pass/avoid_overlap_with_namespace.rs 100.00%
crates/ink/tests/ui/trait_def/pass/many_inputs.rs 100.00%
crates/ink/tests/ui/trait_def/pass/many_outputs.rs 100.00%
crates/ink/tests/ui/trait_def/pass/no-implicit-prelude.rs 100.00%
crates/ink/tests/ui/trait_def/pass/payable_message.rs 100.00%
crates/ink/tests/ui/trait_def/pass/simple_definition.rs 100.00%
crates/ink/tests/ui/trait_def/pass/using-env-types.rs 100.00%
crates/ink/tests/ui/trait_def/pass/valid_selectors.rs 100.00%
crates/ink/tests/ui/trait_def/pass/valid_selectors_namespace.rs 100.00%
crates/ink/tests/ui/trait_def/pass/with_keep_attr.rs 100.00%
crates/ink/tests/ui/trait_def/pass/with_namespace.rs 100.00%
crates/ink/tests/unique_topics.rs 75.00%
crates/metadata/src/layout/mod.rs 75.63%
crates/metadata/src/layout/tests.rs 100.00%
crates/metadata/src/layout/validate.rs 94.29%
crates/metadata/src/lib.rs 0.00%
crates/metadata/src/specs.rs 73.95%
crates/metadata/src/utils.rs 70.00%
crates/primitives/src/key.rs 100.00%
crates/primitives/src/types.rs 30.77%
crates/storage/src/lazy/mapping.rs 71.43%
crates/storage/src/lazy/mod.rs 75.00%
crates/storage/traits/src/impls/mod.rs 0.00%
crates/storage/traits/src/layout/impls.rs 10.00%
crates/storage/traits/src/storage.rs 100.00%
Project Totals (193 files) 70.74%
Loading