LCOV - code coverage report
Current view: top level - safekeeper/src/http - routes.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 96.0 % 401 385
Test Date: 2024-02-14 18:05:35 Functions: 69.5 % 105 73

Function Name Sort by function name Hit count Sort by function hit count
<safekeeper::http::routes::AcceptorStateStatus as core::fmt::Debug>::fmt 276
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 9
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 9
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 3
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 3
::deserialize::> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 252
::serialize::, serde_json::ser::CompactFormatter>> 0
<safekeeper::http::routes::SafekeeperStatus as core::fmt::Debug>::fmt 1023
::fmt 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 1023
<safekeeper::http::routes::TermSwitchApiEntry as core::fmt::Debug>::fmt 647
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 8
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 8
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 4
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 623
<safekeeper::http::routes::TimelineStatus as core::fmt::Debug>::fmt 340
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 42
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 42
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 3
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 3
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 250
<safekeeper::safekeeper::TermLsn as core::convert::From<safekeeper::http::routes::TermSwitchApiEntry>>::from 2
safekeeper::http::routes::check_permission 1424
safekeeper::http::routes::check_permission::{closure#0} 43
safekeeper::http::routes::dump_debug_handler 12
safekeeper::http::routes::dump_debug_handler 6
safekeeper::http::routes::dump_debug_handler::{closure#0} 6
safekeeper::http::routes::dump_debug_handler::{closure#0}::{closure#0} 6
safekeeper::http::routes::dump_debug_handler::{closure#0}::{closure#0}::{closure#0} 6
safekeeper::http::routes::dump_debug_handler::{closure#0}::{closure#0}::{closure#1} 6
safekeeper::http::routes::dump_debug_handler::{closure#0}::{closure#0}::{closure#2} 0
safekeeper::http::routes::get_conf 1273
safekeeper::http::routes::make_router 510
safekeeper::http::routes::make_router::{closure#0} 92
safekeeper::http::routes::make_router::{closure#0}::ALLOWLIST_ROUTES::{closure#0} 20
safekeeper::http::routes::make_router::{closure#0}::ALLOWLIST_ROUTES::{closure#0}::{closure#0} 40
safekeeper::http::routes::make_router::{closure#10} 1
safekeeper::http::routes::make_router::{closure#11} 4
safekeeper::http::routes::make_router::{closure#12} 6
safekeeper::http::routes::make_router::{closure#13} 64
safekeeper::http::routes::make_router::{closure#1} 1023
safekeeper::http::routes::make_router::{closure#2} 0
safekeeper::http::routes::make_router::{closure#2}::{closure#0} 0
safekeeper::http::routes::make_router::{closure#2}::{closure#0}::{closure#0} 0
safekeeper::http::routes::make_router::{closure#3} 3
safekeeper::http::routes::make_router::{closure#4} 251
safekeeper::http::routes::make_router::{closure#5} 15
safekeeper::http::routes::make_router::{closure#6} 5
safekeeper::http::routes::make_router::{closure#7} 1
safekeeper::http::routes::make_router::{closure#8} 3
safekeeper::http::routes::make_router::{closure#9} 48
safekeeper::http::routes::parse_kv_str::<core::str::error::ParseBoolError, bool> 9
safekeeper::http::routes::parse_kv_str:: 6
safekeeper::http::routes::parse_kv_str:: 1
safekeeper::http::routes::parse_kv_str:: 2
safekeeper::http::routes::parse_kv_str::<core::str::error::ParseBoolError, bool>::{closure#0} 0
safekeeper::http::routes::parse_kv_str::::{closure#0} 0
safekeeper::http::routes::parse_kv_str::::{closure#0} 0
safekeeper::http::routes::parse_kv_str::::{closure#0} 0
safekeeper::http::routes::patch_control_file_handler 1
safekeeper::http::routes::patch_control_file_handler::{closure#0} 1
safekeeper::http::routes::record_safekeeper_info 8
safekeeper::http::routes::record_safekeeper_info 4
safekeeper::http::routes::record_safekeeper_info::{closure#0} 4
safekeeper::http::routes::record_safekeeper_info::{closure#0}::{closure#0} 3
safekeeper::http::routes::record_safekeeper_info::{closure#0}::{closure#1} 3
safekeeper::http::routes::status_handler 2046
safekeeper::http::routes::status_handler 1023
safekeeper::http::routes::status_handler::{closure#0} 1023
safekeeper::http::routes::tenant_delete_handler 10
safekeeper::http::routes::tenant_delete_handler 5
safekeeper::http::routes::tenant_delete_handler::{closure#0} 5
safekeeper::http::routes::tenant_delete_handler::{closure#0}::{closure#0} 16
safekeeper::http::routes::tests::test_term_switch_entry_api_serialize 2
safekeeper::http::routes::tests::test_term_switch_entry_api_serialize::{closure#0} 2
safekeeper::http::routes::timeline_copy_handler 96
safekeeper::http::routes::timeline_copy_handler 48
safekeeper::http::routes::timeline_copy_handler::{closure#0} 48
safekeeper::http::routes::timeline_create_handler 6
safekeeper::http::routes::timeline_create_handler 3
safekeeper::http::routes::timeline_create_handler::{closure#0} 3
safekeeper::http::routes::timeline_create_handler::{closure#0}::{closure#0} 3
safekeeper::http::routes::timeline_delete_handler 30
safekeeper::http::routes::timeline_delete_handler 15
safekeeper::http::routes::timeline_delete_handler::{closure#0} 15
safekeeper::http::routes::timeline_digest_handler 128
safekeeper::http::routes::timeline_digest_handler 64
safekeeper::http::routes::timeline_digest_handler::{closure#0} 64
safekeeper::http::routes::timeline_files_handler 6
safekeeper::http::routes::timeline_files_handler 3
safekeeper::http::routes::timeline_files_handler::{closure#0} 3
safekeeper::http::routes::timeline_files_handler::{closure#0}::{closure#0} 0
safekeeper::http::routes::timeline_files_handler::{closure#0}::{closure#1} 0
safekeeper::http::routes::timeline_files_handler::{closure#0}::{closure#2} 0
safekeeper::http::routes::timeline_pull_handler 2
safekeeper::http::routes::timeline_pull_handler 1
safekeeper::http::routes::timeline_pull_handler::{closure#0} 1
safekeeper::http::routes::timeline_status_handler 502
safekeeper::http::routes::timeline_status_handler 251
safekeeper::http::routes::timeline_status_handler::{closure#0} 251
safekeeper::http::routes::timeline_status_handler::{closure#0}::{closure#0} 621

Generated by: LCOV version 2.1-beta