Permalink
Browse files

add buggyclasses and churnyclasses

scripts that abuse xfuncname to get an approximate summary
of which python classes have been changed the most, or
had the most bugzilla id's in commits about them

probably not hard to extend to other langs, but at the
moment it's got hardcoded regex's
  • Loading branch information...
1 parent 7972c35 commit 52489bfbb0ede71abb105f7a78d371e56d2df1f9 @alikins committed May 22, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 git-buggyclasses
  2. +2 −0 git-churnyclasses
View
@@ -0,0 +1,2 @@
+#!/bin/bash
+git log -M -C -p --grep="^[[:digit:]]\\+:" $* | pcregrep -o "@@.*@@\sclass\s(.*)\(.*\)" | cut -f5 -d'@' | sort | uniq -c | sort -n
View
@@ -0,0 +1,2 @@
+#!/bin/bash
+git log -M -C -p $* | pcregrep -o "@@.*@@\sclass\s(.*)\(.*\)" | cut -f5 -d'@' | sort | uniq -c | sort -n

0 comments on commit 52489bf

Please sign in to comment.