File Size Overall
  • There are 28 files with 982 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 4 small files (453 lines of code)
    • 24 very small files (529 lines of code)
0% | 0% | 0% | 46% | 53%
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
ts0% | 0% | 0% | 47% | 52%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 47% | 52%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
120 1
udp_writer.ts
in src/writer
117 5
uds_writer.ts
in src/writer
113 4
id.ts
in src/meter
103 6
config.ts
in src
48 -
new_writer.ts
in src/writer
42 2
memory_writer.ts
in src/writer
39 2
logger.ts
in src/logger
33 1
31 3
file_writer.ts
in src/writer
30 1
28 -
index.ts
in src
28 -
stderr_writer.ts
in src/writer
20 1
stdout_writer.ts
in src/writer
20 1
gauge.ts
in src/meter
20 1
noop_writer.ts
in src/writer
19 1
18 2
counter.ts
in src/meter
17 1
meter.ts
in src/meter
17 2
16 1
timer.ts
in src/meter
16 1
age_gauge.ts
in src/meter
14 1
max_gauge.ts
in src/meter
14 1
14 1
dist_summary.ts
in src/meter
14 1
11 1
11 1
writer.ts
in src/writer
9 1
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
udp_writer.ts
in src/writer
117 ~700–2k 10 ~30 ~3
120 ~700–2k 4 ~50 ~3
uds_writer.ts
in src/writer
113 ~700–2k 4 ~50 ~2
id.ts
in src/meter
103 ~700–1.5k 4 ~30 ~3
new_writer.ts
in src/writer
42 under 1k 8 ~20 ~2
config.ts
in src
48 under 1k 4 ~20 ~2
31 under 1k 3 ~10 ~3
logger.ts
in src/logger
33 under 1k 2 ~20 ~2
16 under 1k 4 ~10 ~2
timer.ts
in src/meter
16 under 1k 4 ~10 ~2
counter.ts
in src/meter
17 under 1k 3 ~10 ~2
dist_summary.ts
in src/meter
14 under 1k 3 ~10 ~2
14 under 1k 3 ~10 ~1
28 under 1k 1 ~15 ~2
index.ts
in src
28 under 1k 1 ~10 ~3
gauge.ts
in src/meter
20 under 1k 1 ~10 ~2
meter.ts
in src/meter
17 under 1k 1 ~10 ~2
age_gauge.ts
in src/meter
14 under 1k 1 ~15 ~1
max_gauge.ts
in src/meter
14 under 1k 1 ~10 ~2
11 under 1k 1 ~10 ~1

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
id.ts
in src/meter
103 6
udp_writer.ts
in src/writer
117 5
uds_writer.ts
in src/writer
113 4
31 3
18 2
new_writer.ts
in src/writer
42 2
memory_writer.ts
in src/writer
39 2
meter.ts
in src/meter
17 2
logger.ts
in src/logger
33 1
stderr_writer.ts
in src/writer
20 1
stdout_writer.ts
in src/writer
20 1
writer.ts
in src/writer
9 1
file_writer.ts
in src/writer
30 1
noop_writer.ts
in src/writer
19 1
120 1
counter.ts
in src/meter
17 1
11 1
11 1
age_gauge.ts
in src/meter
14 1
max_gauge.ts
in src/meter
14 1
14 1
16 1
timer.ts
in src/meter
16 1
dist_summary.ts
in src/meter
14 1
gauge.ts
in src/meter
20 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
udp_writer.ts
in src/writer
117 5 1
uds_writer.ts
in src/writer
113 4 1
Correlations

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

src/writer/udp_writer.ts x: 14 commits (all time) y: 117 lines of code src/config.ts x: 8 commits (all time) y: 48 lines of code src/common_tags.ts x: 6 commits (all time) y: 31 lines of code src/writer/new_writer.ts x: 12 commits (all time) y: 42 lines of code src/writer/uds_writer.ts x: 4 commits (all time) y: 113 lines of code src/registry.ts x: 14 commits (all time) y: 120 lines of code src/index.ts x: 4 commits (all time) y: 28 lines of code eslint.config.mjs x: 2 commits (all time) y: 28 lines of code src/meter/id.ts x: 10 commits (all time) y: 103 lines of code src/meter/percentile_timer.ts x: 9 commits (all time) y: 16 lines of code src/meter/timer.ts x: 8 commits (all time) y: 16 lines of code src/meter/age_gauge.ts x: 2 commits (all time) y: 14 lines of code src/meter/counter.ts x: 5 commits (all time) y: 17 lines of code src/meter/dist_summary.ts x: 4 commits (all time) y: 14 lines of code src/meter/gauge.ts x: 3 commits (all time) y: 20 lines of code src/meter/max_gauge.ts x: 3 commits (all time) y: 14 lines of code src/meter/meter.ts x: 2 commits (all time) y: 17 lines of code src/meter/monotonic_counter.ts x: 2 commits (all time) y: 11 lines of code src/logger/logger.ts x: 9 commits (all time) y: 33 lines of code src/writer/file_writer.ts x: 5 commits (all time) y: 30 lines of code src/writer/memory_writer.ts x: 4 commits (all time) y: 39 lines of code src/writer/noop_writer.ts x: 3 commits (all time) y: 19 lines of code src/writer/writer.ts x: 3 commits (all time) y: 9 lines of code src/protocol_parser.ts x: 1 commits (all time) y: 18 lines of code
120.0
lines of code
  min: 9.0
  average: 35.07
  25th percentile: 14.5
  median: 20.0
  75th percentile: 37.5
  max: 120.0
0 14.0
commits (all time)
min: 1.0 | average: 5.32 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 8.0 | max: 14.0

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

src/writer/udp_writer.ts x: 3 contributors (all time) y: 117 lines of code src/config.ts x: 2 contributors (all time) y: 48 lines of code src/common_tags.ts x: 2 contributors (all time) y: 31 lines of code src/writer/new_writer.ts x: 3 contributors (all time) y: 42 lines of code src/writer/uds_writer.ts x: 2 contributors (all time) y: 113 lines of code src/registry.ts x: 3 contributors (all time) y: 120 lines of code src/index.ts x: 2 contributors (all time) y: 28 lines of code src/meter/id.ts x: 3 contributors (all time) y: 103 lines of code src/meter/percentile_timer.ts x: 4 contributors (all time) y: 16 lines of code src/meter/age_gauge.ts x: 2 contributors (all time) y: 14 lines of code src/meter/counter.ts x: 3 contributors (all time) y: 17 lines of code src/meter/dist_summary.ts x: 3 contributors (all time) y: 14 lines of code src/meter/gauge.ts x: 2 contributors (all time) y: 20 lines of code src/meter/meter.ts x: 2 contributors (all time) y: 17 lines of code src/meter/monotonic_counter.ts x: 2 contributors (all time) y: 11 lines of code src/logger/logger.ts x: 3 contributors (all time) y: 33 lines of code src/writer/file_writer.ts x: 1 contributors (all time) y: 30 lines of code src/writer/memory_writer.ts x: 1 contributors (all time) y: 39 lines of code src/writer/noop_writer.ts x: 1 contributors (all time) y: 19 lines of code src/writer/stderr_writer.ts x: 1 contributors (all time) y: 20 lines of code src/writer/writer.ts x: 1 contributors (all time) y: 9 lines of code src/protocol_parser.ts x: 1 contributors (all time) y: 18 lines of code
120.0
lines of code
  min: 9.0
  average: 35.07
  25th percentile: 14.5
  median: 20.0
  75th percentile: 37.5
  max: 120.0
0 4.0
contributors (all time)
min: 1.0 | average: 2.18 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 3.0 | max: 4.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): 2 points

src/writer/udp_writer.ts x: 2 commits (90d) y: 117 lines of code src/config.ts x: 1 commits (90d) y: 48 lines of code
117.0
lines of code
  min: 48.0
  average: 82.5
  25th percentile: 48.0
  median: 82.5
  75th percentile: 117.0
  max: 117.0
0 2.0
commits (90d)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 2.0

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

src/writer/udp_writer.ts x: 1 contributors (90d) y: 117 lines of code src/config.ts x: 1 contributors (90d) y: 48 lines of code
117.0
lines of code
  min: 48.0
  average: 82.5
  25th percentile: 48.0
  median: 82.5
  75th percentile: 117.0
  max: 117.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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...