paritytech / ink
Files Coverage
allocator/src/bump.rs 0.00%
engine/src/chain_extension.rs 42.86%
engine/src/database.rs 100.00%
engine/src/exec_context.rs 100.00%
engine/src/ext.rs 70.18%
engine/src/hashing.rs 100.00%
engine/src/test_api.rs 85.71%
engine/src/tests.rs 100.00%
engine/src/types.rs 66.67%
env/src/api.rs 33.80%
env/src/arithmetic.rs 100.00%
env/src/backend.rs 83.33%
env/src/call/call_builder.rs 0.00%
env/src/call/common.rs 0.00%
env/src/call/create_builder.rs 0.00%
env/src/call/execution_input.rs 76.92%
env/src/call/selector.rs 50.00%
env/src/chain_extension.rs 0.00%
env/src/engine/off_chain/call_data.rs 0.00%
env/src/engine/off_chain/impls.rs 44.71%
env/src/engine/off_chain/mod.rs 100.00%
env/src/engine/off_chain/test_api.rs 86.84%
env/src/engine/off_chain/types.rs 21.05%
env/src/topics.rs 100.00%
env/src/types.rs 22.22%
lang/codegen/src/enforced_error.rs 100.00%
lang/codegen/src/generator/arg_list.rs 100.00%
lang/codegen/src/generator/as_dependency/call_builder.rs 100.00%
lang/codegen/src/generator/as_dependency/contract_ref.rs 100.00%
lang/codegen/src/generator/as_dependency/mod.rs 100.00%
lang/codegen/src/generator/blake2b.rs 100.00%
lang/codegen/src/generator/chain_extension.rs 95.74%
lang/codegen/src/generator/contract.rs 100.00%
lang/codegen/src/generator/dispatch.rs 94.37%
lang/codegen/src/generator/env.rs 100.00%
lang/codegen/src/generator/events.rs 97.26%
lang/codegen/src/generator/ink_test.rs 75.00%
lang/codegen/src/generator/item_impls.rs 97.27%
lang/codegen/src/generator/metadata.rs 97.37%
lang/codegen/src/generator/mod.rs 100.00%
lang/codegen/src/generator/selector.rs 100.00%
lang/codegen/src/generator/storage.rs 100.00%
lang/codegen/src/generator/trait_def/call_builder.rs 100.00%
lang/codegen/src/generator/trait_def/call_forwarder.rs 100.00%
lang/codegen/src/generator/trait_def/definition.rs 100.00%
lang/codegen/src/generator/trait_def/mod.rs 100.00%
lang/codegen/src/generator/trait_def/trait_registry.rs 98.92%
lang/codegen/src/lib.rs 100.00%
lang/codegen/src/traits.rs 100.00%
lang/ir/src/ast/attr_args.rs 82.61%
lang/ir/src/error.rs 100.00%
lang/ir/src/ir/attrs.rs 81.99%
lang/ir/src/ir/blake2.rs 80.00%
lang/ir/src/ir/chain_extension.rs 93.46%
lang/ir/src/ir/config.rs 96.49%
lang/ir/src/ir/contract.rs 100.00%
lang/ir/src/ir/idents_lint.rs 71.43%
lang/ir/src/ir/ink_test.rs 87.50%
lang/ir/src/ir/item/event.rs 89.55%
lang/ir/src/ir/item/mod.rs 60.71%
lang/ir/src/ir/item/storage.rs 80.65%
lang/ir/src/ir/item_impl/callable.rs 91.92%
lang/ir/src/ir/item_impl/constructor.rs 93.85%
lang/ir/src/ir/item_impl/impl_item.rs 61.70%
lang/ir/src/ir/item_impl/iter.rs 100.00%
lang/ir/src/ir/item_impl/message.rs 92.13%
lang/ir/src/ir/item_impl/mod.rs 90.68%
lang/ir/src/ir/item_impl/tests.rs 100.00%
lang/ir/src/ir/item_mod.rs 89.71%
lang/ir/src/ir/selector.rs 88.00%
lang/ir/src/ir/trait_def/config.rs 54.55%
lang/ir/src/ir/trait_def/item/iter.rs 100.00%
lang/ir/src/ir/trait_def/item/mod.rs 90.16%
lang/ir/src/ir/trait_def/item/trait_item.rs 89.06%
lang/ir/src/ir/trait_def/mod.rs 83.33%
lang/ir/src/ir/trait_def/tests.rs 100.00%
lang/ir/src/ir/utils.rs 84.62%
lang/ir/src/literal.rs 100.00%
lang/macro/src/blake2b.rs 85.71%
lang/macro/src/chain_extension.rs 85.71%
lang/macro/src/contract.rs 85.71%
lang/macro/src/ink_test.rs 85.71%
lang/macro/src/lib.rs 100.00%
lang/macro/src/selector.rs 85.71%
lang/macro/src/trait_def.rs 85.71%
lang/src/codegen/dispatch/execution.rs 0.00%
lang/src/env_access.rs 12.00%
lang/src/reflect/dispatch.rs 0.00%
lang/src/result_info.rs 100.00%
lang/tests/ui/blake2b/pass/bytestring_input.rs 100.00%
lang/tests/ui/blake2b/pass/no_implicit_prelude.rs 100.00%
lang/tests/ui/blake2b/pass/string_input.rs 100.00%
lang/tests/ui/chain_extension/E-01-simple.rs 2.70%
lang/tests/ui/contract/pass/config-custom-env.rs 20.00%
lang/tests/ui/contract/pass/config-keep-attr.rs 16.67%
lang/tests/ui/contract/pass/constructor-many-inputs.rs 6.25%
lang/tests/ui/contract/pass/constructor-non-payable-multiple.rs 33.33%
lang/tests/ui/contract/pass/constructor-non-payable.rs 33.33%
lang/tests/ui/contract/pass/constructor-payable-multiple.rs 33.33%
lang/tests/ui/contract/pass/constructor-payable.rs 33.33%
lang/tests/ui/contract/pass/constructor-selector.rs 46.15%
lang/tests/ui/contract/pass/constructor-wildcard-selector.rs 20.00%
lang/tests/ui/contract/pass/dispatch-decoder-works.rs 89.66%
lang/tests/ui/contract/pass/env-access.rs 4.00%
lang/tests/ui/contract/pass/event-anonymous.rs 1.92%
lang/tests/ui/contract/pass/event-config-more-topics.rs 3.57%
lang/tests/ui/contract/pass/event-many-definitions.rs 2.63%
lang/tests/ui/contract/pass/event-single-definition.rs 16.67%
lang/tests/ui/contract/pass/event-topics.rs 1.92%
lang/tests/ui/contract/pass/example-erc20-works.rs 1.52%
lang/tests/ui/contract/pass/example-erc721-works.rs 0.68%
lang/tests/ui/contract/pass/example-flipper-works.rs 78.57%
lang/tests/ui/contract/pass/example-incrementer-works.rs 81.25%
lang/tests/ui/contract/pass/example-trait-flipper-works.rs 47.62%
lang/tests/ui/contract/pass/example-trait-incrementer-works.rs 50.00%
lang/tests/ui/contract/pass/impl-alias-storage.rs 20.00%
lang/tests/ui/contract/pass/impl-block-namespace.rs 20.00%
lang/tests/ui/contract/pass/impl-block-using-env.rs 9.09%
lang/tests/ui/contract/pass/impl-with-property.rs 20.00%
lang/tests/ui/contract/pass/message-many-inputs.rs 3.70%
lang/tests/ui/contract/pass/message-many-outputs.rs 3.70%
lang/tests/ui/contract/pass/message-payable.rs 33.33%
lang/tests/ui/contract/pass/message-selector.rs 30.00%
lang/tests/ui/contract/pass/message-wildcard-selector.rs 12.50%
lang/tests/ui/contract/pass/minimal-contract.rs 20.00%
lang/tests/ui/contract/pass/module-env-types.rs 16.67%
lang/tests/ui/contract/pass/module-non-ink-items.rs 63.64%
lang/tests/ui/contract/pass/no-implicit-prelude.rs 20.00%
lang/tests/ui/contract/pass/storage-many-fields.rs 16.67%
lang/tests/ui/contract/pass/storage-packed-fields.rs 14.29%
lang/tests/ui/contract/pass/storage-single-field.rs 16.67%
lang/tests/ui/contract/pass/storage-with-derives.rs 66.67%
lang/tests/ui/contract/pass/trait-message-payable-guard.rs 10.00%
lang/tests/ui/contract/pass/trait-message-selector-guard.rs 10.00%
lang/tests/ui/contract/pass/traits-messages-same-name.rs 5.88%
lang/tests/ui/selector_bytes/pass/bytestring_input.rs 100.00%
lang/tests/ui/selector_bytes/pass/no_implicit_prelude.rs 100.00%
lang/tests/ui/selector_bytes/pass/string_input.rs 100.00%
lang/tests/ui/selector_id/pass/bytestring_input.rs 100.00%
lang/tests/ui/selector_id/pass/no_implicit_prelude.rs 100.00%
lang/tests/ui/selector_id/pass/string_input.rs 100.00%
lang/tests/ui/trait_def/pass/avoid_overlap_with_namespace.rs 100.00%
lang/tests/ui/trait_def/pass/many_inputs.rs 100.00%
lang/tests/ui/trait_def/pass/many_outputs.rs 100.00%
lang/tests/ui/trait_def/pass/no-implicit-prelude.rs 100.00%
lang/tests/ui/trait_def/pass/payable_message.rs 100.00%
lang/tests/ui/trait_def/pass/simple_definition.rs 100.00%
lang/tests/ui/trait_def/pass/using-env-types.rs 100.00%
lang/tests/ui/trait_def/pass/valid_selectors.rs 100.00%
lang/tests/ui/trait_def/pass/valid_selectors_namespace.rs 100.00%
lang/tests/ui/trait_def/pass/with_keep_attr.rs 100.00%
lang/tests/ui/trait_def/pass/with_namespace.rs 100.00%
lang/tests/unique_topics.rs 50.00%
metadata/src/layout/mod.rs 72.41%
metadata/src/layout/tests.rs 100.00%
metadata/src/lib.rs 0.00%
metadata/src/specs.rs 73.95%
metadata/src/utils.rs 66.67%
primitives/src/key.rs 93.42%
primitives/src/key_ptr.rs 100.00%
storage/derive/src/packed_layout.rs 100.00%
storage/derive/src/spread_allocate.rs 92.86%
storage/derive/src/spread_layout.rs 98.51%
storage/derive/src/storage_layout.rs 94.12%
storage/src/lazy/mapping.rs 54.29%
storage/src/pack.rs 100.00%
storage/src/test_utils.rs 95.77%
storage/src/traits/impls/arrays.rs 100.00%
storage/src/traits/impls/fuzz_tests.rs 100.00%
storage/src/traits/impls/mod.rs 77.78%
storage/src/traits/impls/prims.rs 95.16%
storage/src/traits/impls/tuples.rs 94.74%
storage/src/traits/keyptr.rs 100.00%
storage/src/traits/layout/impls.rs 25.00%
storage/src/traits/layout/mod.rs 0.00%
storage/src/traits/mod.rs 100.00%
storage/src/traits/optspec.rs 85.71%
Folder Totals (177 files) 71.95%
Project Totals (177 files) 71.95%
Loading