flutter / buildroot
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 156 files with 10,572 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,193 lines of code)
    • 11 medium size files (2,940 lines of codeclsfd_ftr_w_mp_ins)
    • 20 small files (2,488 lines of code)
    • 123 very small files (3,951 lines of code)
0% | 11% | 27% | 23% | 37%
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
gn0% | 43% | 15% | 20% | 20%
py0% | 0% | 34% | 19% | 46%
gni0% | 0% | 32% | 30% | 36%
cc0% | 0% | 0% | 52% | 47%
h0% | 0% | 0% | 58% | 41%
sed0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
build/config0% | 40% | 0% | 30% | 28%
build0% | 0% | 46% | 10% | 43%
build/toolchain0% | 0% | 39% | 25% | 35%
build/android0% | 0% | 75% | 0% | 24%
tools/dart0% | 0% | 41% | 35% | 22%
build/fuchsia0% | 0% | 61% | 0% | 38%
build/mac0% | 0% | 0% | 77% | 22%
build/sanitizers0% | 0% | 0% | 48% | 51%
build/linux0% | 0% | 0% | 34% | 65%
build/win0% | 0% | 0% | 44% | 55%
build/secondary0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
tools/buildtools0% | 0% | 0% | 0% | 100%
build_overrides0% | 0% | 0% | 0% | 100%
build/pyutil0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
build/module_args0% | 0% | 0% | 0% | 100%
build/vulkan0% | 0% | 0% | 0% | 100%
gpu/command_buffer0% | 0% | 0% | 0% | 100%
gpu/GLES20% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
gn
BUILD.gn
in build/config/compiler
638 -
gn
BUILDCONFIG.gn
in build/config
555 -
install-build-deps.py
in build
345 8
vs_toolchain.py
in build
325 20
get_syzygy_binaries.py
in build
307 18
dart_roll_helper.py
in tools/dart
278 19
gni
gcc_toolchain.gni
in build/toolchain
264 -
build_utils.py
in build/android/gyp/util
256 30
gni
sdk.gni
in build/fuchsia
253 -
javac.py
in build/android/gyp
253 4
gn
BUILD.gn
in build/toolchain/mac
232 -
gni
json_schema_api.gni
in build
218 -
gn
BUILD.gn
in build/toolchain/win
209 -
gni
compiled_action.gni
in build
168 -
tweak_info_plist.py
in build/mac
165 11
gni
config.gni
in build/config/android
154 -
pkg-config.py
in build/config/linux
141 5
tsan_suppressions.cc
in build/sanitizers
140 -
gni
rules.gni
in build/config/mac
139 -
dart_buildbot_helper.py
in tools/dart
132 17
gn
BUILD.gn
in build/toolchain/fuchsia
124 -
gn
BUILD.gn
in build/config/win
122 -
gn
BUILD.gn
in build/config
117 -
gni
locales.gni
in build/config
116 -
install-sysroot.py
in build/linux/sysroot_scripts
115 4
tool_wrapper.py
in build/toolchain/win
113 11
gni
pkg_config.gni
in build/config/linux
112 -
gn
BUILD.gn
in build/toolchain/custom
108 -
create_importlib_win.py
in build/win/importlibs
107 9
change_mach_o_flags.py
in build/mac
107 9
gn
BUILD.gn
in build/toolchain/linux
104 -
create_updated_flutter_deps.py
in tools/dart
103 5
build_config.h
in build
101 -
gni
midl.gni
in build/toolchain/win
98 -
dart_roll_utils.py
in tools/dart
97 28
gn
BUILD.gn
in build/toolchain/android
94 -
setup_toolchain.py
in build/toolchain/win
92 5
check_sdk_extras_version.py
in build
92 5
gn
BUILD.gn
in build/secondary/testing/gtest
92 -
gn_helpers.py
in build
88 2
compiler_version.py
in build
88 7
sanitizer_options.cc
in build/sanitizers
84 1
landmine_utils.py
in build
81 10
find_sdk.py
in build/mac
80 2
mac_app.py
in build/config/mac
74 5
copy_test_data_ios.py
in build
70 6
gni
wasm.gni
in build/toolchain
68 -
precompile.h
in build
65 -
fidl_gen_cpp.py
in build/fuchsia
64 3
clobber.py
in build
62 4
Files With Most Units (Top 20)
File# lines# units
build_utils.py
in build/android/gyp/util
256 30
dart_roll_utils.py
in tools/dart
97 28
vs_toolchain.py
in build
325 20
dart_roll_helper.py
in tools/dart
278 19
get_syzygy_binaries.py
in build
307 18
dart_buildbot_helper.py
in tools/dart
132 17
tool_wrapper.py
in build/toolchain/win
113 11
tweak_info_plist.py
in build/mac
165 11
landmine_utils.py
in build
81 10
create_importlib_win.py
in build/win/importlibs
107 9
change_mach_o_flags.py
in build/mac
107 9
install-build-deps.py
in build
345 8
md5_check.py
in build/android/gyp/util
57 7
compiler_version.py
in build
88 7
copy_test_data_ios.py
in build
70 6
generate_winrt_headers.py
in build/win
57 6
setup_toolchain.py
in build/toolchain/win
92 5
check_sdk_extras_version.py
in build
92 5
pkg-config.py
in build/config/linux
141 5
mac_app.py
in build/config/mac
74 5
Files With Long Lines (Top 9)

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

File# lines# units# long lines
gn
BUILD.gn
in build/toolchain/mac
232 - 9
gni
gcc_toolchain.gni
in build/toolchain
264 - 7
gn
BUILD.gn
in build/toolchain/custom
108 - 6
gn
BUILD.gn
in build/toolchain/fuchsia
124 - 6
gn
BUILD.gn
in build/toolchain/win
209 - 5
gni
config.gni
in build/config/android
154 - 4
gn
BUILD.gn
in build/toolchain/nacl
46 - 1
gn
BUILD.gn
in build/toolchain/android
94 - 1
create_updated_flutter_deps.py
in tools/dart
103 5 1