microsoft / git
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

File Change Frequency Overall
File Change Frequency Overall
The number of recorded file updates
  • There are 1,036 files with 719,941 lines of code.
    • 222 files changed more than 100 times (349,699 lines of code)
    • 122 files changed 51-100 times (120,947 lines of code)
    • 200 files changed 21-50 times (111,291 lines of code)
    • 298 files changed 6-20 times (97,166 lines of code)
    • 194 files changed 1-5 times (40,838 lines of code)
48% | 16% | 15% | 13% | 5%
Legend:
101+
51-100
21-50
6-20
1-5

Detailed data...

File Change Frequency per File Extension
sh, txt, c, h, po, tcl, gitignore, perl, pm, patch, diff, pl, md, gitattributes, cocci, yml, in, t, js, xsl, py, go, mbox, bat, css, el, bash, rb, zsh, S, sed, json, editorconfig, tcsh, plist, m4, clang-format, gitmodules
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
c64% | 10% | 10% | 10% | 3%
po38% | 20% | 18% | 15% | 6%
perl82% | 4% | 7% | 1% | 3%
h30% | 31% | 15% | 17% | 5%
py93% | 4% | 1% | 0% | 0%
bash99% | 0% | 0% | 0% | <1%
pm39% | 11% | 20% | 18% | 10%
tcl13% | 25% | 36% | 23% | 1%
pl17% | 13% | 12% | 33% | 22%
in20% | 0% | 0% | 41% | 37%
el50% | 0% | 50% | 0% | 0%
mbox0% | 88% | 0% | 5% | 6%
css0% | 0% | 100% | 0% | 0%
zsh0% | 0% | 100% | 0% | 0%
cocci0% | 0% | 0% | 56% | 43%
sed0% | 0% | 0% | 100% | 0%
S0% | 0% | 0% | 100% | 0%
tcsh0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 100% | 0%
go0% | 0% | 0% | 0% | 100%
t0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
po43% | 23% | 16% | 12% | 4%
ROOT74% | 11% | 6% | 7% | <1%
builtin78% | 9% | 3% | 8% | <1%
gitweb92% | 0% | 7% | 0% | 0%
compat22% | 16% | 38% | 19% | 2%
contrib30% | 10% | 13% | 29% | 15%
perl47% | 0% | 24% | 16% | 11%
refs48% | 26% | 16% | 8% | 0%
git-gui3% | 6% | 46% | 26% | 17%
xdiff3% | 61% | 32% | 2% | 0%
t0% | 11% | 19% | 47% | 21%
gitk-git0% | 0% | 14% | 64% | 21%
sha1dc0% | 0% | 79% | 20% | 0%
trace20% | 0% | 44% | 49% | 5%
ewah0% | 0% | 82% | 17% | 0%
block-sha10% | 0% | 93% | 6% | 0%
ppc0% | 0% | 0% | 100% | 0%
reftable0% | 0% | 0% | 0% | 100%
negotiator0% | 0% | 0% | 0% | 100%
sha2560% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 20)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
cache.h
in root
1028 13 14 6142 1628
diff.c
in root
5566 202 21 6124 1168
config.c
in root
2820 148 21 5957 889
revision.c
in root
3111 115 21 5818 858
git-compat-util.h
in root
997 33 21 5901 853
git.c
in root
802 19 21 5921 845
git-completion.bash
in contrib/completion
2960 - 47 5604 806
refs.c
in root
1886 113 14 6083 782
read-cache.c
in root
2678 99 12 6143 753
mingw.c
in compat
2979 96 12 5614 672
commit.c
in builtin
1645 38 21 4361 659
gitweb.perl
in gitweb
6401 236 93 5664 654
dir.c
in root
2701 106 21 5738 621
merge-recursive.c
in root
2788 79 93 5686 621
commit.c
in root
1352 54 41 6132 597
git-svn.perl
in root
1975 70 93 5688 597
wt-status.c
in root
2148 79 26 5624 590
http.c
in root
1942 63 47 5918 587
environment.c
in root
338 14 27 5955 566
unpack-trees.c
in root
2008 72 26 5664 565