Skip to content

Feature request for more stats #188

Open
@pixelhandler

Description

@pixelhandler

It's great to know the total components and total unused components. My team found this addon while looking for a solution to count the components in our app in an effort to identify components that are reused (vs unused).

Could the --stats output include the count of components that are reused?

 No. of components: 100
 No. of unused components: 5 (5.00%)
 No. of reused components: 25 (25.00%)

I noticed the option for --occurrences lists where the components are found, perhaps components that are found more than once could be considered "reused" and a statistic for reused could be incremented.

What I had in mind is an option for --counts that leverages --occurrences behavior but only lists the components and the number of time that the component is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions