apple / apple-llvm-infrastructure-tools
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 46 files with 7,604 lines of code.
    • 1 very long files (1,039 lines of code)
    • 2 long files (1,699 lines of code)
    • 8 medium size files (2,279 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,364 lines of code)
    • 26 very small files (1,223 lines of code)
13% | 22% | 29% | 17% | 16%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
h21% | 35% | 20% | 15% | 6%
cpp0% | 0% | 100% | 0% | 0%
py0% | 0% | 22% | 34% | 42%
TXT0% | 0% | 100% | 0% | 0%
awk0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src19% | 31% | 30% | 13% | 5%
git_apple_llvm/git_tools0% | 0% | 76% | 0% | 23%
ROOT0% | 0% | 82% | 0% | 17%
git_apple_llvm/am0% | 0% | 0% | 47% | 52%
git_apple_llvm/pr0% | 0% | 0% | 86% | 13%
libexec/apple-llvm/helpers0% | 0% | 0% | 0% | 100%
git_apple_llvm/ci0% | 0% | 0% | 0% | 100%
src/tools0% | 0% | 0% | 0% | 100%
git_apple_llvm/config0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
git_cache.h
in src
1039 54
commit_interleaver.h
in src
930 29
commit_source.h
in src
769 28
split2mono.cpp
in src
461 13
push.py
in git_apple_llvm/git_tools
400 28
index_query.h
in src
299 22
data_query.h
in src
239 18
svn2git.cpp
in src
230 16
TXT
LICENSE.TXT
in root
229 -
translation_queue.h
in src
213 10
split2monodb.h
in src
208 7
main.py
in git_apple_llvm/pr
197 17
sha1_pool.h
in src
184 11
graph.py
in git_apple_llvm/am
179 15
sha1convert.h
in src
163 17
call_git.h
in src
155 5
am_status.py
in git_apple_llvm/am
139 4
dir_list.h
in src
128 15
file_stream.h
in src
112 11
github_pr_tool.py
in git_apple_llvm/pr
107 21
parsers.h
in src
100 16
jenkins_ci.py
in git_apple_llvm/ci
98 10
zippered_merge.py
in git_apple_llvm/am
95 10
main.py
in git_apple_llvm/am
94 8
awk
count-merged.awk
in libexec/apple-llvm/helpers
86 -
bump_allocator.h
in src
76 3
core.py
in git_apple_llvm/am
73 3
awk
mt-config-dirs.awk
in libexec/apple-llvm/helpers
73 -
check_for_updates.py
in src/tools
70 6
__init__.py
in git_apple_llvm/git_tools
67 10
setup.py
in root
48 6
oracle.py
in git_apple_llvm/am
46 7
pr_tool.py
in git_apple_llvm/pr
45 13
mmapped_file.h
in src
45 5
am_config.py
in git_apple_llvm/am
44 6
svnbaserev.h
in src
32 4
__init__.py
in git_apple_llvm/config
29 4
tracked_branch_ref.py
in git_apple_llvm/git_tools
28 2
verify_branch_contents.py
in git_apple_llvm/git_tools
26 3
read_all.h
in src
24 1
bisect_first_match.h
in src
10 1
error.h
in src
7 1
__init__.py
in git_apple_llvm/ci
4 -
__init__.py
in git_apple_llvm/am
1 -
__init__.py
in git_apple_llvm/pr
1 -
__init__.py
in src/tools
1 -
Files With Most Units (Top 20)
File# lines# units
git_cache.h
in src
1039 54
commit_interleaver.h
in src
930 29
push.py
in git_apple_llvm/git_tools
400 28
commit_source.h
in src
769 28
index_query.h
in src
299 22
github_pr_tool.py
in git_apple_llvm/pr
107 21
data_query.h
in src
239 18
main.py
in git_apple_llvm/pr
197 17
sha1convert.h
in src
163 17
parsers.h
in src
100 16
svn2git.cpp
in src
230 16
graph.py
in git_apple_llvm/am
179 15
dir_list.h
in src
128 15
pr_tool.py
in git_apple_llvm/pr
45 13
split2mono.cpp
in src
461 13
file_stream.h
in src
112 11
sha1_pool.h
in src
184 11
zippered_merge.py
in git_apple_llvm/am
95 10
jenkins_ci.py
in git_apple_llvm/ci
98 10
__init__.py
in git_apple_llvm/git_tools
67 10
Files With Long Lines (Top 0)

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

File# lines# units# long lines