frecenfile
frecenfile computes frecency scores for files in Git repositories. Frecency combines the frequency and recency of events.
This is useful as a heauristic for finding relevant or trending files when all you have to work with is the commit history.
frecenfile is highly scalabe, producing a sorted output within miliseconds for mid-sized repositories, and processing the entire commit history Linux in under a minute.
📦 Installation
🚀 Usage
Score every file in the current repo, highest first
Only list paths, omit scores
Restrict analysis to certain directories
Sort oldest/least-touched files first
Example output
12.9423 src/lib.rs
9.3310 src/analyze.rs
2.7815 README.md