Quickly get files to refactor
They are usually the most changed ones:
git log --pretty=format: --name-only | grep .rb | sort | uniq -c | sort -rg | head -10
Or has been fixed the most:
git log --grep fix --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10
Or contain too much logic:
wc -l app/models/* | sort | tail
Written by Adam Stankiewicz
Related protips
1 Response
That's interesting.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#