Skip to main content

CheckSummary

Struct CheckSummary 

Source
pub struct CheckSummary {
Show 42 fields pub total_issues: usize, pub unused_files: usize, pub unused_exports: usize, pub unused_types: usize, pub private_type_leaks: usize, pub deprecated_exports_in_use: 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_component_inputs: usize, pub unused_component_outputs: usize, pub unused_svelte_events: 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 dev_dependencies_in_production: 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: usize

Total number of issues across all categories.

§unused_files: usize

Unused source files.

§unused_exports: usize

Unused value exports.

§unused_types: usize

Unused type exports.

§private_type_leaks: usize

Public exports whose signature references same-file private types.

§deprecated_exports_in_use: usize

Exports marked @deprecated that are still referenced.

§unused_dependencies: usize

Combined count of unused entries across dependencies, devDependencies, and optionalDependencies. The per-section breakdown lives in the individual issue arrays on CheckOutput.

§unused_enum_members: usize

Unused enum members.

§unused_class_members: usize

Unused class members.

§unused_store_members: usize

Unused store members.

§unprovided_injects: usize

Vue/Svelte injects whose key is provided nowhere in the project.

§unrendered_components: usize

Vue/Svelte components reachable but rendered nowhere in the project.

§unused_component_props: usize

Vue, Svelte, or React props referenced nowhere inside their own component.

§unused_component_emits: usize

Vue <script setup> emits emitted nowhere inside their own SFC.

§unused_component_inputs: usize

Angular @Input() bindings referenced nowhere inside their own component.

§unused_component_outputs: usize

Angular @Output() bindings emitted nowhere inside their own component.

§unused_svelte_events: usize

Svelte components dispatching a custom event via createEventDispatcher whose name is listened to nowhere in the project.

§unused_server_actions: usize

Next.js Server Actions (exports of "use server" files) referenced by no code in the project.

§unused_load_data_keys: usize

SvelteKit load() return-object keys read by no consumer.

§unresolved_imports: usize

Imports that could not be resolved against the project’s module graph.

§unlisted_dependencies: usize

Dependencies imported but absent from package.json.

§duplicate_exports: usize

Same-named exports declared in more than one module.

§type_only_dependencies: usize

Production dependencies only used via type-only imports (could be devDependencies). Only populated in production mode.

§test_only_dependencies: usize

Production dependencies only imported by test files (could be devDependencies).

§dev_dependencies_in_production: usize

devDependencies imported by production source code with a runtime/value import (should be promoted to dependencies).

§circular_dependencies: usize

Cycles detected in the import graph.

§re_export_cycles: usize

Cycles or self-loops in the re-export edge subgraph (barrel files re-exporting from each other in a loop).

§boundary_violations: usize

Imports that cross architecture boundary rules.

§boundary_coverage_violations: usize

Files that match no architecture boundary zone.

§boundary_call_violations: usize

Calls from zoned files to callees forbidden for that zone.

§policy_violations: usize

Banned calls, imports, and catalogue-derived effects matched by declarative rule packs.

§stale_suppressions: usize

Suppression comments that no longer match a finding.

§unused_catalog_entries: usize

Unused pnpm-workspace catalog entries.

§empty_catalog_groups: usize

Empty named catalog groups.

§unresolved_catalog_references: usize

Workspace package.json catalog references the workspace catalogs do not declare.

§unused_dependency_overrides: usize

Package-manager overrides whose target package is not declared by any workspace package and not present in the active readable lockfile.

§misconfigured_dependency_overrides: usize

Package-manager overrides 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: usize

Barrel files that re-export both a "use client" origin and a server-only origin.

§misplaced_directives: usize

Misplaced "use client" / "use server" directives written as expression statements after a non-directive statement.

§route_collisions: usize

Next.js App Router route files that resolve to the same URL within one app-root.

§dynamic_segment_name_conflicts: usize

Sibling Next.js dynamic route segments at one position using different param spellings.

Trait Implementations§

Source§

impl Clone for CheckSummary

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CheckSummary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CheckSummary

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Serialize for CheckSummary

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<'a, T> FromIn<'a, T> for T

Source§

fn from_in(t: T, _: &'a Allocator) -> T

Converts to this type from the input type within the given allocator.
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

Source§

fn into_in(self, allocator: &'a Allocator) -> U

Converts this type into the (usually inferred) input type within the given allocator.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.