⚠️ This repository is no longer maintained by Lukas Martinelli.
Detective git takes a look at your repository and shows you where your hotspots and possible bugs are.
🌐 Check the demo at detectivegit.lukasmartinelli.ch
Detecting hotspots is just some bash hackery:
git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -n 10'
Using igrigorik/bugspots to guess where bugs might occur (based on Google's bug prediction heuristic).
bugspots .
In order to run detectivegit you need git
, cpd
and bugspots
.
Because these tools require a complex stack consisting of Node
, Ruby
and Java
we need Docker to ensure a working environment.
Build image.
docker build -t lukasmartinelli/detectivegit
Run image.
docker run --rm -p 3000:3000 -t lukasmartinelli/detectivegit
Develop with image.
docker run --rm -v $(pwd):/usr/src/app -p 3000:3000 -t lukasmartinelli/detectivegit