News for hackers. Stuff that matters.
Re:PMD meets Git to prioritize technical debt by drtse4 on Thursday January 12, 2017 @01:47PM (#13384945)
He recommends git blame to identify which files should be prioritized when improving the codebase, but git log and a bit of shell-fu can make remove the need for manual browsing.

For example, obtaining the list of the 10 most modified files is as easy as:

    git log --name-only --pretty=format: | sort | uniq -c | sort -nr | head -n 10
This is only a simple example but something non much different could be used to get a better indication of actual activity, limit the search to specific timeframes or users, etc...

There are no comments on this comment yet.