LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src/models
- utilization.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info
Lines:
83.3 %
90
75
Test Date:
2024-09-24 13:57:57
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
29
<pageserver_api::models::utilization::PageserverUtilization>::score
57
<pageserver_api::models::utilization::PageserverUtilization>::adjust_shard_count_max
59
<pageserver_api::models::utilization::PageserverUtilization>::cached_score
108
<pageserver_api::models::utilization::PageserverUtilization>::is_overloaded
108
Generated by:
LCOV version 2.1-beta