Sign inSign up

lukasmartinelli/detectivegit

By lukasmartinelli

Updated about 10 years ago

Your code as a crimescene

Image
0

475

lukasmartinelli/detectivegit repository overview

detectivegit

Detective git takes a look at your repository and shows you where your hotspots and possible bugs are.

:globe_with_meridians: 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

Tag summary

Content type

Image

Digest

Size

363.9 MB

Last updated

about 10 years ago

docker pull lukasmartinelli/detectivegit