File Size Overall
  • There are 27 files with 660 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)
    • 0 small files (0 lines of code)
    • 27 very small files (660 lines of code)
0% | 0% | 0% | 0% | 100%
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
py0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
spectator0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
socket_writer.py
in spectator/writer
91 9
registry.py
in spectator
79 24
meter_id.py
in spectator/meter
53 11
protocol_parser.py
in spectator
37 2
config.py
in spectator
35 4
new_writer.py
in spectator/writer
29 1
file_writer.py
in spectator/writer
28 3
common_tags.py
in spectator
25 3
__init__.py
in spectator
25 -
clock.py
in spectator
24 9
memory_writer.py
in spectator/writer
20 7
gauge.py
in spectator/meter
18 2
line_buffer.py
in spectator/writer
17 4
age_gauge.py
in spectator/meter
16 3
stopwatch.py
in spectator
14 4
noop_writer.py
in spectator/writer
14 3
dist_summary.py
in spectator/meter
14 2
percentile_timer.py
in spectator/meter
14 2
timer.py
in spectator/meter
14 2
percentile_dist_summary.py
in spectator/meter
14 2
monotonic_counter_uint.py
in spectator/meter
14 2
counter.py
in spectator/meter
14 2
max_gauge.py
in spectator/meter
13 2
monotonic_counter.py
in spectator/meter
13 2
__init__.py
in spectator/writer
11 3
__init__.py
in spectator/meter
10 2
in
4 -
Large Files That Change Often (Top 4)
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
socket_writer.py
in spectator/writer
91 ~500–1.5k 1 ~30 ~3
new_writer.py
in spectator/writer
29 under 1k 1 ~20 ~1
file_writer.py
in spectator/writer
28 under 1k 1 ~10 ~3
noop_writer.py
in spectator/writer
14 under 1k 1 ~5 ~2

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
registry.py
in spectator
79 24
meter_id.py
in spectator/meter
53 11
clock.py
in spectator
24 9
socket_writer.py
in spectator/writer
91 9
memory_writer.py
in spectator/writer
20 7
config.py
in spectator
35 4
stopwatch.py
in spectator
14 4
line_buffer.py
in spectator/writer
17 4
common_tags.py
in spectator
25 3
noop_writer.py
in spectator/writer
14 3
__init__.py
in spectator/writer
11 3
file_writer.py
in spectator/writer
28 3
age_gauge.py
in spectator/meter
16 3
protocol_parser.py
in spectator
37 2
gauge.py
in spectator/meter
18 2
dist_summary.py
in spectator/meter
14 2
percentile_timer.py
in spectator/meter
14 2
timer.py
in spectator/meter
14 2
__init__.py
in spectator/meter
10 2
percentile_dist_summary.py
in spectator/meter
14 2
max_gauge.py
in spectator/meter
13 2
monotonic_counter_uint.py
in spectator/meter
14 2
monotonic_counter.py
in spectator/meter
13 2
counter.py
in spectator/meter
14 2
new_writer.py
in spectator/writer
29 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): 27 points

spectator/writer/file_writer.py x: 6 commits (all time) y: 28 lines of code spectator/writer/socket_writer.py x: 4 commits (all time) y: 91 lines of code spectator/writer/new_writer.py x: 6 commits (all time) y: 29 lines of code spectator/writer/noop_writer.py x: 5 commits (all time) y: 14 lines of code MANIFEST.in x: 2 commits (all time) y: 4 lines of code spectator/common_tags.py x: 2 commits (all time) y: 25 lines of code spectator/meter/meter_id.py x: 3 commits (all time) y: 53 lines of code spectator/protocol_parser.py x: 3 commits (all time) y: 37 lines of code spectator/writer/memory_writer.py x: 4 commits (all time) y: 20 lines of code spectator/__init__.py x: 8 commits (all time) y: 25 lines of code spectator/config.py x: 5 commits (all time) y: 35 lines of code spectator/meter/age_gauge.py x: 4 commits (all time) y: 16 lines of code spectator/meter/counter.py x: 4 commits (all time) y: 14 lines of code spectator/meter/gauge.py x: 4 commits (all time) y: 18 lines of code spectator/meter/max_gauge.py x: 4 commits (all time) y: 13 lines of code spectator/registry.py x: 17 commits (all time) y: 79 lines of code spectator/writer/line_buffer.py x: 1 commits (all time) y: 17 lines of code spectator/clock.py x: 4 commits (all time) y: 24 lines of code spectator/meter/__init__.py x: 2 commits (all time) y: 10 lines of code spectator/stopwatch.py x: 1 commits (all time) y: 14 lines of code spectator/writer/__init__.py x: 2 commits (all time) y: 11 lines of code
91.0
lines of code
  min: 4.0
  average: 24.44
  25th percentile: 14.0
  median: 16.0
  75th percentile: 28.0
  max: 91.0
0 17.0
commits (all time)
min: 1.0 | average: 4.26 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 4.0 | max: 17.0

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

spectator/writer/file_writer.py x: 2 contributors (all time) y: 28 lines of code spectator/writer/socket_writer.py x: 2 contributors (all time) y: 91 lines of code spectator/writer/new_writer.py x: 1 contributors (all time) y: 29 lines of code spectator/writer/noop_writer.py x: 1 contributors (all time) y: 14 lines of code MANIFEST.in x: 2 contributors (all time) y: 4 lines of code spectator/common_tags.py x: 1 contributors (all time) y: 25 lines of code spectator/meter/meter_id.py x: 1 contributors (all time) y: 53 lines of code spectator/protocol_parser.py x: 1 contributors (all time) y: 37 lines of code spectator/writer/memory_writer.py x: 1 contributors (all time) y: 20 lines of code spectator/__init__.py x: 2 contributors (all time) y: 25 lines of code spectator/config.py x: 1 contributors (all time) y: 35 lines of code spectator/meter/age_gauge.py x: 1 contributors (all time) y: 16 lines of code spectator/meter/gauge.py x: 1 contributors (all time) y: 18 lines of code spectator/meter/max_gauge.py x: 1 contributors (all time) y: 13 lines of code spectator/registry.py x: 5 contributors (all time) y: 79 lines of code spectator/writer/line_buffer.py x: 1 contributors (all time) y: 17 lines of code spectator/clock.py x: 1 contributors (all time) y: 24 lines of code spectator/meter/__init__.py x: 1 contributors (all time) y: 10 lines of code spectator/writer/__init__.py x: 1 contributors (all time) y: 11 lines of code
91.0
lines of code
  min: 4.0
  average: 24.44
  25th percentile: 14.0
  median: 16.0
  75th percentile: 28.0
  max: 91.0
0 5.0
contributors (all time)
min: 1.0 | average: 1.3 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0

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

spectator/writer/file_writer.py x: 1 commits (30d) y: 28 lines of code spectator/writer/socket_writer.py x: 1 commits (30d) y: 91 lines of code
91.0
lines of code
  min: 28.0
  average: 59.5
  25th percentile: 28.0
  median: 59.5
  75th percentile: 91.0
  max: 91.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

spectator/writer/file_writer.py x: 1 contributors (30d) y: 28 lines of code spectator/writer/socket_writer.py x: 1 contributors (30d) y: 91 lines of code
91.0
lines of code
  min: 28.0
  average: 59.5
  25th percentile: 28.0
  median: 59.5
  75th percentile: 91.0
  max: 91.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

spectator/writer/file_writer.py x: 1 commits (90d) y: 28 lines of code spectator/writer/socket_writer.py x: 1 commits (90d) y: 91 lines of code spectator/writer/new_writer.py x: 1 commits (90d) y: 29 lines of code spectator/writer/noop_writer.py x: 1 commits (90d) y: 14 lines of code
91.0
lines of code
  min: 14.0
  average: 40.5
  25th percentile: 17.5
  median: 28.5
  75th percentile: 75.5
  max: 91.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

spectator/writer/file_writer.py x: 1 contributors (90d) y: 28 lines of code spectator/writer/socket_writer.py x: 1 contributors (90d) y: 91 lines of code spectator/writer/new_writer.py x: 1 contributors (90d) y: 29 lines of code spectator/writer/noop_writer.py x: 1 contributors (90d) y: 14 lines of code
91.0
lines of code
  min: 14.0
  average: 40.5
  25th percentile: 17.5
  median: 28.5
  75th percentile: 75.5
  max: 91.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...