LCOV - code coverage report
Current view: top level - libs/utils/src - auth.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 89.4 % 123 110
Test Date: 2024-02-14 18:05:35 Functions: 60.0 % 50 30

Function Name Sort by function name Hit count Sort by function hit count
<utils::auth::AuthError as core::fmt::Debug>::fmt 0
::clone 0
::eq 0
::fmt 0
::hash::<_> 0
<utils::auth::JwtAuth as core::fmt::Debug>::fmt 0
<utils::auth::SwappableJwtAuth as core::fmt::Debug>::fmt 0
utils::auth::tests::test_decode 2
utils::auth::tests::test_decode::{closure#0} 2
utils::auth::tests::test_encode 2
utils::auth::tests::test_encode::{closure#0} 2
<utils::auth::AuthError as core::fmt::Display>::fmt 3
<utils::auth::JwtAuth>::decode::{closure#0} 3
<utils::http::error::ApiError as core::convert::From<utils::auth::AuthError>>::from 3
<utils::auth::SwappableJwtAuth>::swap 6
<utils::auth::JwtAuth>::from_key 11
<utils::auth::SwappableJwtAuth>::new 42
<utils::auth::JwtAuth>::from_key_path 80
<utils::auth::JwtAuth>::new 95
<utils::auth::Claims>::new 184
utils::auth::encode_from_key_file 186
<utils::auth::SwappableJwtAuth>::decode 298
<utils::auth::JwtAuth>::decode 428
<utils::auth::Scope as core::fmt::Debug>::fmt 2023
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 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_enum::> 0
::fmt 0
::deserialize::> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::eq 4
::clone 133
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 186
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 425
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 425
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 425
::deserialize::<&mut serde_json::de::Deserializer> 425
<utils::auth::Claims as core::fmt::Debug>::fmt 2821
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 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_seq::> 0
::fmt 0
::eq 4
::clone 133
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 186
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 425
::deserialize::<&mut serde_json::de::Deserializer> 425
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 824
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 824

Generated by: LCOV version 2.1-beta