pub struct BranchingScope {
pub files_both: u32,
pub files_added: u32,
pub files_only_in_base: u32,
pub test_branch_points: u32,
pub test_functions: u32,
pub largest_file_share_of_branch_points: f64,
}Expand description
Size and composition of the compared set.
Fields§
§files_both: u32Files carrying units on both revisions.
files_added: u32Files carrying units on the head revision only.
files_only_in_base: u32Files that carried units on the base revision only, whether they were deleted or merely lost every accounted unit. Reported, and excluded from every headline number: such a file contributes its whole base-side total as a fall with no head counterpart.
test_branch_points: u32Branch points on test-shaped paths within the head totals. Test code routinely dominates both terms, so a reader needs to see its share before reading the headline.
test_functions: u32Functions on test-shaped paths within the head totals.
Share of head branch points owned by the single largest file, so a reader can see when one vendored or generated file owns the number.
Trait Implementations§
Source§impl Clone for BranchingScope
impl Clone for BranchingScope
impl Copy for BranchingScope
Source§impl Debug for BranchingScope
impl Debug for BranchingScope
Source§impl PartialEq for BranchingScope
impl PartialEq for BranchingScope
Source§impl Serialize for BranchingScope
impl Serialize for BranchingScope
impl StructuralPartialEq for BranchingScope
Auto Trait Implementations§
impl Freeze for BranchingScope
impl RefUnwindSafe for BranchingScope
impl Send for BranchingScope
impl Sync for BranchingScope
impl Unpin for BranchingScope
impl UnsafeUnpin for BranchingScope
impl UnwindSafe for BranchingScope
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