pub struct FileSummary {
pub path: String,
pub format: String,
pub lines: u64,
pub tokens: u64,
pub bytes: u64,
pub duplicated_lines: u64,
pub duplicated_tokens: u64,
pub complexity: u64,
}Expand description
Per-file summary row.
Fields§
§path: String§format: String§lines: u64§tokens: u64§bytes: u64§duplicated_lines: u64§duplicated_tokens: u64§complexity: u64Cyclomatic-complexity estimate: 1 + count of decision-point tokens
(if, for, while, case, catch, &&, ||, ?, …).
Trait Implementations§
Source§impl Clone for FileSummary
impl Clone for FileSummary
Source§impl Debug for FileSummary
impl Debug for FileSummary
Source§impl<'de> Deserialize<'de> for FileSummary
impl<'de> Deserialize<'de> for FileSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileSummary
Source§impl PartialEq for FileSummary
impl PartialEq for FileSummary
Source§impl Serialize for FileSummary
impl Serialize for FileSummary
impl StructuralPartialEq for FileSummary
Auto Trait Implementations§
impl Freeze for FileSummary
impl RefUnwindSafe for FileSummary
impl Send for FileSummary
impl Sync for FileSummary
impl Unpin for FileSummary
impl UnsafeUnpin for FileSummary
impl UnwindSafe for FileSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more