Mine git data to calculate complexity trends. Inspired by maat-scripts Adam Tornhill
git clone https://github.com/riccardomerlin/git-miner.git
cd git-miner
npm intsall
npm install -g
If you want to calculate the complexity of the entire repository, go to the git repo folder and run:
git-miner
or for an individual file
git-miner path/to/the/file
or for a subset of files
git-miner -- path/to/the/file1 path/to/the/file2 path/to/the/fileN