LCOV - code coverage report
Current view: top level - libs/pageserver_api/src/models - utilization.rs (source / functions) Coverage Total Hit
Test: 8b13a09a5c233d98abd4a0d3e59157e7db16d6fd.info Lines: 83.3 % 90 75
Test Date: 2024-11-21 10:53:51 Functions: 30.8 % 26 8

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver_api::models::utilization::PageserverUtilization as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 3
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::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::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::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::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 3
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<_> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
<pageserver_api::models::utilization::PageserverUtilization>::adjust_shard_count_max 25065
<pageserver_api::models::utilization::PageserverUtilization>::cached_score 87626
<pageserver_api::models::utilization::PageserverUtilization>::full 0
<pageserver_api::models::utilization::PageserverUtilization>::is_overloaded 87626
<pageserver_api::models::utilization::PageserverUtilization>::score 25165
pageserver_api::models::utilization::ser_saturating_u63::<_> 3
pageserver_api::models::utilization::ser_saturating_u63::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 3
pageserver_api::models::utilization::ser_saturating_u63::<_> 0
pageserver_api::models::utilization::ser_saturating_u63::, serde_json::ser::CompactFormatter>> 0
pageserver_api::models::utilization::test_utilization::simple 232
pageserver_api::models::utilization::tests::u64_max_is_serialized_as_u63_max 1
pageserver_api::models::utilization::unity_percent 0

Generated by: LCOV version 2.1-beta