pub struct CheckSummary {Show 37 fields
pub total_issues: usize,
pub unused_files: usize,
pub unused_exports: usize,
pub unused_types: usize,
pub private_type_leaks: usize,
pub unused_dependencies: usize,
pub unused_enum_members: usize,
pub unused_class_members: usize,
pub unused_store_members: usize,
pub unprovided_injects: usize,
pub unrendered_components: usize,
pub unused_component_props: usize,
pub unused_component_emits: usize,
pub unused_server_actions: usize,
pub unused_load_data_keys: usize,
pub unresolved_imports: usize,
pub unlisted_dependencies: usize,
pub duplicate_exports: usize,
pub type_only_dependencies: usize,
pub test_only_dependencies: usize,
pub circular_dependencies: usize,
pub re_export_cycles: usize,
pub boundary_violations: usize,
pub boundary_coverage_violations: usize,
pub boundary_call_violations: usize,
pub policy_violations: usize,
pub stale_suppressions: usize,
pub unused_catalog_entries: usize,
pub empty_catalog_groups: usize,
pub unresolved_catalog_references: usize,
pub unused_dependency_overrides: usize,
pub misconfigured_dependency_overrides: usize,
pub invalid_client_exports: usize,
pub mixed_client_server_barrels: usize,
pub misplaced_directives: usize,
pub route_collisions: usize,
pub dynamic_segment_name_conflicts: usize,
}Expand description
Per-category issue counts for dead-code analysis. Always present in
CheckOutput; when --summary is used the individual issue arrays are
omitted but this object stays populated.
Fields§
§total_issues: usizeTotal number of issues across all categories.
unused_files: usizeUnused source files.
unused_exports: usizeUnused value exports.
unused_types: usizeUnused type exports.
private_type_leaks: usizePublic exports whose signature references same-file private types.
unused_dependencies: usizeCombined count of unused entries across dependencies,
devDependencies, and optionalDependencies. The per-section
breakdown lives in the individual issue arrays on CheckOutput.
unused_enum_members: usizeUnused enum members.
unused_class_members: usizeUnused class members.
unused_store_members: usizeUnused store members.
unprovided_injects: usizeVue/Svelte injects whose key is provided nowhere in the project.
unrendered_components: usizeVue/Svelte components reachable but rendered nowhere in the project.
unused_component_props: usizeVue <script setup> props referenced nowhere inside their own SFC.
unused_component_emits: usizeVue <script setup> emits emitted nowhere inside their own SFC.
unused_server_actions: usizeNext.js Server Actions (exports of "use server" files) referenced by no
code in the project.
unused_load_data_keys: usizeSvelteKit load() return-object keys read by no consumer.
unresolved_imports: usizeImports that could not be resolved against the project’s module graph.
unlisted_dependencies: usizeDependencies imported but absent from package.json.
duplicate_exports: usizeSame-named exports declared in more than one module.
type_only_dependencies: usizeProduction dependencies only used via type-only imports (could be devDependencies). Only populated in production mode.
test_only_dependencies: usizeProduction dependencies only imported by test files (could be devDependencies).
circular_dependencies: usizeCycles detected in the import graph.
re_export_cycles: usizeCycles or self-loops in the re-export edge subgraph (barrel files re-exporting from each other in a loop).
boundary_violations: usizeImports that cross architecture boundary rules.
boundary_coverage_violations: usizeFiles that match no architecture boundary zone.
boundary_call_violations: usizeCalls from zoned files to callees forbidden for that zone.
policy_violations: usizeBanned calls and banned imports matched by declarative rule packs.
stale_suppressions: usizeSuppression comments that no longer match a finding.
unused_catalog_entries: usizeUnused pnpm-workspace catalog entries.
empty_catalog_groups: usizeEmpty named catalog groups.
unresolved_catalog_references: usizeWorkspace package.json catalog references the workspace catalogs do not declare.
unused_dependency_overrides: usizePnpm overrides: entries whose target package is not declared by any
workspace package and not present in the lockfile.
misconfigured_dependency_overrides: usizePnpm overrides: entries whose key or value cannot be parsed.
invalid_client_exports: usize"use client" files that export a Next.js server-only / route-config name.
mixed_client_server_barrels: usizeBarrel files that re-export both a "use client" origin and a
server-only origin.
misplaced_directives: usizeMisplaced "use client" / "use server" directives written as
expression statements after a non-directive statement.
route_collisions: usizeNext.js App Router route files that resolve to the same URL within one app-root.
dynamic_segment_name_conflicts: usizeSibling Next.js dynamic route segments at one position using different param spellings.
Trait Implementations§
Source§impl Clone for CheckSummary
impl Clone for CheckSummary
Source§fn clone(&self) -> CheckSummary
fn clone(&self) -> CheckSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CheckSummary
impl Debug for CheckSummary
Source§impl Default for CheckSummary
impl Default for CheckSummary
Source§fn default() -> CheckSummary
fn default() -> CheckSummary
Auto Trait Implementations§
impl Freeze for CheckSummary
impl RefUnwindSafe for CheckSummary
impl Send for CheckSummary
impl Sync for CheckSummary
impl Unpin for CheckSummary
impl UnsafeUnpin for CheckSummary
impl UnwindSafe for CheckSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more