LCOV - code coverage report
Current view: top level - libs/remote_storage/src - lib.rs (source / functions) Coverage Total Hit
Test: 2e3a7638747e564a4f6d1af1cc0c3b3438fbb740.info Lines: 84.5 % 388 328
Test Date: 2024-11-20 01:36:58 Functions: 50.7 % 138 70

Function Name Sort by function name Hit count Sort by function hit count
<remote_storage::Download as core::fmt::Debug>::fmt 0
<remote_storage::GenericRemoteStorage>::bucket_name 0
<remote_storage::GenericRemoteStorage>::from_config::{closure#0}::{closure#1} 0
<remote_storage::GenericRemoteStorage>::upload_storage_object::<_>::{closure#0}::{closure#0} 0
::upload_storage_object::<_>::{closure#0}::{closure#0} 0
::upload_storage_object::>>>::{closure#0}::{closure#0} 0
::upload_storage_object::>::{closure#0}::{closure#0} 0
<remote_storage::RemotePath as serde::de::Deserialize>::deserialize::<_> 0
<remote_storage::RemotePath as serde::ser::Serialize>::serialize::<_> 0
<remote_storage::StorageMetadata as core::convert::From<[(&str, &str); 1]>>::from 0
>::from 0
>::from 0
<remote_storage::StorageMetadata as core::convert::From<[(&str, &str); 1]>>::from::{closure#0} 0
>::from::{closure#0} 0
>::from::{closure#0} 0
<remote_storage::GenericRemoteStorage>::unreliable_wrapper 2
<remote_storage::GenericRemoteStorage>::copy_object 3
>>::copy_object 0
>>::copy_object 0
::copy_object 3
<remote_storage::GenericRemoteStorage>::copy_object::{closure#0} 3
>>::copy_object::{closure#0} 0
>>::copy_object::{closure#0} 0
::copy_object::{closure#0} 3
<remote_storage::GenericRemoteStorage>::list_streaming 3
>>::list_streaming 0
>>::list_streaming 0
::list_streaming 3
remote_storage::tests::download_opts_byte_range 3
remote_storage::tests::download_opts_byte_range_negative 3
remote_storage::tests::download_opts_byte_range_zero 3
remote_storage::tests::rempte_path_cannot_be_created_from_absolute_ones 3
remote_storage::tests::test_object_name 3
<remote_storage::GenericRemoteStorage>::time_travel_recover 6
>>::time_travel_recover 0
>>::time_travel_recover 0
::time_travel_recover 6
<remote_storage::GenericRemoteStorage>::time_travel_recover::{closure#0} 6
>>::time_travel_recover::{closure#0} 0
>>::time_travel_recover::{closure#0} 0
::time_travel_recover::{closure#0} 6
<remote_storage::GenericRemoteStorage>::head_object 9
>>::head_object 0
>>::head_object 0
::head_object 9
<remote_storage::GenericRemoteStorage>::head_object::{closure#0} 9
>>::head_object::{closure#0} 0
>>::head_object::{closure#0} 0
::head_object::{closure#0} 9
<_ as remote_storage::RemoteStorage>::delete_prefix::{closure#0} 18
<_ as remote_storage::RemoteStorage>::delete_prefix::{closure#0} 0
::delete_prefix::{closure#0} 0
::delete_prefix::{closure#0} 0
::delete_prefix::{closure#0} 6
::delete_prefix::{closure#0} 12
<remote_storage::GenericRemoteStorage>::delete_prefix 18
>>::delete_prefix 0
::delete_prefix 18
<remote_storage::GenericRemoteStorage>::delete_prefix::{closure#0} 18
>>::delete_prefix::{closure#0} 0
::delete_prefix::{closure#0} 18
<remote_storage::RemotePath>::object_name 18
<remote_storage::local_fs::LocalFs as remote_storage::RemoteStorage>::delete_prefix 18
::delete_prefix 0
::delete_prefix 0
::delete_prefix 6
::delete_prefix 12
<remote_storage::GenericRemoteStorage>::delete_objects 21
>>::delete_objects 0
::delete_objects 21
<remote_storage::GenericRemoteStorage>::delete_objects::{closure#0} 21
>>::delete_objects::{closure#0} 0
::delete_objects::{closure#0} 21
<remote_storage::GenericRemoteStorage>::from_config::{closure#0}::{closure#0} 26
remote_storage::tests::download_opts_byte_range::{closure#0} 30
<remote_storage::ConcurrencyLimiter>::acquire_owned 32
<remote_storage::ConcurrencyLimiter>::acquire_owned::{closure#0} 32
<remote_storage::DownloadOpts>::byte_range_header::{closure#1} 40
<remote_storage::ConcurrencyLimiter>::new 51
<_ as remote_storage::RemoteStorage>::delete_prefix::{closure#0}::{closure#0} 63
<_ as remote_storage::RemoteStorage>::delete_prefix::{closure#0}::{closure#0} 0
::delete_prefix::{closure#0}::{closure#0} 0
::delete_prefix::{closure#0}::{closure#0} 0
::delete_prefix::{closure#0}::{closure#0} 21
::delete_prefix::{closure#0}::{closure#0} 42
<remote_storage::DownloadOpts>::byte_range_header 65
<remote_storage::RemotePath>::strip_prefix 67
<_ as remote_storage::RemoteStorage>::list::{closure#0} 69
<_ as remote_storage::RemoteStorage>::list::{closure#0} 0
::list::{closure#0} 19
::list::{closure#0} 50
<remote_storage::s3_bucket::S3Bucket as remote_storage::RemoteStorage>::list 69
::list 19
::list 50
<remote_storage::DownloadOpts>::byte_range_header::{closure#0} 70
::byte_range_header::{closure#0}::{closure#0} 30
::byte_range_header::{closure#0} 40
<remote_storage::RemotePath>::join::<_> 102
::join::<&alloc::string::String> 0
::join::<_> 0
::join:: 0
::join::<&str> 3
::join:: 6
::join::<&camino::Utf8Path> 93
<remote_storage::DownloadOpts>::byte_range 179
<remote_storage::RemotePath>::add_trailing_slash 198
<remote_storage::GenericRemoteStorage>::delete 262
>>::delete 0
>>::delete 0
::delete 262
<remote_storage::GenericRemoteStorage>::delete::{closure#0} 262
>>::delete::{closure#0} 0
>>::delete::{closure#0} 0
::delete::{closure#0} 262
<remote_storage::RemotePath as core::fmt::Display>::fmt 272
<remote_storage::GenericRemoteStorage>::list 459
>>::list 0
>>::list 0
::list 459
<remote_storage::GenericRemoteStorage>::list::{closure#0} 459
>>::list::{closure#0} 0
>>::list::{closure#0} 0
::list::{closure#0} 459
<remote_storage::GenericRemoteStorage>::from_config 476
::from_config 238
::from_config::{closure#0} 238
<remote_storage::GenericRemoteStorage>::download 661
>>::download 0
>>::download 0
::download 661
<remote_storage::GenericRemoteStorage>::download::{closure#0} 661
>>::download::{closure#0} 0
>>::download::{closure#0} 0
::download::{closure#0} 661
<remote_storage::ConcurrencyLimiter>::acquire 697
<remote_storage::ConcurrencyLimiter>::acquire::{closure#0} 697
<remote_storage::ConcurrencyLimiter>::for_kind 729
<remote_storage::DownloadOpts as core::default::Default>::default 730
<remote_storage::RemotePath>::get_path 1020
<remote_storage::GenericRemoteStorage>::upload_storage_object::<_> 1416
::upload_storage_object::<_> 0
::upload_storage_object::> 0
::upload_storage_object::>>> 1416
<remote_storage::GenericRemoteStorage>::upload_storage_object::<_>::{closure#0} 1416
::upload_storage_object::<_>::{closure#0} 0
::upload_storage_object::>::{closure#0} 0
::upload_storage_object::>>>::{closure#0} 1416
<remote_storage::GenericRemoteStorage<alloc::sync::Arc<_>>>::upload::<_> 3076
>>::upload::<_> 0
>>::upload::, core::iter::adapters::take::Take>>, core::result::Result::Ok>>> 0
>>::upload::> 0
>>::upload::>> 0
::upload::>> 0
::upload::, core::iter::adapters::take::Take>>, core::result::Result::Ok>>> 4
>>::upload::>>> 12
::upload::> 1319
::upload::>>> 1741
<remote_storage::GenericRemoteStorage<alloc::sync::Arc<_>>>::upload::<_>::{closure#0} 3076
>>::upload::<_>::{closure#0} 0
>>::upload::, core::iter::adapters::take::Take>>, core::result::Result::Ok>>>::{closure#0} 0
>>::upload::>::{closure#0} 0
>>::upload::>>::{closure#0} 0
::upload::>>::{closure#0} 0
::upload::, core::iter::adapters::take::Take>>, core::result::Result::Ok>>>::{closure#0} 4
>>::upload::>>>::{closure#0} 12
::upload::>::{closure#0} 1319
::upload::>>>::{closure#0} 1741
<remote_storage::RemotePath>::from_string 4071
<remote_storage::RemotePath>::with_base 4097
<remote_storage::RemotePath>::new 4523

Generated by: LCOV version 2.1-beta