pub struct AnalysisRun {Show 24 fields
pub tool: ToolMetadata,
pub environment: EnvironmentMetadata,
pub effective_configuration: AppConfig,
pub input_roots: Vec<String>,
pub summary_totals: SummaryTotals,
pub totals_by_language: Vec<LanguageSummary>,
pub per_file_records: Vec<FileRecord>,
pub skipped_file_records: Vec<FileRecord>,
pub warnings: Vec<String>,
pub submodule_summaries: Vec<SubmoduleSummary>,
pub git_commit_short: Option<String>,
pub git_commit_long: Option<String>,
pub git_branch: Option<String>,
pub git_commit_author: Option<String>,
pub git_tags: Option<String>,
pub git_nearest_tag: Option<String>,
pub git_commit_date: Option<String>,
pub git_remote_url: Option<String>,
pub style_summary: Option<StyleSummary>,
pub cocomo: Option<CocomoEstimate>,
pub uloc: u64,
pub dryness_pct: Option<f32>,
pub duplicate_groups: Vec<Vec<String>>,
pub duplicates_excluded: usize,
}Fields§
§tool: ToolMetadata§environment: EnvironmentMetadata§effective_configuration: AppConfig§input_roots: Vec<String>§summary_totals: SummaryTotals§totals_by_language: Vec<LanguageSummary>§per_file_records: Vec<FileRecord>§skipped_file_records: Vec<FileRecord>§warnings: Vec<String>§submodule_summaries: Vec<SubmoduleSummary>Non-empty only when discovery.submodule_breakdown is enabled.
git_commit_short: Option<String>Short git commit SHA (7 chars) at scan time, if the project is a git repo.
git_commit_long: Option<String>Full git commit SHA at scan time, if the project is a git repo.
git_branch: Option<String>Git branch active at scan time, if the project is a git repo.
Author of the last git commit at scan time.
Comma-separated git tags pointing at HEAD at scan time.
git_nearest_tag: Option<String>Nearest ancestor release tag (output of git describe --tags --abbrev=0).
git_commit_date: Option<String>ISO 8601 author-date of the last git commit at scan time.
git_remote_url: Option<String>URL of the origin remote as recorded in .git/config at scan time.
style_summary: Option<StyleSummary>Multi-language style-guide adherence; None when no supported files were analysed.
cocomo: Option<CocomoEstimate>COCOMO I (Basic) effort/schedule estimate derived from total code SLOC.
uloc: u64Unique Lines of Code: count of distinct non-blank code lines across all analyzed files.
dryness_pct: Option<f32>DRYness percentage: uloc / total_code_lines × 100. None when code lines = 0.
duplicate_groups: Vec<Vec<String>>Groups of files with identical content (relative paths). Only non-singleton groups included.
duplicates_excluded: usizeNumber of duplicate files excluded from SLOC totals (when exclude_duplicates is set).
Trait Implementations§
Source§impl Clone for AnalysisRun
impl Clone for AnalysisRun
Source§fn clone(&self) -> AnalysisRun
fn clone(&self) -> AnalysisRun
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more