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

[FEAT] add file complexity #3

Open
3 tasks
DerTimonius opened this issue Mar 17, 2024 · 0 comments
Open
3 tasks

[FEAT] add file complexity #3

DerTimonius opened this issue Mar 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DerTimonius
Copy link
Owner

Description

The output with the -a or -t flag collects information about both file length and number of commits. Both could be combined to calculate the complexity or importance of a file. A smaller file that is changed often might be more important to a project than a large file that is only changed once per year.

Technical Details

  • add a function in impl File in file.rs that calculates the complexity
  • add the complexity to the tables in the grouped_info function
  • possibly also add an option to only display the complexity (needs a new flag in the clap command, and a new display function)
@DerTimonius DerTimonius added the enhancement New feature or request label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant