File Size Overall
  • There are 29 files with 9,741 lines of code.
    • 3 very long files (3,198 lines of code)
    • 4 long files (3,049 lines of code)
    • 8 medium size files (2,396 lines of code)
    • 5 small files (831 lines of code)
    • 9 very small files (267 lines of code)
32% | 31% | 24% | 8% | 2%
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
rs40% | 28% | 22% | 8% | <1%
nix0% | 46% | 36% | 10% | 6%
cc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
rust41% | 42% | 10% | 5% | <1%
builder40% | 0% | 45% | 12% | 2%
lib0% | 81% | 0% | 18% | 0%
nix0% | 0% | 79% | 0% | 20%
ROOT0% | 0% | 100% | 0% | 0%
cpp0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
mod.rs
in rust/src/lockfile_resolve
1117 15
configure.rs
in builder/src/build_rust_crate
1068 26
manifest.rs
in rust/src/lockfile_resolve
1013 22
registry.rs
in rust/src
871 36
nix
853 -
resolve.rs
in rust/src
792 25
533 17
build.rs
in builder/src/build_rust_crate
440 6
nix
default.nix
in nix/build-rust-crate
431 -
cargo_config.rs
in rust/src
314 18
config.rs
in builder/src/build_rust_crate
296 4
nix
flake.nix
in root
239 -
rustc.rs
in builder/src/build_rust_crate
232 2
install.rs
in builder/src/build_rust_crate
224 8
ffi.rs
in rust/src
220 5
nix
200 -
cfg_eval.rs
in rust/src
188 21
doctest.rs
in builder/src/build_rust_crate
178 7
nextest.rs
in builder/src/build_rust_crate
146 1
lockfile.rs
in rust/src
119 5
plugin.cc
in cpp
92 5
nix
59 -
main.rs
in builder/src
39 1
nix
24 -
18 -
12 -
lib.rs
in rust/src
8 -
mod.rs
in builder/src/build_rust_crate
8 -
util.rs
in builder/src/build_rust_crate
7 -
Large Files That Change Often (Top 18)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
nix
853 ~5k–15k 33 ~30 ~30
mod.rs
in rust/src/lockfile_resolve
1117 ~7k–20k 8 ~50 ~20
configure.rs
in builder/src/build_rust_crate
1068 ~7k–15k 8 ~50 ~20
manifest.rs
in rust/src/lockfile_resolve
1013 ~7k–15k 7 ~70 ~15
build.rs
in builder/src/build_rust_crate
440 ~3k–7k 11 ~50 ~10
registry.rs
in rust/src
871 ~5k–15k 4 ~10 ~70
resolve.rs
in rust/src
792 ~5k–15k 4 ~20 ~50
config.rs
in builder/src/build_rust_crate
296 ~2k–5k 6 ~20 ~15
nix
default.nix
in nix/build-rust-crate
431 ~3k–7k 4 ~30 ~10
rustc.rs
in builder/src/build_rust_crate
232 ~1.5k–5k 7 ~7 ~30
nix
200 ~1k–3k 8 ~70 ~3
install.rs
in builder/src/build_rust_crate
224 ~1.5k–5k 6 ~50 ~5
nix
flake.nix
in root
239 ~1.5k–5k 4 ~7 ~30
nextest.rs
in builder/src/build_rust_crate
146 ~1k–3k 4 ~100 ~2
doctest.rs
in builder/src/build_rust_crate
178 ~1k–3k 3 ~150 ~1
ffi.rs
in rust/src
220 ~1.5k–5k 2 ~10 ~20
main.rs
in builder/src
39 under 1k 2 ~3 ~15
mod.rs
in builder/src/build_rust_crate
8 under 1k 4 ~1 ~7

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 18)
File# lines# units
registry.rs
in rust/src
871 36
configure.rs
in builder/src/build_rust_crate
1068 26
resolve.rs
in rust/src
792 25
manifest.rs
in rust/src/lockfile_resolve
1013 22
cfg_eval.rs
in rust/src
188 21
cargo_config.rs
in rust/src
314 18
533 17
mod.rs
in rust/src/lockfile_resolve
1117 15
install.rs
in builder/src/build_rust_crate
224 8
doctest.rs
in builder/src/build_rust_crate
178 7
build.rs
in builder/src/build_rust_crate
440 6
lockfile.rs
in rust/src
119 5
ffi.rs
in rust/src
220 5
plugin.cc
in cpp
92 5
config.rs
in builder/src/build_rust_crate
296 4
rustc.rs
in builder/src/build_rust_crate
232 2
nextest.rs
in builder/src/build_rust_crate
146 1
main.rs
in builder/src
39 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
nix
59 - 1
registry.rs
in rust/src
871 36 1
manifest.rs
in rust/src/lockfile_resolve
1013 22 1
nix
853 - 1
Correlations

File Size vs. Commits (all time): 18 points

builder/src/build_rust_crate/configure.rs x: 8 commits (all time) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 7 commits (all time) y: 232 lines of code lib/default.nix x: 33 commits (all time) y: 853 lines of code rust/src/resolve.rs x: 4 commits (all time) y: 792 lines of code builder/src/build_rust_crate/build.rs x: 11 commits (all time) y: 440 lines of code builder/src/build_rust_crate/doctest.rs x: 3 commits (all time) y: 178 lines of code builder/src/build_rust_crate/mod.rs x: 4 commits (all time) y: 8 lines of code builder/src/main.rs x: 2 commits (all time) y: 39 lines of code flake.nix x: 4 commits (all time) y: 239 lines of code rust/src/lockfile_resolve/mod.rs x: 8 commits (all time) y: 1117 lines of code builder/src/build_rust_crate/config.rs x: 6 commits (all time) y: 296 lines of code builder/src/build_rust_crate/install.rs x: 6 commits (all time) y: 224 lines of code nix/build-rust-crate/default.nix x: 4 commits (all time) y: 431 lines of code rust/src/lockfile_resolve/manifest.rs x: 7 commits (all time) y: 1013 lines of code rust/src/registry.rs x: 4 commits (all time) y: 871 lines of code lib/nextest.nix x: 8 commits (all time) y: 200 lines of code builder/src/build_rust_crate/nextest.rs x: 4 commits (all time) y: 146 lines of code rust/src/ffi.rs x: 2 commits (all time) y: 220 lines of code
1117.0
lines of code
  min: 8.0
  average: 464.83
  25th percentile: 194.5
  median: 267.5
  75th percentile: 857.5
  max: 1117.0
0 33.0
commits (all time)
min: 2.0 | average: 6.94 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 8.0 | max: 33.0

File Size vs. Contributors (all time): 18 points

builder/src/build_rust_crate/configure.rs x: 5 contributors (all time) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 5 contributors (all time) y: 232 lines of code lib/default.nix x: 8 contributors (all time) y: 853 lines of code rust/src/resolve.rs x: 2 contributors (all time) y: 792 lines of code builder/src/build_rust_crate/build.rs x: 4 contributors (all time) y: 440 lines of code builder/src/build_rust_crate/doctest.rs x: 2 contributors (all time) y: 178 lines of code builder/src/build_rust_crate/mod.rs x: 3 contributors (all time) y: 8 lines of code builder/src/main.rs x: 2 contributors (all time) y: 39 lines of code flake.nix x: 3 contributors (all time) y: 239 lines of code rust/src/lockfile_resolve/mod.rs x: 3 contributors (all time) y: 1117 lines of code builder/src/build_rust_crate/config.rs x: 4 contributors (all time) y: 296 lines of code builder/src/build_rust_crate/install.rs x: 4 contributors (all time) y: 224 lines of code nix/build-rust-crate/default.nix x: 3 contributors (all time) y: 431 lines of code rust/src/lockfile_resolve/manifest.rs x: 4 contributors (all time) y: 1013 lines of code rust/src/registry.rs x: 3 contributors (all time) y: 871 lines of code lib/nextest.nix x: 2 contributors (all time) y: 200 lines of code builder/src/build_rust_crate/nextest.rs x: 2 contributors (all time) y: 146 lines of code rust/src/ffi.rs x: 2 contributors (all time) y: 220 lines of code
1117.0
lines of code
  min: 8.0
  average: 464.83
  25th percentile: 194.5
  median: 267.5
  75th percentile: 857.5
  max: 1117.0
0 8.0
contributors (all time)
min: 2.0 | average: 3.39 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.0

File Size vs. Commits (30 days): 2 points

builder/src/build_rust_crate/configure.rs x: 2 commits (30d) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 2 commits (30d) y: 232 lines of code
1068.0
lines of code
  min: 232.0
  average: 650.0
  25th percentile: 232.0
  median: 650.0
  75th percentile: 1068.0
  max: 1068.0
0 2.0
commits (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (30 days): 2 points

builder/src/build_rust_crate/configure.rs x: 2 contributors (30d) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 2 contributors (30d) y: 232 lines of code
1068.0
lines of code
  min: 232.0
  average: 650.0
  25th percentile: 232.0
  median: 650.0
  75th percentile: 1068.0
  max: 1068.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 17 points

builder/src/build_rust_crate/configure.rs x: 8 commits (90d) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 7 commits (90d) y: 232 lines of code lib/default.nix x: 18 commits (90d) y: 853 lines of code rust/src/resolve.rs x: 4 commits (90d) y: 792 lines of code builder/src/build_rust_crate/build.rs x: 9 commits (90d) y: 440 lines of code builder/src/build_rust_crate/doctest.rs x: 3 commits (90d) y: 178 lines of code builder/src/build_rust_crate/mod.rs x: 4 commits (90d) y: 8 lines of code builder/src/main.rs x: 2 commits (90d) y: 39 lines of code flake.nix x: 4 commits (90d) y: 239 lines of code rust/src/lockfile_resolve/mod.rs x: 4 commits (90d) y: 1117 lines of code builder/src/build_rust_crate/config.rs x: 6 commits (90d) y: 296 lines of code builder/src/build_rust_crate/install.rs x: 6 commits (90d) y: 224 lines of code nix/build-rust-crate/default.nix x: 4 commits (90d) y: 431 lines of code rust/src/lockfile_resolve/manifest.rs x: 5 commits (90d) y: 1013 lines of code rust/src/registry.rs x: 4 commits (90d) y: 871 lines of code lib/nextest.nix x: 8 commits (90d) y: 200 lines of code builder/src/build_rust_crate/nextest.rs x: 4 commits (90d) y: 146 lines of code
1117.0
lines of code
  min: 8.0
  average: 479.24
  25th percentile: 189.0
  median: 296.0
  75th percentile: 862.0
  max: 1117.0
0 18.0
commits (90d)
min: 2.0 | average: 5.88 | 25th percentile: 4.0 | median: 4.0 | 75th percentile: 7.5 | max: 18.0

File Size vs. Contributors (90 days): 17 points

builder/src/build_rust_crate/configure.rs x: 5 contributors (90d) y: 1068 lines of code builder/src/build_rust_crate/rustc.rs x: 5 contributors (90d) y: 232 lines of code lib/default.nix x: 5 contributors (90d) y: 853 lines of code rust/src/resolve.rs x: 2 contributors (90d) y: 792 lines of code builder/src/build_rust_crate/build.rs x: 4 contributors (90d) y: 440 lines of code builder/src/build_rust_crate/doctest.rs x: 2 contributors (90d) y: 178 lines of code builder/src/build_rust_crate/mod.rs x: 3 contributors (90d) y: 8 lines of code builder/src/main.rs x: 2 contributors (90d) y: 39 lines of code flake.nix x: 3 contributors (90d) y: 239 lines of code rust/src/lockfile_resolve/mod.rs x: 2 contributors (90d) y: 1117 lines of code builder/src/build_rust_crate/config.rs x: 4 contributors (90d) y: 296 lines of code builder/src/build_rust_crate/install.rs x: 4 contributors (90d) y: 224 lines of code nix/build-rust-crate/default.nix x: 3 contributors (90d) y: 431 lines of code rust/src/lockfile_resolve/manifest.rs x: 4 contributors (90d) y: 1013 lines of code rust/src/registry.rs x: 3 contributors (90d) y: 871 lines of code lib/nextest.nix x: 2 contributors (90d) y: 200 lines of code builder/src/build_rust_crate/nextest.rs x: 2 contributors (90d) y: 146 lines of code
1117.0
lines of code
  min: 8.0
  average: 479.24
  25th percentile: 189.0
  median: 296.0
  75th percentile: 862.0
  max: 1117.0
0 5.0
contributors (90d)
min: 2.0 | average: 3.24 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 5.0
About This Analysis
  • 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...