pub type TracedCloneGroup = TracedCloneGroup;Aliased Type§
pub struct TracedCloneGroup {
pub fingerprint: String,
pub token_count: usize,
pub line_count: usize,
pub instances: Vec<CloneInstance>,
pub suggestion: RefactoringSuggestion,
pub suggested_name: Option<String>,
}Fields§
§fingerprint: StringStable content fingerprint, usually dup:<8hex> and widened on rare
report collisions.
token_count: usizeNumber of tokens in the duplicated block.
line_count: usizeNumber of lines in the duplicated block.
instances: Vec<CloneInstance>Root-relative clone instances in this group.
suggestion: RefactoringSuggestionGroup-level refactoring suggestion.
suggested_name: Option<String>Best-effort name for the extracted function. Advisory only.