In [1]:
from ozapfdis import git
log = git.log_numstat_existing("../../../dropover/")
log.head()
Out[1]:
In [2]:
java_prod = log[log['file'].str.contains("backend/src/main/java/")].copy()
java_prod = java_prod[~java_prod['file'].str.contains("package-info.java")]
java_prod.head()
Out[2]:
In [3]:
hotspots = java_prod['file'].value_counts()
hotspots.head()
Out[3]:
In [4]:
hotspots.head(10).plot.barh();