You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
pixelhandler
changed the title
Feature requests stats
Feature request for more stats
Sep 9, 2021
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?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 forreused
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.The text was updated successfully, but these errors were encountered: