Skip to content

Use git history to track how often a file is changed and use it as metric for maintainability #117

Description

@1000i100

Like #58 suggest to use coverage as extra scoring metric, i remember static code analysis using change frequency or amount as metric to smell bad architecture design (and so low maintainability).

For example : if we sort every file in the project by commit number where there are involved :

  • small commit number on a file is a good smell
  • how far a file is from median or average file in commit number can be a bad smell (10x more than average is a very bad smell)

what do you think about this ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions