LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src/models
- utilization.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
83.3 %
90
75
Test Date:
2024-09-23 21:23:07
Functions:
30.8 %
26
8
Function Name
Hit count
<pageserver_api::models::utilization::PageserverUtilization>::full
0
pageserver_api::models::utilization::unity_percent
0
pageserver_api::models::utilization::tests::u64_max_is_serialized_as_u63_max
1
<<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::<_>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
, serde_json::ser::CompactFormatter>>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
3
pageserver_api::models::utilization::ser_saturating_u63::<_>
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::ser_saturating_u63::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
3
pageserver_api::models::utilization::test_utilization::simple
27
<pageserver_api::models::utilization::PageserverUtilization>::score
41
<pageserver_api::models::utilization::PageserverUtilization>::adjust_shard_count_max
43
<pageserver_api::models::utilization::PageserverUtilization>::cached_score
84
<pageserver_api::models::utilization::PageserverUtilization>::is_overloaded
84
Generated by:
LCOV version 2.1-beta