paritytech / ink
Files Coverage
crates/engine/src/chain_extension.rs 19.05%
crates/engine/src/database.rs 100.00%
crates/engine/src/exec_context.rs 100.00%
crates/engine/src/ext.rs 56.14%
crates/engine/src/hashing.rs 100.00%
crates/engine/src/test_api.rs 72.53%
crates/engine/src/tests.rs 100.00%
crates/engine/src/types.rs 66.67%
crates/env/src/api.rs 21.13%
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/off_chain/call_data.rs 0.00%
crates/env/src/engine/off_chain/impls.rs 32.35%
crates/env/src/engine/off_chain/mod.rs 100.00%
crates/env/src/engine/off_chain/test_api.rs 78.95%
crates/env/src/engine/off_chain/types.rs 0.00%
crates/env/src/topics.rs 100.00%
crates/env/src/types.rs 22.22%
crates/lang/codegen/src/enforced_error.rs 0.00%
crates/lang/codegen/src/generator/arg_list.rs 0.00%
crates/lang/codegen/src/generator/as_dependency/call_builder.rs 0.00%
crates/lang/codegen/src/generator/as_dependency/contract_ref.rs 0.00%
crates/lang/codegen/src/generator/as_dependency/mod.rs 0.00%
crates/lang/codegen/src/generator/blake2b.rs 0.00%
crates/lang/codegen/src/generator/chain_extension.rs 0.00%
crates/lang/codegen/src/generator/contract.rs 0.00%
crates/lang/codegen/src/generator/dispatch.rs 0.00%
crates/lang/codegen/src/generator/env.rs 0.00%
crates/lang/codegen/src/generator/events.rs 0.00%
crates/lang/codegen/src/generator/ink_test.rs 0.00%
crates/lang/codegen/src/generator/item_impls.rs 0.00%
crates/lang/codegen/src/generator/metadata.rs 0.00%
crates/lang/codegen/src/generator/mod.rs 0.00%
crates/lang/codegen/src/generator/selector.rs 0.00%
crates/lang/codegen/src/generator/storage.rs 0.00%
crates/lang/codegen/src/generator/trait_def/call_builder.rs 0.00%
crates/lang/codegen/src/generator/trait_def/call_forwarder.rs 0.00%
crates/lang/codegen/src/generator/trait_def/definition.rs 0.00%
crates/lang/codegen/src/generator/trait_def/mod.rs 0.00%
crates/lang/codegen/src/generator/trait_def/trait_registry.rs 0.00%
crates/lang/codegen/src/lib.rs 100.00%
crates/lang/codegen/src/traits.rs 0.00%
crates/lang/ir/src/ast/attr_args.rs 82.61%
crates/lang/ir/src/error.rs 100.00%
crates/lang/ir/src/ir/attrs.rs 78.67%
crates/lang/ir/src/ir/blake2.rs 20.00%
crates/lang/ir/src/ir/chain_extension.rs 70.59%
crates/lang/ir/src/ir/config.rs 71.93%
crates/lang/ir/src/ir/contract.rs 0.00%
crates/lang/ir/src/ir/idents_lint.rs 61.90%
crates/lang/ir/src/ir/ink_test.rs 0.00%
crates/lang/ir/src/ir/item/event.rs 67.16%
crates/lang/ir/src/ir/item/mod.rs 44.05%
crates/lang/ir/src/ir/item/storage.rs 61.29%
crates/lang/ir/src/ir/item_impl/callable.rs 77.78%
crates/lang/ir/src/ir/item_impl/constructor.rs 87.69%
crates/lang/ir/src/ir/item_impl/impl_item.rs 40.43%
crates/lang/ir/src/ir/item_impl/iter.rs 100.00%
crates/lang/ir/src/ir/item_impl/message.rs 77.53%
crates/lang/ir/src/ir/item_impl/mod.rs 66.95%
crates/lang/ir/src/ir/item_impl/tests.rs 100.00%
crates/lang/ir/src/ir/item_mod.rs 62.29%
crates/lang/ir/src/ir/selector.rs 72.00%
crates/lang/ir/src/ir/trait_def/config.rs 6.06%
crates/lang/ir/src/ir/trait_def/item/iter.rs 100.00%
crates/lang/ir/src/ir/trait_def/item/mod.rs 85.25%
crates/lang/ir/src/ir/trait_def/item/trait_item.rs 45.31%
crates/lang/ir/src/ir/trait_def/mod.rs 0.00%
crates/lang/ir/src/ir/trait_def/tests.rs 100.00%
crates/lang/ir/src/ir/utils.rs 53.85%
crates/lang/ir/src/literal.rs 100.00%
crates/lang/macro/src/blake2b.rs 85.71%
crates/lang/macro/src/chain_extension.rs 85.71%
crates/lang/macro/src/contract.rs 85.71%
crates/lang/macro/src/ink_test.rs 85.71%
crates/lang/macro/src/lib.rs 100.00%
crates/lang/macro/src/selector.rs 85.71%
crates/lang/macro/src/trait_def.rs 85.71%
crates/lang/src/codegen/dispatch/execution.rs 0.00%
crates/lang/src/env_access.rs 12.00%
crates/lang/src/reflect/dispatch.rs 0.00%
crates/lang/src/result_info.rs 100.00%
crates/lang/tests/ui/blake2b/pass/bytestring_input.rs 100.00%
crates/lang/tests/ui/blake2b/pass/no_implicit_prelude.rs 100.00%
crates/lang/tests/ui/blake2b/pass/string_input.rs 100.00%
crates/lang/tests/ui/chain_extension/E-01-simple.rs 2.70%
crates/lang/tests/ui/contract/pass/config-custom-env.rs 20.00%
crates/lang/tests/ui/contract/pass/config-keep-attr.rs 16.67%
crates/lang/tests/ui/contract/pass/constructor-many-inputs.rs 6.25%
crates/lang/tests/ui/contract/pass/constructor-non-payable-multiple.rs 33.33%
crates/lang/tests/ui/contract/pass/constructor-non-payable.rs 33.33%
crates/lang/tests/ui/contract/pass/constructor-payable-multiple.rs 33.33%
crates/lang/tests/ui/contract/pass/constructor-payable.rs 33.33%
crates/lang/tests/ui/contract/pass/constructor-selector.rs 46.15%
crates/lang/tests/ui/contract/pass/constructor-wildcard-selector.rs 20.00%
crates/lang/tests/ui/contract/pass/dispatch-decoder-works.rs 89.66%
crates/lang/tests/ui/contract/pass/env-access.rs 4.00%
crates/lang/tests/ui/contract/pass/event-anonymous.rs 1.92%
crates/lang/tests/ui/contract/pass/event-config-more-topics.rs 3.57%
crates/lang/tests/ui/contract/pass/event-many-definitions.rs 2.63%
crates/lang/tests/ui/contract/pass/event-single-definition.rs 16.67%
crates/lang/tests/ui/contract/pass/event-topics.rs 1.92%
crates/lang/tests/ui/contract/pass/example-erc20-works.rs 1.52%
crates/lang/tests/ui/contract/pass/example-erc721-works.rs 0.68%
crates/lang/tests/ui/contract/pass/example-flipper-works.rs 78.57%
crates/lang/tests/ui/contract/pass/example-incrementer-works.rs 81.25%
crates/lang/tests/ui/contract/pass/example-trait-flipper-works.rs 47.62%
crates/lang/tests/ui/contract/pass/example-trait-incrementer-works.rs 50.00%
crates/lang/tests/ui/contract/pass/impl-alias-storage.rs 20.00%
crates/lang/tests/ui/contract/pass/impl-block-namespace.rs 20.00%
crates/lang/tests/ui/contract/pass/impl-block-using-env.rs 9.09%
crates/lang/tests/ui/contract/pass/impl-with-property.rs 20.00%
crates/lang/tests/ui/contract/pass/message-many-inputs.rs 3.70%
crates/lang/tests/ui/contract/pass/message-many-outputs.rs 3.70%
crates/lang/tests/ui/contract/pass/message-payable.rs 33.33%
crates/lang/tests/ui/contract/pass/message-selector.rs 30.00%
crates/lang/tests/ui/contract/pass/message-wildcard-selector.rs 12.50%
crates/lang/tests/ui/contract/pass/minimal-contract.rs 20.00%
crates/lang/tests/ui/contract/pass/module-env-types.rs 16.67%
crates/lang/tests/ui/contract/pass/module-non-ink-items.rs 63.64%
crates/lang/tests/ui/contract/pass/no-implicit-prelude.rs 20.00%
crates/lang/tests/ui/contract/pass/storage-many-fields.rs 16.67%
crates/lang/tests/ui/contract/pass/storage-packed-fields.rs 14.29%
crates/lang/tests/ui/contract/pass/storage-single-field.rs 16.67%
crates/lang/tests/ui/contract/pass/storage-with-derives.rs 66.67%
crates/lang/tests/ui/contract/pass/trait-message-payable-guard.rs 10.00%
crates/lang/tests/ui/contract/pass/trait-message-selector-guard.rs 10.00%
crates/lang/tests/ui/contract/pass/traits-messages-same-name.rs 5.88%
crates/lang/tests/ui/selector_bytes/pass/bytestring_input.rs 100.00%
crates/lang/tests/ui/selector_bytes/pass/no_implicit_prelude.rs 100.00%
crates/lang/tests/ui/selector_bytes/pass/string_input.rs 100.00%
crates/lang/tests/ui/selector_id/pass/bytestring_input.rs 100.00%
crates/lang/tests/ui/selector_id/pass/no_implicit_prelude.rs 100.00%
crates/lang/tests/ui/selector_id/pass/string_input.rs 100.00%
crates/lang/tests/ui/trait_def/pass/avoid_overlap_with_namespace.rs 100.00%
crates/lang/tests/ui/trait_def/pass/many_inputs.rs 100.00%
crates/lang/tests/ui/trait_def/pass/many_outputs.rs 100.00%
crates/lang/tests/ui/trait_def/pass/no-implicit-prelude.rs 100.00%
crates/lang/tests/ui/trait_def/pass/payable_message.rs 100.00%
crates/lang/tests/ui/trait_def/pass/simple_definition.rs 100.00%
crates/lang/tests/ui/trait_def/pass/using-env-types.rs 100.00%
crates/lang/tests/ui/trait_def/pass/valid_selectors.rs 100.00%
crates/lang/tests/ui/trait_def/pass/valid_selectors_namespace.rs 100.00%
crates/lang/tests/ui/trait_def/pass/with_keep_attr.rs 100.00%
crates/lang/tests/ui/trait_def/pass/with_namespace.rs 100.00%
crates/lang/tests/unique_topics.rs 50.00%
crates/metadata/src/layout/mod.rs 72.41%
crates/metadata/src/layout/tests.rs 100.00%
crates/metadata/src/lib.rs 0.00%
crates/metadata/src/specs.rs 73.95%
crates/metadata/src/utils.rs 66.67%
crates/primitives/src/key.rs 93.42%
crates/primitives/src/key_ptr.rs 75.00%
crates/storage/derive/src/packed_layout.rs 100.00%
crates/storage/derive/src/spread_allocate.rs 92.86%
crates/storage/derive/src/spread_layout.rs 98.51%
crates/storage/derive/src/storage_layout.rs 94.12%
crates/storage/src/lazy/mapping.rs 54.29%
crates/storage/src/pack.rs 100.00%
crates/storage/src/test_utils.rs 95.77%
crates/storage/src/traits/impls/arrays.rs 100.00%
crates/storage/src/traits/impls/fuzz_tests.rs 100.00%
crates/storage/src/traits/impls/mod.rs 66.67%
crates/storage/src/traits/impls/prims.rs 93.55%
crates/storage/src/traits/impls/tuples.rs 94.74%
crates/storage/src/traits/keyptr.rs 100.00%
crates/storage/src/traits/layout/impls.rs 0.00%
crates/storage/src/traits/layout/mod.rs 0.00%
crates/storage/src/traits/mod.rs 82.61%
crates/storage/src/traits/optspec.rs 85.71%
Project Totals (176 files) 47.13%
Loading