File Size Overall
  • There are 35 files with 6,362 lines of code.
    • 1 very long files (2,161 lines of code)
    • 3 long files (1,884 lines of code)
    • 2 medium size files (650 lines of code)
    • 7 small files (962 lines of code)
    • 22 very small files (705 lines of code)
33% | 29% | 10% | 15% | 11%
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
c100% | 0% | 0% | 0% | 0%
cpp0% | 52% | 18% | 19% | 9%
h0% | 0% | 0% | 42% | 57%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
includes95% | 0% | 0% | 4% | 0%
src0% | 46% | 15% | 21% | 16%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
aiger.c
in includes
2161 -
704 15
621 30
559 19
gate.cpp
in src
369 14
281 12
term.cpp
in src
192 9
167 2
gate.h
in src
146 58
125 3
nss.cpp
in src
124 5
pac.cpp
in src
107 8
aiger.h
in includes
101 -
90 8
82 4
54 2
aig.cpp
in src
51 13
49 5
49 2
term.h
in src
39 7
35 -
aig.h
in src
34 -
28 -
27 -
25 3
22 3
21 3
pac.h
in src
19 -
slicing.h
in src
19 -
in
17 -
11 -
nss.h
in src
11 -
parser.h
in src
8 -
8 -
6 -
Large Files That Change Often (Top 5)
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
gate.cpp
in src
369 ~2k–7k 2 ~70 ~5
704 ~3k–10k 1 ~200 ~3
559 ~3k–10k 1 ~150 ~5
125 ~700–2k 1 ~30 ~3
21 under 1k 1 ~20 ~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 21)
File# lines# units
gate.h
in src
146 58
621 30
559 19
704 15
gate.cpp
in src
369 14
aig.cpp
in src
51 13
281 12
term.cpp
in src
192 9
pac.cpp
in src
107 8
90 8
term.h
in src
39 7
49 5
nss.cpp
in src
124 5
82 4
21 3
22 3
25 3
125 3
167 2
49 2
54 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
gate.cpp
in src
369 14 1
Correlations

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

src/gate.cpp x: 9 commits (all time) y: 369 lines of code src/polynomial_solver.cpp x: 6 commits (all time) y: 125 lines of code src/elimination.cpp x: 7 commits (all time) y: 704 lines of code src/slicing.cpp x: 8 commits (all time) y: 559 lines of code src/variable.h x: 5 commits (all time) y: 21 lines of code src/aig.cpp x: 4 commits (all time) y: 51 lines of code src/aig.h x: 4 commits (all time) y: 34 lines of code src/amulet.cpp x: 4 commits (all time) y: 167 lines of code src/gate.h x: 5 commits (all time) y: 146 lines of code src/hash_val.cpp x: 4 commits (all time) y: 25 lines of code src/hash_val.h x: 4 commits (all time) y: 8 lines of code src/monomial.cpp x: 4 commits (all time) y: 54 lines of code src/nss.cpp x: 5 commits (all time) y: 124 lines of code src/nss.h x: 4 commits (all time) y: 11 lines of code src/pac.cpp x: 4 commits (all time) y: 107 lines of code src/parser.cpp x: 4 commits (all time) y: 82 lines of code src/polynomial.cpp x: 5 commits (all time) y: 281 lines of code src/signal_statistics.cpp x: 4 commits (all time) y: 90 lines of code src/substitution.cpp x: 6 commits (all time) y: 621 lines of code src/substitution_engine.cpp x: 5 commits (all time) y: 49 lines of code src/term.cpp x: 4 commits (all time) y: 192 lines of code src/term.h x: 4 commits (all time) y: 39 lines of code src/substitution.h x: 3 commits (all time) y: 35 lines of code makefile.in x: 2 commits (all time) y: 17 lines of code includes/aiger.c x: 1 commits (all time) y: 2161 lines of code includes/aiger.h x: 1 commits (all time) y: 101 lines of code
2161.0
lines of code
  min: 6.0
  average: 181.77
  25th percentile: 21.0
  median: 49.0
  75th percentile: 146.0
  max: 2161.0
0 9.0
commits (all time)
min: 1.0 | average: 4.34 | 25th percentile: 4.0 | median: 4.0 | 75th percentile: 5.0 | max: 9.0

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

src/gate.cpp x: 3 contributors (all time) y: 369 lines of code src/polynomial_solver.cpp x: 3 contributors (all time) y: 125 lines of code src/elimination.cpp x: 3 contributors (all time) y: 704 lines of code src/slicing.cpp x: 3 contributors (all time) y: 559 lines of code src/variable.h x: 3 contributors (all time) y: 21 lines of code src/aig.cpp x: 2 contributors (all time) y: 51 lines of code src/aig.h x: 2 contributors (all time) y: 34 lines of code src/amulet.cpp x: 2 contributors (all time) y: 167 lines of code src/gate.h x: 2 contributors (all time) y: 146 lines of code src/hash_val.cpp x: 2 contributors (all time) y: 25 lines of code src/hash_val.h x: 2 contributors (all time) y: 8 lines of code src/monomial.cpp x: 2 contributors (all time) y: 54 lines of code src/nss.cpp x: 2 contributors (all time) y: 124 lines of code src/nss.h x: 2 contributors (all time) y: 11 lines of code src/pac.cpp x: 2 contributors (all time) y: 107 lines of code src/parser.cpp x: 2 contributors (all time) y: 82 lines of code src/polynomial.cpp x: 2 contributors (all time) y: 281 lines of code src/signal_statistics.cpp x: 2 contributors (all time) y: 90 lines of code src/substitution.cpp x: 2 contributors (all time) y: 621 lines of code src/term.cpp x: 2 contributors (all time) y: 192 lines of code src/term.h x: 2 contributors (all time) y: 39 lines of code includes/aiger.c x: 1 contributors (all time) y: 2161 lines of code includes/aiger.h x: 1 contributors (all time) y: 101 lines of code
2161.0
lines of code
  min: 6.0
  average: 181.77
  25th percentile: 21.0
  median: 49.0
  75th percentile: 146.0
  max: 2161.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.09 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.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...