bazelbuild / sandboxfs
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 30 files with 4,765 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,006 lines of code)
    • 5 medium size files (1,431 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (791 lines of code)
    • 16 very small files (537 lines of code)
0% | 42% | 30% | 16% | 11%
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
rs0% | 53% | 30% | 10% | 5%
go0% | 0% | 32% | 43% | 24%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 66% | 25% | 0% | 7%
src/nodes0% | 36% | 37% | 26% | 0%
integration/utils0% | 0% | 44% | 34% | 20%
admin/lint0% | 0% | 0% | 64% | 35%
ROOT0% | 0% | 0% | 0% | 100%
integration0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
lib.rs
in src
767 73
reconfig.rs
in src
692 38
dir.rs
in src/nodes
547 35
conv.rs
in src/nodes
325 15
main.rs
in src
304 20
exec.go
in integration/utils
295 17
concurrent.rs
in src
260 11
mod.rs
in src/nodes
247 30
checks.go
in admin/lint
164 12
file.rs
in src/nodes
162 19
symlink.rs
in src/nodes
123 14
checks.go
in integration/utils
120 16
caches.rs
in src/nodes
112 8
user.go
in integration/utils
110 8
lint.go
in admin/lint
89 3
in
Makefile.in
in root
79 -
errors.rs
in src
76 4
testutils.rs
in src
58 -
config.go
in integration/utils
46 2
profiling.rs
in src
39 5
Cargo.toml
in root
37 -
time_linux.go
in integration/utils
26 4
time_darwin.go
in integration/utils
24 4
build.rs
in root
21 2
unmount_linux.go
in integration/utils
15 1
unmount_darwin.go
in integration/utils
15 1
xattr_linux.go
in integration/utils
5 -
xattr_darwin.go
in integration/utils
5 -
doc.go
in integration
1 -
doc.go
in integration/utils
1 -
Files With Most Units (Top 20)
File# lines# units
lib.rs
in src
767 73
reconfig.rs
in src
692 38
dir.rs
in src/nodes
547 35
mod.rs
in src/nodes
247 30
main.rs
in src
304 20
file.rs
in src/nodes
162 19
exec.go
in integration/utils
295 17
checks.go
in integration/utils
120 16
conv.rs
in src/nodes
325 15
symlink.rs
in src/nodes
123 14
checks.go
in admin/lint
164 12
concurrent.rs
in src
260 11
user.go
in integration/utils
110 8
caches.rs
in src/nodes
112 8
profiling.rs
in src
39 5
time_linux.go
in integration/utils
26 4
time_darwin.go
in integration/utils
24 4
errors.rs
in src
76 4
lint.go
in admin/lint
89 3
build.rs
in root
21 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
exec.go
in integration/utils
295 17 6
checks.go
in admin/lint
164 12 1
lint.go
in admin/lint
89 3 1
config.go
in integration/utils
46 2 1