Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request for more stats #188

Open
pixelhandler opened this issue Sep 9, 2021 · 0 comments
Open

Feature request for more stats #188

pixelhandler opened this issue Sep 9, 2021 · 0 comments

Comments

@pixelhandler
Copy link

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.

@pixelhandler pixelhandler changed the title Feature requests stats Feature request for more stats Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant