gitlab-org / GitLab-Git
File Size

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

Intro
Learn more...
File Size Overall
53% | 18% | 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
c56% | 20% | 14% | 5% | 3%
perl85% | 3% | 6% | 3% | 1%
h25% | 2% | 22% | 13% | 35%
py93% | 0% | 0% | 4% | 1%
bash99% | 0% | 0% | 0% | <1%
tcl19% | 23% | 39% | 14% | 3%
pm28% | 25% | 31% | 9% | 4%
mbox0% | 88% | 0% | 0% | 11%
pl0% | 36% | 16% | 30% | 15%
css0% | 100% | 0% | 0% | 0%
js0% | 0% | 47% | 17% | 34%
zsh0% | 0% | 100% | 0% | 0%
go0% | 0% | 0% | 72% | 27%
cocci0% | 0% | 0% | 18% | 81%
tcsh0% | 0% | 0% | 100% | 0%
t0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
el0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT61% | 14% | 13% | 4% | 4%
builtin51% | 30% | 9% | 5% | 3%
compat60% | 11% | 14% | 3% | 9%
gitweb83% | 7% | 4% | 1% | 3%
contrib40% | 5% | 24% | 20% | 9%
reftable38% | 21% | 11% | 10% | 18%
git-gui19% | 22% | 39% | 14% | 3%
refs49% | 20% | 28% | 0% | 1%
perl34% | 22% | 30% | 8% | 4%
sha1dc79% | 0% | 17% | 0% | 3%
t0% | 21% | 32% | 17% | 28%
xdiff0% | 43% | 48% | 0% | 8%
trace20% | 23% | 47% | 15% | 13%
ewah0% | 0% | 42% | 20% | 37%
negotiator0% | 0% | 0% | 86% | 13%
sha2560% | 0% | 0% | 70% | 29%
block-sha10% | 0% | 0% | 93% | 6%
oss-fuzz0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
gitweb.perl
in gitweb
6386 236
diff.c
in root
5657 207
4946 135
apply.c
in root
3732 134
3489 89
regexec.c
in compat/regex
3484 1
pack-objects.c
in builtin
3317 112
malloc.c.h
in compat/nedmalloc
3265 60
revision.c
in root
3197 121
git-p4.py
in root
3145 197
3067 63
regcomp.c
in compat/regex
3062 1
config.c
in root
2996 158
fast-import.c
in builtin
2990 103
git-completion.bash
in contrib/completion
2984 -
2794 79
2720 69
dir.c
in root
2709 107
2681 101
mingw.c
in compat
2368 84
2205 78
remote.c
in root
2194 70
2191 65
SVN.pm
in perl/Git
2144 51
2142 78
2135 107
receive-pack.c
in builtin
2130 46
2061 69
2039 76
log.c
in builtin
2020 64
gc.c
in builtin
1996 83
1975 70
blame.c
in root
1962 59
refs.c
in root
1957 115
http.c
in root
1927 63
1833 78
pretty.c
in root
1793 52
1791 51
1773 66
fetch.c
in builtin
1773 49
am.c
in builtin
1771 59
packfile.c
in root
1729 69
1702 63
1633 62
1614 41
sha1.c
in sha1dc
1597 13
1580 66
1579 65
index-pack.c
in builtin
1572 41
grep.c
in root
1545 61
Files With Most Units (Top 50)
File# lines# units
gitweb.perl
in gitweb
6386 236
diff.c
in root
5657 207
git-p4.py
in root
3145 197
config.c
in root
2996 158
4946 135
apply.c
in root
3732 134
revision.c
in root
3197 121
refs.c
in root
1957 115
pack-objects.c
in builtin
3317 112
2135 107
dir.c
in root
2709 107
fast-import.c
in builtin
2990 103
2681 101
3489 89
mingw.c
in compat
2368 84
gc.c
in builtin
1996 83
2794 79
2142 78
1833 78
2205 78
2039 76
Git.pm
in perl
825 73
record.c
in reftable
1115 71
strbuf.c
in root
970 70
remote.c
in root
2194 70
1975 70
2061 69
packfile.c
in root
1729 69
2720 69
1580 66
1773 66
1579 65
2191 65
log.c
in builtin
2020 64
3067 63
1702 63
http.c
in root
1927 63
1633 62
grep.c
in root
1545 61
malloc.c.h
in compat/nedmalloc
3265 60
blame.c
in root
1962 59
am.c
in builtin
1771 59
commit.c
in root
1371 55
convert.c
in root
1517 55
606 53
pretty.c
in root
1793 52
1433 52
1791 51
midx.c
in root
1507 51
line-log.c
in root
1032 51
Files With Long Lines (Top 50)

There are 69 files with lines longer than 120 characters. In total, there are 258 long lines.

File# lines# units# long lines
ubc_check.c
in sha1dc
341 1 59
3489 89 26
sha1.c
in sha1dc
1597 13 11
git-p4.py
in root
3145 197 10
fast-import.c
in builtin
2990 103 9
fsck.c
in root
1053 40 7
blame.c
in builtin
972 25 7
Vcxproj.pm
in contrib/buildsystems/Generators
275 2 7
userdiff.c
in root
343 7 7
1614 41 6
commit.c
in builtin
1479 34 6
cache.h
in root
1026 14 6
413 9 4
nedmalloc.c
in compat/nedmalloc
852 22 4
gc.c
in builtin
1996 83 4
branch.c
in builtin
740 12 4
351 3 4
pack.h
in root
69 - 3
malloc.c.h
in compat/nedmalloc
3265 60 3
worktree.c
in builtin
931 33 3
700 21 3
78 2 3
Error.pm
in perl/FromCPAN
422 30 3
tcl
checkout_op.tcl
in git-gui/lib
560 - 3
606 53 2
object.h
in root
80 - 2
merge-tree.c
in builtin
425 15 2
2720 69 2
diff.c
in root
5657 207 2
git-remote-mediawiki.perl
in contrib/mw-to-git
1033 45 2
1007 28 2
1020 22 2
tcl
commit.tcl
in git-gui/lib
481 - 2
tcl
merge.tcl
in git-gui/lib
230 - 2
2039 76 2
commit.c
in root
1371 55 1
729 22 1
3067 63 1
47 2 1
822 20 1
packfile.h
in root
75 - 1
55 2 1
750 22 1
object.c
in root
489 20 1
packfile.c
in root
1729 69 1
1580 66 1
daemon.c
in root
1172 38 1
config.c
in root
2996 158 1
553 16 1
read-tree.c
in builtin
218 7 1