LCOV - code coverage report
Current view: top level - control_plane/attachment_service/src - service.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 85.2 % 1482 1262
Test Date: 2024-02-14 18:05:35 Functions: 76.5 % 132 101

Function Name Sort by function name Hit count Sort by function hit count
<attachment_service::service::Config as core::clone::Clone>::clone 869
<attachment_service::service::Service>::attach_hook 207
<attachment_service::service::Service>::attach_hook::{closure#0} 207
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#0} 200
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#1} 2
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#2} 13
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#3} 13
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#4} 200
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#5} 7
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#6} 0
<attachment_service::service::Service>::attach_hook::{closure#0}::{closure#7} 207
<attachment_service::service::Service>::await_waiters 465
<attachment_service::service::Service>::await_waiters::{closure#0} 465
<attachment_service::service::Service>::ensure_attached_schedule 799
<attachment_service::service::Service>::ensure_attached_wait 1598
::ensure_attached_wait 799
::ensure_attached_wait::{closure#0} 799
<attachment_service::service::Service>::get_config 5
<attachment_service::service::Service>::inspect 73
<attachment_service::service::Service>::inspect::{closure#0} 73
<attachment_service::service::Service>::inspect::{closure#0}::{closure#0} 73
<attachment_service::service::Service>::node_configure 4
<attachment_service::service::Service>::node_configure::{closure#0} 2
<attachment_service::service::Service>::node_configure::{closure#1} 1
<attachment_service::service::Service>::node_configure::{closure#2} 0
<attachment_service::service::Service>::node_configure::{closure#3} 0
<attachment_service::service::Service>::node_drop 2
::node_drop 1
::node_drop::{closure#0} 1
<attachment_service::service::Service>::node_list 10
::node_list 5
::node_list::{closure#0} 5
<attachment_service::service::Service>::node_list::{closure#0}::{closure#0} 10
<attachment_service::service::Service>::node_register 624
<attachment_service::service::Service>::node_register::{closure#0} 624
<attachment_service::service::Service>::node_register::{closure#0}::{closure#0} 224
<attachment_service::service::Service>::node_register::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::node_register::{closure#0}::{closure#2} 400
<attachment_service::service::Service>::re_attach 624
<attachment_service::service::Service>::re_attach::{closure#0} 624
<attachment_service::service::Service>::re_attach::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::reconcile_all 363
<attachment_service::service::Service>::reconcile_all::{closure#0} 8
<attachment_service::service::Service>::spawn 732
::spawn 366
::spawn::{closure#0} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#0} 11
<attachment_service::service::Service>::spawn::{closure#0}::{closure#1} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#1}::{closure#0} 501
<attachment_service::service::Service>::spawn::{closure#0}::{closure#1}::{closure#1} 509
<attachment_service::service::Service>::spawn::{closure#0}::{closure#1}::{closure#2} 0
<attachment_service::service::Service>::spawn::{closure#0}::{closure#1}::{closure#3} 1
<attachment_service::service::Service>::spawn::{closure#0}::{closure#2} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#3} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#4} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#5} 366
<attachment_service::service::Service>::spawn::{closure#0}::{closure#6} 366
<attachment_service::service::Service>::startup_reconcile 732
::startup_reconcile 366
::startup_reconcile::{closure#0} 366
<attachment_service::service::Service>::startup_reconcile::{closure#0}::is_fatal 12
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#0} 18
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#1} 5
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#1}::{closure#0} 5
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#1}::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#2} 0
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#3} 7
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#4} 1
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#5} 6
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#6} 0
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#7} 0
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#8} 0
<attachment_service::service::Service>::startup_reconcile::{closure#0}::{closure#9} 363
<attachment_service::service::Service>::tenant_create 464
<attachment_service::service::Service>::tenant_create::{closure#0} 464
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#0} 492
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#1} 492
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#1}::{closure#0} 1
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#2} 0
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#3} 0
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#4} 0
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#5} 492
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#6} 464
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#7} 492
<attachment_service::service::Service>::tenant_create::{closure#0}::{closure#8} 0
<attachment_service::service::Service>::tenant_delete 24
::tenant_delete 12
::tenant_delete::{closure#0} 12
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#2} 42
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#3} 24
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#4} 6
<attachment_service::service::Service>::tenant_delete::{closure#0}::{closure#5} 6
<attachment_service::service::Service>::tenant_drop 2
::tenant_drop 1
::tenant_drop::{closure#0} 1
<attachment_service::service::Service>::tenant_locate 841
<attachment_service::service::Service>::tenant_locate::{closure#0} 841
<attachment_service::service::Service>::tenant_locate::{closure#1} 841
<attachment_service::service::Service>::tenant_locate::{closure#2} 1047
::tenant_locate::{closure#2} 1047
::tenant_locate::{closure#3} 0
<attachment_service::service::Service>::tenant_location_config 2
<attachment_service::service::Service>::tenant_location_config::{closure#0} 2
<attachment_service::service::Service>::tenant_location_config::{closure#0}::{closure#0} 1
<attachment_service::service::Service>::tenant_location_config::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::tenant_shard0_baseurl 11
<attachment_service::service::Service>::tenant_shard_migrate 4
<attachment_service::service::Service>::tenant_shard_migrate::{closure#0} 4
<attachment_service::service::Service>::tenant_shard_migrate::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::tenant_shard_migrate::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::tenant_shard_migrate::{closure#0}::{closure#2} 4
<attachment_service::service::Service>::tenant_shard_migrate::{closure#0}::{closure#3} 0
<attachment_service::service::Service>::tenant_shard_split 2
<attachment_service::service::Service>::tenant_shard_split::{closure#0} 2
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#2} 0
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#3} 5
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#4} 10
::tenant_shard_split::{closure#0}::{closure#4} 10
::tenant_shard_split::{closure#0}::{closure#5} 0
<attachment_service::service::Service>::tenant_shard_split::{closure#0}::{closure#6} 0
<attachment_service::service::Service>::tenant_timeline_create 797
<attachment_service::service::Service>::tenant_timeline_create::{closure#0} 797
<attachment_service::service::Service>::tenant_timeline_create::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::tenant_timeline_create::{closure#0}::{closure#1} 4
<attachment_service::service::Service>::tenant_timeline_create::{closure#0}::{closure#2} 797
<attachment_service::service::Service>::tenant_timeline_create::{closure#0}::{closure#3} 828
<attachment_service::service::Service>::tenant_timeline_delete 2
<attachment_service::service::Service>::tenant_timeline_delete::{closure#0} 2
<attachment_service::service::Service>::tenant_timeline_delete::{closure#0}::{closure#0} 0
<attachment_service::service::Service>::tenant_timeline_delete::{closure#0}::{closure#1} 0
<attachment_service::service::Service>::tenant_timeline_delete::{closure#0}::{closure#2} 2
<attachment_service::service::Service>::tenant_timeline_delete::{closure#0}::{closure#3} 4
<attachment_service::service::Service>::validate 441
<attachment_service::service::Service>::validate::{closure#0} 528
<attachment_service::service::ServiceState>::new 366
<utils::http::error::ApiError as core::convert::From<attachment_service::persistence::DatabaseError>>::from 0
<utils::http::error::ApiError as core::convert::From<attachment_service::tenant_state::ReconcileWaitError>>::from 1

Generated by: LCOV version 2.1-beta