LCOV - code coverage report
Current view: top level - proxy/src - usage_metrics.rs (source / functions) Coverage Total Hit
Test: 3eba1babe267649f8cebefc91c236589db030548.info Lines: 72.7 % 326 237
Test Date: 2024-11-22 12:36:12 Functions: 61.0 % 59 36

Function Name Sort by function name Hit count Sort by function hit count
proxy::usage_metrics::collect_metrics_iteration::{closure#0}::{closure#0}::{closure#0} 0
proxy::usage_metrics::task_backup 0
proxy::usage_metrics::task_backup::{closure#0} 0
proxy::usage_metrics::task_main 0
proxy::usage_metrics::task_main 0
proxy::usage_metrics::task_main::{closure#0} 0
proxy::usage_metrics::upload_events_chunk::{closure#0}::{closure#0} 0
proxy::usage_metrics::upload_events_chunk::{closure#0}::{closure#0}::{closure#0} 0
proxy::usage_metrics::upload_events_chunk::{closure#0}::{closure#1} 0
proxy::usage_metrics::upload_events_chunk::{closure#0}::{closure#2} 0
<proxy::usage_metrics::MetricBackupCounter as proxy::usage_metrics::MetricCounterRecorder>::record_connection 1
<proxy::usage_metrics::MetricBackupCounter as proxy::usage_metrics::MetricCounterRecorder>::record_egress 1
<proxy::usage_metrics::MetricBackupCounter as proxy::usage_metrics::MetricCounterReporter>::get_metrics 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::Metrics>::register::{closure#1} 1
proxy::usage_metrics::tests::metrics::{closure#0}::{closure#0} 1
proxy::usage_metrics::upload_events_chunk 1
proxy::usage_metrics::upload_events_chunk::{closure#0} 1
<_ as proxy::usage_metrics::Clearable>::should_clear 2
<_ as proxy::usage_metrics::Clearable>::should_clear 0
::should_clear 1
::should_clear 1
<proxy::usage_metrics::MetricBackupCounter as proxy::usage_metrics::MetricCounterReporter>::move_metrics 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::MetricCounter as proxy::usage_metrics::MetricCounterReporter>::move_metrics 3
proxy::usage_metrics::create_event_chunks::{closure#0} 3
proxy::usage_metrics::create_event_chunks::{closure#0}::{closure#0} 3
proxy::usage_metrics::collect_metrics_backup_iteration::{closure#0} 4
proxy::usage_metrics::collect_metrics_backup_iteration::{closure#0} 2
proxy::usage_metrics::collect_metrics_backup_iteration::{closure#0}::{closure#0} 2
<_ as proxy::usage_metrics::Clearable>::should_report 5
<_ as proxy::usage_metrics::Clearable>::should_report 0
::should_report 2
::should_report 3
proxy::usage_metrics::collect_and_clear_metrics::<_>::{closure#0} 5
proxy::usage_metrics::collect_and_clear_metrics::<_>::{closure#0} 0
proxy::usage_metrics::collect_and_clear_metrics::::{closure#0} 2
proxy::usage_metrics::collect_and_clear_metrics::::{closure#0} 3
proxy::usage_metrics::collect_and_clear_metrics::<_> 6
proxy::usage_metrics::collect_and_clear_metrics::<_> 0
proxy::usage_metrics::collect_and_clear_metrics:: 2
proxy::usage_metrics::collect_and_clear_metrics:: 4
proxy::usage_metrics::create_event_chunks 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 10
<::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::> 2
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 4
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 4

Generated by: LCOV version 2.1-beta