gitlab-org / Git
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
53% | 17% | 15% | 6% | 5%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
c57% | 19% | 15% | 5% | 3%
perl84% | 3% | 6% | 3% | 1%
h14% | 5% | 24% | 19% | 36%
bash99% | 0% | 0% | 0% | <1%
py98% | 0% | 0% | 0% | 1%
pm33% | 21% | 32% | 8% | 5%
tcl10% | 31% | 39% | 14% | 3%
pl0% | 48% | 0% | 25% | 25%
mbox0% | 88% | 0% | 0% | 11%
css0% | 100% | 0% | 0% | 0%
js0% | 0% | 47% | 17% | 34%
zsh0% | 0% | 100% | 0% | 0%
cocci0% | 0% | 0% | 50% | 49%
go0% | 0% | 0% | 72% | 27%
tcsh0% | 0% | 0% | 100% | 0%
in0% | 0% | 0% | 0% | 100%
rs0% | 0% | 0% | 0% | 100%
t0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
el0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT58% | 16% | 14% | 5% | 4%
builtin58% | 24% | 9% | 5% | 2%
compat58% | 11% | 15% | 3% | 10%
gitweb82% | 7% | 4% | 1% | 3%
refs80% | 0% | 18% | 0% | <1%
contrib46% | 0% | 21% | 19% | 12%
reftable39% | 20% | 19% | 7% | 14%
perl34% | 21% | 30% | 8% | 4%
sha1dc79% | 0% | 17% | 0% | 3%
git-gui10% | 31% | 39% | 14% | 3%
t0% | 19% | 36% | 17% | 25%
xdiff0% | 42% | 48% | 0% | 8%
trace20% | 41% | 23% | 14% | 20%
ewah0% | 0% | 64% | 0% | 35%
negotiator0% | 0% | 0% | 87% | 12%
sha2560% | 0% | 0% | 60% | 40%
block-sha10% | 0% | 0% | 92% | 7%
oss-fuzz0% | 0% | 0% | 0% | 100%
sha10% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
compiler-tricks0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
gitweb.perl
in gitweb
6387 236
diff.c
in root
5896 216
5242 145
apply.c
in root
3790 135
pack-objects.c
in builtin
3543 119
3489 89
regexec.c
in compat/regex
3484 1
revision.c
in root
3375 127
3365 70
malloc.c.h
in compat/nedmalloc
3265 60
git-completion.bash
in contrib/completion
3203 -
git-p4.py
in root
3150 197
regcomp.c
in compat/regex
3063 1
fast-import.c
in builtin
3038 106
config.c
in root
2974 145
2884 104
2850 69
2839 105
dir.c
in root
2808 111
2607 78
mingw.c
in compat
2553 87
refs.c
in root
2452 112
2398 83
gc.c
in builtin
2388 93
2308 83
log.c
in builtin
2208 65
remote.c
in root
2205 69
2202 79
receive-pack.c
in builtin
2169 47
SVN.pm
in perl/Git
2144 51
http.c
in root
2138 68
2079 76
fetch.c
in builtin
2049 53
1991 73
blame.c
in root
1990 59
1975 68
1935 48
setup.c
in root
1908 59
pretty.c
in root
1894 54
1848 69
1821 54
am.c
in builtin
1782 58
packfile.c
in root
1767 70
index-pack.c
in builtin
1693 45
1666 70
1640 41
sha1.c
in sha1dc
1597 13
grep.c
in root
1595 63
checkout.c
in builtin
1589 39
remote.c
in builtin
1580 45
Files With Most Units (Top 50)
File# lines# units
gitweb.perl
in gitweb
6387 236
diff.c
in root
5896 216
git-p4.py
in root
3150 197
5242 145
config.c
in root
2974 145
apply.c
in root
3790 135
revision.c
in root
3375 127
pack-objects.c
in builtin
3543 119
refs.c
in root
2452 112
dir.c
in root
2808 111
fast-import.c
in builtin
3038 106
2839 105
2884 104
gc.c
in builtin
2388 93
3489 89
mingw.c
in compat
2553 87
2308 83
2398 83
2202 79
2607 78
2079 76
1991 73
Git.pm
in perl
813 73
3365 70
packfile.c
in root
1767 70
1666 70
1848 69
2850 69
remote.c
in root
2205 69
http.c
in root
2138 68
1975 68
strbuf.c
in root
866 66
log.c
in builtin
2208 65
grep.c
in root
1595 63
record.c
in reftable
1088 63
1551 60
malloc.c.h
in compat/nedmalloc
3265 60
blame.c
in root
1990 59
setup.c
in root
1908 59
am.c
in builtin
1782 58
commit.c
in root
1521 57
1309 57
713 55
1498 55
convert.c
in root
1541 55
1821 54
pretty.c
in root
1894 54
line-log.c
in root
1051 53
fetch.c
in builtin
2049 53
bisect.c
in builtin
1152 53
Files With Long Lines (Top 50)

There are 84 files with lines longer than 120 characters. In total, there are 277 long lines.

File# lines# units# long lines
ubc_check.c
in sha1dc
341 1 59
3489 89 26
config.c
in builtin
1221 28 15
sha1.c
in sha1dc
1597 13 11
git-p4.py
in root
3150 197 10
fast-import.c
in builtin
3038 106 9
fsck.c
in root
1114 40 7
blame.c
in builtin
1010 26 7
1640 41 6
userdiff.c
in root
423 8 5
448 9 4
nedmalloc.c
in compat/nedmalloc
853 22 4
commit.c
in builtin
1566 35 4
gc.c
in builtin
2388 93 4
branch.c
in builtin
835 13 4
351 3 4
713 55 3
malloc.c.h
in compat/nedmalloc
3265 60 3
worktree.c
in builtin
1174 38 3
820 24 3
git-credential-wincred.c
in contrib/credential/wincred
277 13 3
git-completion.bash
in contrib/completion
3203 - 3
84 2 3
Error.pm
in perl/FromCPAN
422 30 3
tcl
checkout_op.tcl
in git-gui/lib
560 - 3
object.h
in root
153 3 2
checkout.c
in builtin
1589 39 2
notes.c
in builtin
972 28 2
2850 69 2
diff.c
in root
5896 216 2
230 3 2
git-remote-mediawiki.perl
in contrib/mw-to-git
1033 45 2
1159 32 2
1020 22 2
tcl
commit.tcl
in git-gui/lib
492 - 2
tcl
merge.tcl
in git-gui/lib
230 - 2
2079 76 2
commit.c
in root
1521 57 1
1821 54 1
ws.h
in root
24 - 1
729 22 1
3365 70 1
46 2 1
848 21 1
10 - 1
packfile.h
in root
148 1 1
blame.c
in root
1990 59 1
config.h
in root
359 22 1
42 - 1
795 22 1