File Size Overall
  • There are 37 files with 1,454 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)
    • 2 small files (271 lines of code)
    • 35 very small files (1,183 lines of code)
0% | 0% | 0% | 18% | 81%
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
cpp0% | 0% | 0% | 37% | 62%
h0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
dockerignore0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
libs0% | 0% | 0% | 11% | 88%
spectator0% | 0% | 0% | 68% | 31%
ROOT0% | 0% | 0% | 0% | 100%
Dockerfiles0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
writer.cpp
in libs/writer/writer_wrapper
138 7
registry.cpp
in spectator
133 24
udp_writer.cpp
in libs/writer/writer_types/src
91 4
uds_writer.cpp
in libs/writer/writer_types/src
90 4
meter_id.cpp
in libs/meter/meter_id
85 8
logger.h
in libs/logger
73 8
config.cpp
in libs/config
62 1
registry.h
in spectator
60 1
util.cpp
in libs/utils/src
52 3
writer_types.h
in libs/writer/writer_types/include
50 1
writer.h
in libs/writer/writer_wrapper
48 1
writer_config.cpp
in libs/writer/writer_config
48 1
util.h
in libs/utils/include
43 -
meter.h
in libs/meter/meter_types/include
34 1
meter_id.h
in libs/meter/meter_id
30 -
memory_writer.cpp
in libs/writer/writer_types/src
25 3
percentile_dist_summary.h
in libs/meter/meter_types/include
25 2
udp_writer.h
in libs/writer/writer_types/include
24 -
gauge.h
in libs/meter/meter_types/include
24 2
config.h
in libs/config
23 1
uds_writer.h
in libs/writer/writer_types/include
23 -
age_gauge.h
in libs/meter/meter_types/include
23 3
counter.h
in libs/meter/meter_types/include
21 2
percentile_timer.h
in libs/meter/meter_types/include
21 2
timer.h
in libs/meter/meter_types/include
21 2
dist_summary.h
in libs/meter/meter_types/include
21 2
memory_writer.h
in libs/writer/writer_types/include
20 1
writer_config.h
in libs/writer/writer_config
19 -
singleton.h
in libs/utils/include
18 -
monotonic_counter.h
in libs/meter/meter_types/include
18 2
max_gauge.h
in libs/meter/meter_types/include
18 2
monotonic_counter_uint.h
in libs/meter/meter_types/include
18 2
base_writer.h
in libs/writer/writer_types/include
16 -
13 -
writer_test_helper.h
in libs/writer/writer_wrapper
13 1
meter_types.h
in libs/meter/meter_types/include
11 -
2 -
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
registry.cpp
in spectator
133 ~700–2k 3 ~50 ~3
writer.cpp
in libs/writer/writer_wrapper
138 ~700–2k 2 ~50 ~2
udp_writer.cpp
in libs/writer/writer_types/src
91 ~500–1.5k 2 ~50 ~2
meter_id.cpp
in libs/meter/meter_id
85 ~500–1.5k 2 ~30 ~2
registry.h
in spectator
60 ~300–1k 2 ~50 ~2
uds_writer.cpp
in libs/writer/writer_types/src
90 ~500–1.5k 1 ~70 ~1
logger.h
in libs/logger
73 ~500–1.5k 1 ~50 ~2
config.cpp
in libs/config
62 ~300–1k 1 ~30 ~2
util.cpp
in libs/utils/src
52 ~300–1k 1 ~30 ~2
writer_types.h
in libs/writer/writer_types/include
50 under 1k 1 ~30 ~2
writer_config.cpp
in libs/writer/writer_config
48 under 1k 1 ~30 ~2
writer.h
in libs/writer/writer_wrapper
48 under 1k 1 ~30 ~2
util.h
in libs/utils/include
43 under 1k 1 ~30 ~2
meter.h
in libs/meter/meter_types/include
34 under 1k 1 ~20 ~2
meter_id.h
in libs/meter/meter_id
30 under 1k 1 ~20 ~2
percentile_dist_summary.h
in libs/meter/meter_types/include
25 under 1k 1 ~10 ~2
memory_writer.cpp
in libs/writer/writer_types/src
25 under 1k 1 ~15 ~2
gauge.h
in libs/meter/meter_types/include
24 under 1k 1 ~15 ~2
udp_writer.h
in libs/writer/writer_types/include
24 under 1k 1 ~10 ~2
config.h
in libs/config
23 under 1k 1 ~15 ~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 27)
File# lines# units
registry.cpp
in spectator
133 24
logger.h
in libs/logger
73 8
meter_id.cpp
in libs/meter/meter_id
85 8
writer.cpp
in libs/writer/writer_wrapper
138 7
udp_writer.cpp
in libs/writer/writer_types/src
91 4
uds_writer.cpp
in libs/writer/writer_types/src
90 4
util.cpp
in libs/utils/src
52 3
memory_writer.cpp
in libs/writer/writer_types/src
25 3
age_gauge.h
in libs/meter/meter_types/include
23 3
gauge.h
in libs/meter/meter_types/include
24 2
counter.h
in libs/meter/meter_types/include
21 2
percentile_timer.h
in libs/meter/meter_types/include
21 2
monotonic_counter.h
in libs/meter/meter_types/include
18 2
timer.h
in libs/meter/meter_types/include
21 2
percentile_dist_summary.h
in libs/meter/meter_types/include
25 2
max_gauge.h
in libs/meter/meter_types/include
18 2
dist_summary.h
in libs/meter/meter_types/include
21 2
monotonic_counter_uint.h
in libs/meter/meter_types/include
18 2
config.h
in libs/config
23 1
config.cpp
in libs/config
62 1
writer_test_helper.h
in libs/writer/writer_wrapper
13 1
writer.h
in libs/writer/writer_wrapper
48 1
writer_config.cpp
in libs/writer/writer_config
48 1
writer_types.h
in libs/writer/writer_types/include
50 1
memory_writer.h
in libs/writer/writer_types/include
20 1
meter.h
in libs/meter/meter_types/include
34 1
registry.h
in spectator
60 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
registry.h
in spectator
60 1 5
registry.cpp
in spectator
133 24 3
config.cpp
in libs/config
62 1 1
writer_test_helper.h
in libs/writer/writer_wrapper
13 1 1
writer.cpp
in libs/writer/writer_wrapper
138 7 1
udp_writer.cpp
in libs/writer/writer_types/src
91 4 1
uds_writer.cpp
in libs/writer/writer_types/src
90 4 1
Correlations

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

spectator/registry.cpp x: 5 commits (all time) y: 133 lines of code spectator/registry.h x: 27 commits (all time) y: 60 lines of code conanfile.py x: 7 commits (all time) y: 13 lines of code libs/writer/writer_types/src/udp_writer.cpp x: 4 commits (all time) y: 91 lines of code libs/writer/writer_wrapper/writer.cpp x: 3 commits (all time) y: 138 lines of code libs/config/config.cpp x: 3 commits (all time) y: 62 lines of code libs/config/config.h x: 2 commits (all time) y: 23 lines of code libs/logger/logger.h x: 2 commits (all time) y: 73 lines of code libs/meter/meter_id/meter_id.cpp x: 3 commits (all time) y: 85 lines of code libs/meter/meter_id/meter_id.h x: 2 commits (all time) y: 30 lines of code libs/meter/meter_types/include/age_gauge.h x: 3 commits (all time) y: 23 lines of code libs/meter/meter_types/include/counter.h x: 2 commits (all time) y: 21 lines of code libs/meter/meter_types/include/dist_summary.h x: 3 commits (all time) y: 21 lines of code libs/meter/meter_types/include/gauge.h x: 2 commits (all time) y: 24 lines of code libs/meter/meter_types/include/max_gauge.h x: 2 commits (all time) y: 18 lines of code libs/meter/meter_types/include/meter.h x: 2 commits (all time) y: 34 lines of code libs/meter/meter_types/include/percentile_dist_summary.h x: 3 commits (all time) y: 25 lines of code libs/utils/include/util.h x: 2 commits (all time) y: 43 lines of code libs/utils/src/util.cpp x: 2 commits (all time) y: 52 lines of code libs/writer/writer_config/writer_config.cpp x: 2 commits (all time) y: 48 lines of code libs/writer/writer_config/writer_config.h x: 2 commits (all time) y: 19 lines of code libs/writer/writer_types/include/base_writer.h x: 2 commits (all time) y: 16 lines of code libs/writer/writer_types/include/memory_writer.h x: 2 commits (all time) y: 20 lines of code libs/writer/writer_types/include/udp_writer.h x: 3 commits (all time) y: 24 lines of code libs/writer/writer_types/include/writer_types.h x: 2 commits (all time) y: 50 lines of code libs/writer/writer_types/src/memory_writer.cpp x: 2 commits (all time) y: 25 lines of code libs/writer/writer_types/src/uds_writer.cpp x: 3 commits (all time) y: 90 lines of code libs/writer/writer_wrapper/writer_test_helper.h x: 2 commits (all time) y: 13 lines of code Dockerfiles/Ubuntu.Dockerfile.dockerignore x: 1 commits (all time) y: 2 lines of code libs/meter/meter_types/include/meter_types.h x: 1 commits (all time) y: 11 lines of code
138.0
lines of code
  min: 2.0
  average: 39.3
  25th percentile: 18.5
  median: 24.0
  75th percentile: 51.0
  max: 138.0
0 27.0
commits (all time)
min: 1.0 | average: 3.14 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 27.0

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

spectator/registry.cpp x: 1 contributors (all time) y: 133 lines of code spectator/registry.h x: 5 contributors (all time) y: 60 lines of code conanfile.py x: 2 contributors (all time) y: 13 lines of code libs/writer/writer_types/src/udp_writer.cpp x: 1 contributors (all time) y: 91 lines of code libs/writer/writer_wrapper/writer.cpp x: 1 contributors (all time) y: 138 lines of code libs/config/config.cpp x: 1 contributors (all time) y: 62 lines of code libs/config/config.h x: 1 contributors (all time) y: 23 lines of code libs/logger/logger.h x: 1 contributors (all time) y: 73 lines of code libs/meter/meter_id/meter_id.cpp x: 2 contributors (all time) y: 85 lines of code libs/meter/meter_id/meter_id.h x: 1 contributors (all time) y: 30 lines of code libs/meter/meter_types/include/counter.h x: 1 contributors (all time) y: 21 lines of code libs/meter/meter_types/include/gauge.h x: 1 contributors (all time) y: 24 lines of code libs/meter/meter_types/include/max_gauge.h x: 1 contributors (all time) y: 18 lines of code libs/meter/meter_types/include/meter.h x: 1 contributors (all time) y: 34 lines of code libs/meter/meter_types/include/percentile_dist_summary.h x: 1 contributors (all time) y: 25 lines of code libs/utils/include/util.h x: 1 contributors (all time) y: 43 lines of code libs/utils/src/util.cpp x: 1 contributors (all time) y: 52 lines of code libs/writer/writer_config/writer_config.cpp x: 1 contributors (all time) y: 48 lines of code libs/writer/writer_config/writer_config.h x: 1 contributors (all time) y: 19 lines of code libs/writer/writer_types/include/base_writer.h x: 1 contributors (all time) y: 16 lines of code libs/writer/writer_types/include/memory_writer.h x: 1 contributors (all time) y: 20 lines of code libs/writer/writer_types/include/writer_types.h x: 1 contributors (all time) y: 50 lines of code libs/writer/writer_types/src/uds_writer.cpp x: 1 contributors (all time) y: 90 lines of code libs/writer/writer_wrapper/writer_test_helper.h x: 1 contributors (all time) y: 13 lines of code Dockerfiles/Ubuntu.Dockerfile.dockerignore x: 1 contributors (all time) y: 2 lines of code libs/meter/meter_types/include/meter_types.h x: 1 contributors (all time) y: 11 lines of code
138.0
lines of code
  min: 2.0
  average: 39.3
  25th percentile: 18.5
  median: 24.0
  75th percentile: 51.0
  max: 138.0
0 5.0
contributors (all time)
min: 1.0 | average: 1.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.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): 4 points

spectator/registry.cpp x: 1 commits (90d) y: 133 lines of code spectator/registry.h x: 1 commits (90d) y: 60 lines of code conanfile.py x: 1 commits (90d) y: 13 lines of code libs/writer/writer_types/src/udp_writer.cpp x: 1 commits (90d) y: 91 lines of code
133.0
lines of code
  min: 13.0
  average: 74.25
  25th percentile: 24.75
  median: 75.5
  75th percentile: 122.5
  max: 133.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/registry.cpp x: 1 contributors (90d) y: 133 lines of code spectator/registry.h x: 1 contributors (90d) y: 60 lines of code conanfile.py x: 1 contributors (90d) y: 13 lines of code libs/writer/writer_types/src/udp_writer.cpp x: 1 contributors (90d) y: 91 lines of code
133.0
lines of code
  min: 13.0
  average: 74.25
  25th percentile: 24.75
  median: 75.5
  75th percentile: 122.5
  max: 133.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...