File Size Overall
  • There are 32 files with 7,322 lines of code.
    • 1 very long files (1,083 lines of code)
    • 3 long files (2,439 lines of code)
    • 9 medium size files (2,551 lines of code)
    • 7 small files (977 lines of code)
    • 12 very small files (272 lines of code)
14% | 33% | 34% | 13% | 3%
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
py14% | 33% | 34% | 13% | 3%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
opf14% | 33% | 34% | 13% | 3%
Longest Files (Top 32)
File# lines# units
runner.py
in opf/_eval
1083 23
model.py
in opf/_model
917 26
runner.py
in opf/_train
814 17
metrics.py
in opf/_eval
708 10
decoding.py
in opf/_core
415 14
runtime.py
in opf/_core
338 9
label_space.py
in opf/_common
332 8
triton_moe.py
in opf/_model
286 4
_api.py
in opf
258 28
render.py
in opf/_eval
247 10
preprocess.py
in opf/_eval
242 6
spans.py
in opf/_core
227 7
args.py
in opf/_eval
206 2
182 7
weights.py
in opf/_model
169 8
args.py
in opf/_train
162 2
135 4
render.py
in opf/_cli
121 6
106 7
args.py
in opf/_cli
102 6
common.py
in opf/_cli
100 9
data.py
in opf/_eval
95 3
terminal_colors.py
in opf/_common
36 2
18 2
env.py
in opf/_common
8 1
constants.py
in opf/_common
8 -
__init__.py
in opf/_model
2 -
__init__.py
in opf/_core
1 -
__init__.py
in opf/_common
1 -
__init__.py
in opf/_cli
1 -
__init__.py
in opf/_train
1 -
__init__.py
in opf/_eval
1 -
Large Files That Change Often (Top 1)
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
runner.py
in opf/_train
814 ~5k–15k 2 ~2 ~500

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 25)
File# lines# units
_api.py
in opf
258 28
model.py
in opf/_model
917 26
runner.py
in opf/_eval
1083 23
runner.py
in opf/_train
814 17
decoding.py
in opf/_core
415 14
metrics.py
in opf/_eval
708 10
render.py
in opf/_eval
247 10
runtime.py
in opf/_core
338 9
common.py
in opf/_cli
100 9
label_space.py
in opf/_common
332 8
weights.py
in opf/_model
169 8
spans.py
in opf/_core
227 7
106 7
182 7
render.py
in opf/_cli
121 6
args.py
in opf/_cli
102 6
preprocess.py
in opf/_eval
242 6
135 4
triton_moe.py
in opf/_model
286 4
data.py
in opf/_eval
95 3
terminal_colors.py
in opf/_common
36 2
18 2
args.py
in opf/_train
162 2
args.py
in opf/_eval
206 2
env.py
in opf/_common
8 1
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
Correlations

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

opf/_train/runner.py x: 2 commits (all time) y: 814 lines of code
814.0
lines of code
  min: 814.0
  average: 814.0
  25th percentile: 814.0
  median: 814.0
  75th percentile: 814.0
  max: 814.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

opf/_train/runner.py x: 2 contributors (all time) y: 814 lines of code
814.0
lines of code
  min: 814.0
  average: 814.0
  25th percentile: 814.0
  median: 814.0
  75th percentile: 814.0
  max: 814.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

No data for "commits (90d)" vs. "lines of code".

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

No data for "contributors (90d)" vs. "lines of code".

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...