LCOV - code coverage report
Current view: top level - proxy/src - usage_metrics.rs (source / functions) Coverage Total Hit
Test: 4f58e98c51285c7fa348e0b410c88a10caf68ad2.info Lines: 86.9 % 390 339
Test Date: 2025-01-07 20:58:07 Functions: 66.7 % 54 36

Function Name Sort by function name Hit count Sort by function hit count
proxy::usage_metrics::task_main 0
proxy::usage_metrics::task_main 0
proxy::usage_metrics::task_main::{closure#0} 0
proxy::usage_metrics::upload_backup_events::{closure#0}::{closure#1} 0
proxy::usage_metrics::upload_main_events_chunked::{closure#0}::{closure#1} 0
<_ as proxy::usage_metrics::Clearable>::should_clear 1
<_ as proxy::usage_metrics::Clearable>::should_clear 0
::should_clear 1
<proxy::usage_metrics::MetricCounter as proxy::usage_metrics::MetricCounterRecorder>::record_connection 1
<proxy::usage_metrics::MetricCounter as proxy::usage_metrics::MetricCounterRecorder>::record_egress 1
<proxy::usage_metrics::MetricCounter as proxy::usage_metrics::MetricCounterReporter>::get_metrics 1
<proxy::usage_metrics::Metrics>::register 1
<proxy::usage_metrics::Metrics>::register::{closure#0} 1
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#0} 1
proxy::usage_metrics::collect_metrics_iteration::{closure#0}::{closure#0}::{closure#2} 2
proxy::usage_metrics::create_event_chunks::{closure#0} 2
proxy::usage_metrics::create_event_chunks::{closure#0}::{closure#0} 2
proxy::usage_metrics::tests::metrics 2
proxy::usage_metrics::tests::metrics 1
proxy::usage_metrics::tests::metrics::{closure#0} 1
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#0}::{closure#0} 2
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#0}::{closure#0}::{closure#0} 2
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#2} 2
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#3} 2
proxy::usage_metrics::upload_backup_events 2
proxy::usage_metrics::upload_backup_events::{closure#0} 2
proxy::usage_metrics::upload_backup_events::{closure#0}::{closure#0} 2
proxy::usage_metrics::upload_backup_events::{closure#0}::{closure#0}::{closure#0} 2
proxy::usage_metrics::upload_backup_events::{closure#0}::{closure#2} 2
proxy::usage_metrics::upload_main_events_chunked 2
proxy::usage_metrics::upload_main_events_chunked::{closure#0} 2
proxy::usage_metrics::upload_main_events_chunked::{closure#0}::{closure#0} 2
<_ as proxy::usage_metrics::Clearable>::should_report 3
<_ as proxy::usage_metrics::Clearable>::should_report 0
::should_report 3
<proxy::usage_metrics::MetricCounter as proxy::usage_metrics::MetricCounterReporter>::move_metrics 3
proxy::usage_metrics::collect_and_clear_metrics::<_>::{closure#0} 3
proxy::usage_metrics::collect_and_clear_metrics::<_>::{closure#0} 0
proxy::usage_metrics::collect_and_clear_metrics::::{closure#0} 3
proxy::usage_metrics::collect_and_clear_metrics::<_> 4
proxy::usage_metrics::collect_and_clear_metrics::<_> 0
proxy::usage_metrics::collect_and_clear_metrics:: 4
proxy::usage_metrics::create_event_chunks 4
proxy::usage_metrics::create_remote_path_prefix 5
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#1} 6
proxy::usage_metrics::collect_metrics_iteration::{closure#0} 8
proxy::usage_metrics::collect_metrics_iteration::{closure#0} 4
proxy::usage_metrics::collect_metrics_iteration::{closure#0}::{closure#0} 4
<<proxy::usage_metrics::Ids as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 20
<::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_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 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_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 8
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 8

Generated by: LCOV version 2.1-beta