Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Detective git takes a look at your repo and shows the hotspots and possible bugs.

License

Notifications You must be signed in to change notification settings

lukasmartinelli/detectivegit

Repository files navigation

detectivegit

⚠️ 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

Screenshot of Flinter

How it works

Hotspots

Detecting hotspots is just some bash hackery:

git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -n 10'

Bug prediction

Using igrigorik/bugspots to guess where bugs might occur (based on Google's bug prediction heuristic).

bugspots .

Docker

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

About

Detective git takes a look at your repo and shows the hotspots and possible bugs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published