File Size Overall
  • There are 42 files with 23,248 lines of code.
    • 6 very long files (13,018 lines of code)
    • 8 long files (5,894 lines of code)
    • 8 medium size files (2,907 lines of code)
    • 5 small files (744 lines of code)
    • 15 very small files (685 lines of code)
55% | 25% | 12% | 3% | 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
rs53% | 29% | 14% | <1% | 1%
py73% | 21% | 3% | 0% | 1%
bash0% | 0% | 40% | 48% | 10%
toml0% | 0% | 0% | 48% | 51%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src53% | 29% | 14% | <1% | 1%
script64% | 18% | 8% | 6% | 2%
.cargo0% | 0% | 0% | 55% | 44%
ROOT0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
host_observation.py
in script/lib
3200 106
2908 118
2562 94
1908 69
1350 40
1090 35
952 45
config.rs
in src
930 21
822 4
793 32
771 37
611 34
action_release.py
in script/lib
510 18
505 16
nft.rs
in src
462 5
plan.rs
in src
425 7
394 1
rust-dist.bash
in script/lib
376 -
343 7
nflog.rs
in src
342 11
cli.rs
in src
332 16
block_evidence.py
in script/lib
233 16
update-tools.bash
in script/lib
160 -
rust-toolchain.lock.toml
in .cargo/tooling
153 -
release-tools.bash
in script/lib
150 -
145 8
common.bash
in script/lib
136 -
test-tools.bash
in script/lib
100 -
output.rs
in src
95 4
dns_evidence.py
in script/lib
92 6
88 6
lib.rs
in src
71 1
test-tools.lock.toml
in .cargo/tooling
53 -
release-tools.lock.toml
in .cargo/tooling
46 -
error.rs
in src
43 1
deny.toml
in root
25 -
dependabot.yml
in .github
23 -
update-tools.lock.toml
in .cargo/tooling
18 -
11 -
main.rs
in src
10 1
config.toml
in .cargo
6 -
4 -
Large Files That Change Often (Top 20)
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
2908 ~20k–50k 27 ~300 ~7
2562 ~15k–50k 20 ~500 ~5
1908 ~10k–30k 25 ~200 ~10
host_observation.py
in script/lib
3200 ~20k–50k 12 ~700 ~5
config.rs
in src
930 ~5k–15k 39 ~70 ~15
822 ~5k–15k 28 ~70 ~10
1350 ~7k–20k 15 ~500 ~3
plan.rs
in src
425 ~2k–7k 35 ~100 ~5
1090 ~7k–20k 12 ~300 ~3
771 ~5k–15k 14 ~100 ~7
394 ~2k–7k 22 ~50 ~10
cli.rs
in src
332 ~2k–5k 26 ~30 ~10
952 ~5k–15k 8 ~300 ~3
nft.rs
in src
462 ~3k–7k 15 ~150 ~3
793 ~5k–15k 7 ~300 ~3
611 ~3k–10k 9 ~100 ~5
343 ~2k–5k 12 ~70 ~5
505 ~3k–10k 8 ~150 ~3
nflog.rs
in src
342 ~2k–5k 9 ~100 ~3
lib.rs
in src
71 ~300–1k 29 ~15 ~5

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 28)
File# lines# units
2908 118
host_observation.py
in script/lib
3200 106
2562 94
1908 69
952 45
1350 40
771 37
1090 35
611 34
793 32
config.rs
in src
930 21
action_release.py
in script/lib
510 18
block_evidence.py
in script/lib
233 16
505 16
cli.rs
in src
332 16
nflog.rs
in src
342 11
145 8
plan.rs
in src
425 7
343 7
dns_evidence.py
in script/lib
92 6
88 6
nft.rs
in src
462 5
822 4
output.rs
in src
95 4
error.rs
in src
43 1
394 1
lib.rs
in src
71 1
main.rs
in src
10 1
Files With Long Lines (Top 12)

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

File# lines# units# long lines
1908 69 23
config.rs
in src
930 21 18
343 7 6
update-tools.bash
in script/lib
160 - 3
common.bash
in script/lib
136 - 2
test-tools.lock.toml
in .cargo/tooling
53 - 2
nft.rs
in src
462 5 2
cli.rs
in src
332 16 2
1090 35 2
rust-dist.bash
in script/lib
376 - 1
2908 118 1
822 4 1
Correlations

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

src/lockdown.rs x: 27 commits (all time) y: 2908 lines of code src/trusted_executable.rs x: 8 commits (all time) y: 952 lines of code src/local_control.rs x: 20 commits (all time) y: 2562 lines of code script/lib/block_evidence.py x: 4 commits (all time) y: 233 lines of code script/lib/dns_evidence.py x: 3 commits (all time) y: 92 lines of code script/lib/protected_finalization.py x: 7 commits (all time) y: 793 lines of code src/nflog.rs x: 9 commits (all time) y: 342 lines of code script/lib/action_bundle_host.py x: 15 commits (all time) y: 1350 lines of code script/lib/host_observation.py x: 12 commits (all time) y: 3200 lines of code src/hosted_runner.rs x: 28 commits (all time) y: 822 lines of code src/cli.rs x: 26 commits (all time) y: 332 lines of code src/config.rs x: 39 commits (all time) y: 930 lines of code src/hostname_policy.rs x: 12 commits (all time) y: 343 lines of code src/plan.rs x: 35 commits (all time) y: 425 lines of code src/platform_profile.rs x: 22 commits (all time) y: 394 lines of code src/attribution.rs x: 12 commits (all time) y: 1090 lines of code src/findings.rs x: 8 commits (all time) y: 505 lines of code .cargo/tooling/rust-toolchain.lock.toml x: 10 commits (all time) y: 153 lines of code rust-toolchain.toml x: 10 commits (all time) y: 4 lines of code script/lib/action_release.py x: 4 commits (all time) y: 510 lines of code .cargo/tooling/test-tools.lock.toml x: 4 commits (all time) y: 53 lines of code script/lib/test-tools.bash x: 4 commits (all time) y: 100 lines of code src/support.rs x: 13 commits (all time) y: 145 lines of code src/nft.rs x: 15 commits (all time) y: 462 lines of code src/nft_backend.rs x: 25 commits (all time) y: 1908 lines of code src/lib.rs x: 29 commits (all time) y: 71 lines of code src/lifecycle.rs x: 14 commits (all time) y: 771 lines of code script/lib/rust-dist.bash x: 4 commits (all time) y: 376 lines of code src/runtime.rs x: 9 commits (all time) y: 611 lines of code src/error.rs x: 3 commits (all time) y: 43 lines of code deny.toml x: 3 commits (all time) y: 25 lines of code src/main.rs x: 4 commits (all time) y: 10 lines of code src/output.rs x: 2 commits (all time) y: 95 lines of code src/resolver.rs x: 2 commits (all time) y: 88 lines of code script/lib/common.bash x: 4 commits (all time) y: 136 lines of code .cargo/config.toml x: 2 commits (all time) y: 6 lines of code .cargo/tooling/release-tools.lock.toml x: 2 commits (all time) y: 46 lines of code .cargo/tooling/update-tools.lock.toml x: 2 commits (all time) y: 18 lines of code script/lib/release-tools.bash x: 2 commits (all time) y: 150 lines of code script/lib/update-tools.bash x: 2 commits (all time) y: 160 lines of code
3200.0
lines of code
  min: 4.0
  average: 553.52
  25th percentile: 66.5
  median: 282.5
  75th percentile: 776.5
  max: 3200.0
0 39.0
commits (all time)
min: 2.0 | average: 10.95 | 25th percentile: 3.0 | median: 8.0 | 75th percentile: 15.0 | max: 39.0

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

src/lockdown.rs x: 3 contributors (all time) y: 2908 lines of code src/trusted_executable.rs x: 2 contributors (all time) y: 952 lines of code src/local_control.rs x: 3 contributors (all time) y: 2562 lines of code script/lib/block_evidence.py x: 3 contributors (all time) y: 233 lines of code script/lib/dns_evidence.py x: 3 contributors (all time) y: 92 lines of code script/lib/protected_finalization.py x: 3 contributors (all time) y: 793 lines of code src/nflog.rs x: 2 contributors (all time) y: 342 lines of code script/lib/action_bundle_host.py x: 2 contributors (all time) y: 1350 lines of code script/lib/host_observation.py x: 2 contributors (all time) y: 3200 lines of code src/hosted_runner.rs x: 3 contributors (all time) y: 822 lines of code src/cli.rs x: 2 contributors (all time) y: 332 lines of code src/config.rs x: 2 contributors (all time) y: 930 lines of code src/plan.rs x: 2 contributors (all time) y: 425 lines of code src/platform_profile.rs x: 2 contributors (all time) y: 394 lines of code src/attribution.rs x: 1 contributors (all time) y: 1090 lines of code src/findings.rs x: 1 contributors (all time) y: 505 lines of code .cargo/tooling/rust-toolchain.lock.toml x: 3 contributors (all time) y: 153 lines of code rust-toolchain.toml x: 3 contributors (all time) y: 4 lines of code .cargo/tooling/test-tools.lock.toml x: 2 contributors (all time) y: 53 lines of code script/lib/test-tools.bash x: 2 contributors (all time) y: 100 lines of code src/support.rs x: 2 contributors (all time) y: 145 lines of code src/nft.rs x: 1 contributors (all time) y: 462 lines of code src/nft_backend.rs x: 1 contributors (all time) y: 1908 lines of code src/lib.rs x: 2 contributors (all time) y: 71 lines of code src/lifecycle.rs x: 1 contributors (all time) y: 771 lines of code script/lib/rust-dist.bash x: 2 contributors (all time) y: 376 lines of code src/runtime.rs x: 1 contributors (all time) y: 611 lines of code src/error.rs x: 2 contributors (all time) y: 43 lines of code deny.toml x: 2 contributors (all time) y: 25 lines of code src/main.rs x: 2 contributors (all time) y: 10 lines of code src/resolver.rs x: 2 contributors (all time) y: 88 lines of code script/lib/common.bash x: 2 contributors (all time) y: 136 lines of code script/lib/update-tools.bash x: 2 contributors (all time) y: 160 lines of code
3200.0
lines of code
  min: 4.0
  average: 553.52
  25th percentile: 66.5
  median: 282.5
  75th percentile: 776.5
  max: 3200.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.02 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0

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

src/lockdown.rs x: 1 commits (30d) y: 2908 lines of code src/trusted_executable.rs x: 1 commits (30d) y: 952 lines of code src/local_control.rs x: 4 commits (30d) y: 2562 lines of code script/lib/block_evidence.py x: 1 commits (30d) y: 233 lines of code script/lib/dns_evidence.py x: 1 commits (30d) y: 92 lines of code script/lib/protected_finalization.py x: 1 commits (30d) y: 793 lines of code src/nflog.rs x: 1 commits (30d) y: 342 lines of code
2908.0
lines of code
  min: 92.0
  average: 1126.0
  25th percentile: 233.0
  median: 793.0
  75th percentile: 2562.0
  max: 2908.0
0 4.0
commits (30d)
min: 1.0 | average: 1.43 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0

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

src/lockdown.rs x: 1 contributors (30d) y: 2908 lines of code src/trusted_executable.rs x: 1 contributors (30d) y: 952 lines of code src/local_control.rs x: 3 contributors (30d) y: 2562 lines of code script/lib/block_evidence.py x: 1 contributors (30d) y: 233 lines of code script/lib/dns_evidence.py x: 1 contributors (30d) y: 92 lines of code script/lib/protected_finalization.py x: 1 contributors (30d) y: 793 lines of code src/nflog.rs x: 1 contributors (30d) y: 342 lines of code
2908.0
lines of code
  min: 92.0
  average: 1126.0
  25th percentile: 233.0
  median: 793.0
  75th percentile: 2562.0
  max: 2908.0
0 3.0
contributors (30d)
min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

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

src/lockdown.rs x: 14 commits (90d) y: 2908 lines of code src/trusted_executable.rs x: 5 commits (90d) y: 952 lines of code src/local_control.rs x: 15 commits (90d) y: 2562 lines of code script/lib/block_evidence.py x: 4 commits (90d) y: 233 lines of code script/lib/dns_evidence.py x: 3 commits (90d) y: 92 lines of code script/lib/protected_finalization.py x: 7 commits (90d) y: 793 lines of code src/nflog.rs x: 3 commits (90d) y: 342 lines of code script/lib/action_bundle_host.py x: 8 commits (90d) y: 1350 lines of code script/lib/host_observation.py x: 8 commits (90d) y: 3200 lines of code src/hosted_runner.rs x: 6 commits (90d) y: 822 lines of code src/cli.rs x: 2 commits (90d) y: 332 lines of code src/config.rs x: 10 commits (90d) y: 930 lines of code src/hostname_policy.rs x: 4 commits (90d) y: 343 lines of code src/plan.rs x: 4 commits (90d) y: 425 lines of code src/platform_profile.rs x: 7 commits (90d) y: 394 lines of code src/attribution.rs x: 7 commits (90d) y: 1090 lines of code src/findings.rs x: 4 commits (90d) y: 505 lines of code .cargo/tooling/rust-toolchain.lock.toml x: 7 commits (90d) y: 153 lines of code rust-toolchain.toml x: 6 commits (90d) y: 4 lines of code script/lib/action_release.py x: 2 commits (90d) y: 510 lines of code .cargo/tooling/test-tools.lock.toml x: 2 commits (90d) y: 53 lines of code script/lib/test-tools.bash x: 2 commits (90d) y: 100 lines of code src/support.rs x: 3 commits (90d) y: 145 lines of code
3200.0
lines of code
  min: 4.0
  average: 792.96
  25th percentile: 153.0
  median: 425.0
  75th percentile: 952.0
  max: 3200.0
0 15.0
commits (90d)
min: 2.0 | average: 5.78 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 7.0 | max: 15.0

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

src/lockdown.rs x: 2 contributors (90d) y: 2908 lines of code src/trusted_executable.rs x: 2 contributors (90d) y: 952 lines of code src/local_control.rs x: 3 contributors (90d) y: 2562 lines of code script/lib/block_evidence.py x: 3 contributors (90d) y: 233 lines of code script/lib/dns_evidence.py x: 3 contributors (90d) y: 92 lines of code script/lib/protected_finalization.py x: 3 contributors (90d) y: 793 lines of code src/nflog.rs x: 2 contributors (90d) y: 342 lines of code script/lib/action_bundle_host.py x: 2 contributors (90d) y: 1350 lines of code script/lib/host_observation.py x: 2 contributors (90d) y: 3200 lines of code src/hosted_runner.rs x: 2 contributors (90d) y: 822 lines of code src/cli.rs x: 1 contributors (90d) y: 332 lines of code src/config.rs x: 2 contributors (90d) y: 930 lines of code src/plan.rs x: 2 contributors (90d) y: 425 lines of code src/platform_profile.rs x: 2 contributors (90d) y: 394 lines of code src/attribution.rs x: 1 contributors (90d) y: 1090 lines of code src/findings.rs x: 1 contributors (90d) y: 505 lines of code .cargo/tooling/rust-toolchain.lock.toml x: 1 contributors (90d) y: 153 lines of code rust-toolchain.toml x: 1 contributors (90d) y: 4 lines of code .cargo/tooling/test-tools.lock.toml x: 1 contributors (90d) y: 53 lines of code script/lib/test-tools.bash x: 1 contributors (90d) y: 100 lines of code src/support.rs x: 1 contributors (90d) y: 145 lines of code
3200.0
lines of code
  min: 4.0
  average: 792.96
  25th percentile: 153.0
  median: 425.0
  75th percentile: 952.0
  max: 3200.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.78 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.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...