File Size Overall
  • There are 79 files with 8,346 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,275 lines of code)
    • 8 medium size files (2,226 lines of code)
    • 13 small files (1,916 lines of code)
    • 55 very small files (1,929 lines of code)
0% | 27% | 26% | 22% | 23%
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% | 26% | 32% | 19% | 21%
html0% | 100% | 0% | 0% | 0%
scala0% | 0% | 20% | 43% | 35%
tsx0% | 0% | 0% | 57% | 42%
mjs0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 31% | 27% | 20% | 20%
src0% | 0% | 19% | 43% | 36%
cdk0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
CapiTypeaheadHelpers.ts
in lib/cql/src/typeahead
993 3
utils.ts
in lib/cql/src/cqlInput/editor
668 -
index.html
in lib/cql
614 -
cql.ts
in lib/cql/src/cqlInput/editor/plugins
423 13
CqlInput.ts
in lib/cql/src/cqlInput
416 5
debug.ts
in lib/cql/src/cqlInput/editor
272 -
page.ts
in lib/cql/src
271 3
commands.ts
in lib/cql/src/cqlInput/editor
216 1
scanner.ts
in lib/cql/src/lang
212 -
Typeahead.scala
in src/main/scala/lang
211 8
parser.ts
in lib/cql/src/lang
205 7
TypeaheadHelpersCapi.scala
in src/main/scala/lang
191 2
typeahead.ts
in lib/cql/src/lang
184 8
misc.ts
in lib/cql/src/typeahead/tools-index/config
177 9
TypeaheadPopover.ts
in lib/cql/src/cqlInput/popover
163 2
Parser.scala
in src/main/scala/lang
159 4
nodeView.ts
in lib/cql/src/cqlInput/editor
152 3
team-info.ts
in lib/cql/src/typeahead/tools-index/config
145 -
TextSuggestionContent.tsx
in lib/cql/src/cqlInput/popover/components
136 -
DateSuggestionContent.tsx
in lib/cql/src/cqlInput/popover/components
132 -
theme.ts
in lib/cql/src/cqlInput
132 -
devx.ts
in lib/cql/src/typeahead/tools-index/config
116 10
capi.ts
in lib/cql/src/typeahead/tools-index/config
116 8
Scanner.scala
in src/main/scala/lang
113 2
capiQueryString.ts
in lib/cql/src/lang
95 1
PopoverContainer.tsx
in lib/cql/src/cqlInput/popover/components
89 -
diff.ts
in lib/cql/src/cqlInput/editor
85 3
investigations.ts
in lib/cql/src/typeahead/tools-index/config
81 4
Ast.scala
in src/main/scala/lang
79 -
Handler.scala
in src/main/scala
79 1
HttpServer.scala
in src/main/scala
71 1
placeholder.ts
in lib/cql/src/cqlInput/editor/plugins
70 5
editor.ts
in lib/cql/src/cqlInput/editor
68 1
schema.ts
in lib/cql/src/cqlInput/editor
67 -
Cql.scala
in src/main/scala/lang
63 1
TestTypeaheadHelpers.ts
in lib/cql/src/lang/fixtures
57 2
testUtils.ts
in lib/cql/src/lang
53 -
index.ts
in lib/cql/src/typeahead/tools-index/config
51 1
utils.ts
in lib/cql/src/lang
50 -
CapiQueryString.scala
in src/main/scala/lang
50 3
ErrorPopover.ts
in lib/cql/src/cqlInput/popover
48 1
Popover.ts
in lib/cql/src/cqlInput/popover
47 3
interpreter.ts
in lib/cql/src/lang
46 -
AbsoluteDateTab.tsx
in lib/cql/src/cqlInput/popover/components
42 -
Cql.ts
in lib/cql/src/lang
42 -
ast.ts
in lib/cql/src/lang
41 1
supporter-revenue.ts
in lib/cql/src/typeahead/tools-index/config
36 2
types.ts
in lib/cql/src/lang
35 1
token.ts
in lib/cql/src/lang
32 1
Token.scala
in src/main/scala/lang
31 -
Large Files That Change Often (Top 8)
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
cql.ts
in lib/cql/src/cqlInput/editor/plugins
423 ~2k–7k 11 ~30 ~15
CqlInput.ts
in lib/cql/src/cqlInput
416 ~2k–7k 11 ~15 ~30
utils.ts
in lib/cql/src/cqlInput/editor
668 ~3k–10k 3 ~30 ~20
TextSuggestionContent.tsx
in lib/cql/src/cqlInput/popover/components
136 ~700–2k 6 ~20 ~5
commands.ts
in lib/cql/src/cqlInput/editor
216 ~1.5k–5k 3 ~20 ~10
nodeView.ts
in lib/cql/src/cqlInput/editor
152 ~1k–3k 4 ~30 ~5
typeahead.ts
in lib/cql/src/lang
184 ~1k–3k 2 ~20 ~7
diff.ts
in lib/cql/src/cqlInput/editor
85 ~500–1.5k 4 ~30 ~3

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 41)
File# lines# units
cql.ts
in lib/cql/src/cqlInput/editor/plugins
423 13
devx.ts
in lib/cql/src/typeahead/tools-index/config
116 10
misc.ts
in lib/cql/src/typeahead/tools-index/config
177 9
capi.ts
in lib/cql/src/typeahead/tools-index/config
116 8
typeahead.ts
in lib/cql/src/lang
184 8
Typeahead.scala
in src/main/scala/lang
211 8
parser.ts
in lib/cql/src/lang
205 7
CqlInput.ts
in lib/cql/src/cqlInput
416 5
placeholder.ts
in lib/cql/src/cqlInput/editor/plugins
70 5
link.ts
in lib/cql/src/typeahead/tools-index/types
30 4
investigations.ts
in lib/cql/src/typeahead/tools-index/config
81 4
Parser.scala
in src/main/scala/lang
159 4
CapiTypeaheadHelpers.ts
in lib/cql/src/typeahead
993 3
Popover.ts
in lib/cql/src/cqlInput/popover
47 3
diff.ts
in lib/cql/src/cqlInput/editor
85 3
nodeView.ts
in lib/cql/src/cqlInput/editor
152 3
page.ts
in lib/cql/src
271 3
CapiQueryString.scala
in src/main/scala/lang
50 3
supporter-revenue.ts
in lib/cql/src/typeahead/tools-index/config
36 2
TypeaheadPopover.ts
in lib/cql/src/cqlInput/popover
163 2
TestTypeaheadHelpers.ts
in lib/cql/src/lang/fixtures
57 2
TypeaheadHelpersCapi.scala
in src/main/scala/lang
191 2
Scanner.scala
in src/main/scala/lang
113 2
cql-lambda.ts
in cdk/lib
22 1
15 1
vite.config.ts
in lib/cql
9 1
ophan.ts
in lib/cql/src/typeahead/tools-index/config
21 1
index.ts
in lib/cql/src/typeahead/tools-index/config
51 1
dotcom.ts
in lib/cql/src/typeahead/tools-index/config
28 1
LRUCache.ts
in lib/cql/src/typeahead
25 1
ErrorPopover.ts
in lib/cql/src/cqlInput/popover
48 1
commands.ts
in lib/cql/src/cqlInput/editor
216 1
editor.ts
in lib/cql/src/cqlInput/editor
68 1
merge.ts
in lib/cql/src/utils
18 1
capiQueryString.ts
in lib/cql/src/lang
95 1
ast.ts
in lib/cql/src/lang
41 1
types.ts
in lib/cql/src/lang
35 1
token.ts
in lib/cql/src/lang
32 1
HttpServer.scala
in src/main/scala
71 1
Cql.scala
in src/main/scala/lang
63 1
Handler.scala
in src/main/scala
79 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
misc.ts
in lib/cql/src/typeahead/tools-index/config
177 9 3
utils.ts
in lib/cql/src/cqlInput/editor
668 - 3
parser.ts
in lib/cql/src/lang
205 7 3
team-info.ts
in lib/cql/src/typeahead/tools-index/config
145 - 2
CqlInput.ts
in lib/cql/src/cqlInput
416 5 2
Parser.scala
in src/main/scala/lang
159 4 2
index.html
in lib/cql
614 - 1
supporter-revenue.ts
in lib/cql/src/typeahead/tools-index/config
36 2 1
debug.ts
in lib/cql/src/cqlInput/editor
272 - 1
capiQueryString.ts
in lib/cql/src/lang
95 1 1
page.ts
in lib/cql/src
271 3 1
Correlations

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

lib/cql/src/cqlInput/CqlInput.ts x: 58 commits (all time) y: 416 lines of code lib/cql/src/cqlInput/editor/plugins/cql.ts x: 55 commits (all time) y: 423 lines of code lib/cql/src/lang/typeahead.ts x: 12 commits (all time) y: 184 lines of code lib/cql/src/cqlInput/editor/diff.ts x: 5 commits (all time) y: 85 lines of code lib/cql/src/cqlInput/editor/nodeView.ts x: 7 commits (all time) y: 152 lines of code lib/cql/src/cqlInput/popover/components/TextSuggestionContent.tsx x: 12 commits (all time) y: 136 lines of code lib/cql/src/cqlInput/editor/utils.ts x: 52 commits (all time) y: 668 lines of code lib/cql/src/cqlInput/editor/commands.ts x: 24 commits (all time) y: 216 lines of code lib/cql/src/cqlInput/popover/TypeaheadPopover.ts x: 8 commits (all time) y: 163 lines of code lib/cql/src/lang/fixtures/TestTypeaheadHelpers.ts x: 5 commits (all time) y: 57 lines of code lib/cql/index.html x: 9 commits (all time) y: 614 lines of code lib/cql/src/cqlInput/theme.ts x: 11 commits (all time) y: 132 lines of code lib/cql/src/lang/capiQueryString.ts x: 2 commits (all time) y: 95 lines of code lib/cql/src/lang/scanner.ts x: 19 commits (all time) y: 212 lines of code lib/cql/src/cqlInput/editor/debug.ts x: 6 commits (all time) y: 272 lines of code lib/cql/src/page.ts x: 17 commits (all time) y: 271 lines of code lib/cql/src/lang/parser.ts x: 4 commits (all time) y: 205 lines of code lib/cql/src/lang/testUtils.ts x: 6 commits (all time) y: 53 lines of code lib/cql/src/lang/token.ts x: 3 commits (all time) y: 32 lines of code lib/cql/src/lang/interpreter.ts x: 9 commits (all time) y: 46 lines of code lib/cql/src/lang/ast.ts x: 3 commits (all time) y: 41 lines of code lib/cql/src/lang/utils.ts x: 8 commits (all time) y: 50 lines of code lib/cql/src/cqlInput/editor/schema.ts x: 8 commits (all time) y: 67 lines of code lib/cql/src/cqlInput/popover/Popover.ts x: 3 commits (all time) y: 47 lines of code lib/cql/src/cqlInput/popover/ErrorPopover.ts x: 4 commits (all time) y: 48 lines of code lib/cql/vite.config.ts x: 2 commits (all time) y: 9 lines of code lib/cql/src/cqlInput/editor/editor.ts x: 13 commits (all time) y: 68 lines of code lib/cql/src/lang/types.ts x: 4 commits (all time) y: 35 lines of code src/main/scala/Handler.scala x: 14 commits (all time) y: 79 lines of code lib/cql/src/cqlInput/editor/plugins/placeholder.ts x: 4 commits (all time) y: 70 lines of code lib/cql/src/lang/Cql.ts x: 4 commits (all time) y: 42 lines of code lib/cql/src/lib.ts x: 3 commits (all time) y: 15 lines of code lib/cql/src/typeahead/tools-index/config/index.ts x: 2 commits (all time) y: 51 lines of code lib/cql/src/utils/result.ts x: 2 commits (all time) y: 21 lines of code lib/cql/src/cqlInput/popover/components/PopoverContainer.tsx x: 2 commits (all time) y: 89 lines of code lib/cql/src/types/utils.ts x: 1 commits (all time) y: 5 lines of code lib/cql/bunfig.toml x: 1 commits (all time) y: 2 lines of code lib/cql/eslint.config.mjs x: 1 commits (all time) y: 25 lines of code lib/cql/src/cqlInput/popover/components/AbsoluteDateTab.tsx x: 1 commits (all time) y: 42 lines of code lib/cql/src/cqlInput/popover/components/DateSuggestionContent.tsx x: 1 commits (all time) y: 132 lines of code lib/cql/src/cqlInput/popover/components/Debounce.tsx x: 1 commits (all time) y: 28 lines of code lib/cql/src/cqlInput/popover/components/defaultPopoverRenderer.tsx x: 1 commits (all time) y: 8 lines of code lib/cql/src/typeahead/CapiTypeaheadHelpers.ts x: 1 commits (all time) y: 993 lines of code lib/cql/src/typeahead/tools-index/config/capi.ts x: 1 commits (all time) y: 116 lines of code lib/cql/src/typeahead/tools-index/config/data-tech.ts x: 1 commits (all time) y: 13 lines of code lib/cql/src/typeahead/tools-index/config/investigations.ts x: 1 commits (all time) y: 81 lines of code lib/cql/src/typeahead/tools-index/config/misc.ts x: 1 commits (all time) y: 177 lines of code lib/cql/src/typeahead/tools-index/config/ophan.ts x: 1 commits (all time) y: 21 lines of code lib/cql/src/typeahead/tools-index/config/supporter-revenue.ts x: 1 commits (all time) y: 36 lines of code lib/cql/src/typeahead/tools-index/config/team-info.ts x: 1 commits (all time) y: 145 lines of code lib/cql/src/utils/merge.ts x: 1 commits (all time) y: 18 lines of code src/main/scala/HttpServer.scala x: 15 commits (all time) y: 71 lines of code src/main/scala/lang/Typeahead.scala x: 10 commits (all time) y: 211 lines of code src/main/scala/lang/TypeaheadHelpersCapi.scala x: 4 commits (all time) y: 191 lines of code src/main/scala/lang/Ast.scala x: 5 commits (all time) y: 79 lines of code src/main/scala/lang/CapiQueryString.scala x: 5 commits (all time) y: 50 lines of code src/main/scala/lang/Cql.scala x: 9 commits (all time) y: 63 lines of code src/main/scala/lang/Parser.scala x: 9 commits (all time) y: 159 lines of code src/main/scala/lang/Scanner.scala x: 7 commits (all time) y: 113 lines of code src/main/scala/lang/Token.scala x: 3 commits (all time) y: 31 lines of code cdk/lib/cql-lambda.ts x: 4 commits (all time) y: 22 lines of code src/main/scala/Main.scala x: 3 commits (all time) y: 3 lines of code
993.0
lines of code
  min: 2.0
  average: 105.65
  25th percentile: 18.0
  median: 50.0
  75th percentile: 132.0
  max: 993.0
0 58.0
commits (all time)
min: 1.0 | average: 6.42 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 8.0 | max: 58.0

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

lib/cql/src/cqlInput/CqlInput.ts x: 5 contributors (all time) y: 416 lines of code lib/cql/src/cqlInput/editor/plugins/cql.ts x: 3 contributors (all time) y: 423 lines of code lib/cql/src/lang/typeahead.ts x: 3 contributors (all time) y: 184 lines of code lib/cql/src/cqlInput/editor/diff.ts x: 2 contributors (all time) y: 85 lines of code lib/cql/src/cqlInput/editor/nodeView.ts x: 1 contributors (all time) y: 152 lines of code lib/cql/src/cqlInput/popover/components/TextSuggestionContent.tsx x: 4 contributors (all time) y: 136 lines of code lib/cql/src/cqlInput/editor/utils.ts x: 1 contributors (all time) y: 668 lines of code lib/cql/src/cqlInput/editor/commands.ts x: 3 contributors (all time) y: 216 lines of code lib/cql/src/cqlInput/popover/TypeaheadPopover.ts x: 1 contributors (all time) y: 163 lines of code lib/cql/src/lang/fixtures/TestTypeaheadHelpers.ts x: 3 contributors (all time) y: 57 lines of code lib/cql/index.html x: 1 contributors (all time) y: 614 lines of code lib/cql/src/cqlInput/theme.ts x: 3 contributors (all time) y: 132 lines of code lib/cql/src/lang/capiQueryString.ts x: 1 contributors (all time) y: 95 lines of code lib/cql/src/lang/scanner.ts x: 1 contributors (all time) y: 212 lines of code lib/cql/src/cqlInput/editor/debug.ts x: 1 contributors (all time) y: 272 lines of code lib/cql/src/page.ts x: 2 contributors (all time) y: 271 lines of code lib/cql/src/lang/parser.ts x: 1 contributors (all time) y: 205 lines of code lib/cql/src/lang/testUtils.ts x: 1 contributors (all time) y: 53 lines of code lib/cql/src/lang/token.ts x: 1 contributors (all time) y: 32 lines of code lib/cql/src/lang/interpreter.ts x: 1 contributors (all time) y: 46 lines of code lib/cql/src/lang/ast.ts x: 1 contributors (all time) y: 41 lines of code lib/cql/src/lang/utils.ts x: 1 contributors (all time) y: 50 lines of code lib/cql/src/cqlInput/editor/schema.ts x: 1 contributors (all time) y: 67 lines of code lib/cql/src/cqlInput/popover/ErrorPopover.ts x: 2 contributors (all time) y: 48 lines of code lib/cql/vite.config.ts x: 1 contributors (all time) y: 9 lines of code lib/cql/src/lang/types.ts x: 3 contributors (all time) y: 35 lines of code src/main/scala/Handler.scala x: 1 contributors (all time) y: 79 lines of code lib/cql/src/lib.ts x: 1 contributors (all time) y: 15 lines of code lib/cql/src/utils/result.ts x: 1 contributors (all time) y: 21 lines of code lib/cql/src/cqlInput/popover/components/PopoverContainer.tsx x: 1 contributors (all time) y: 89 lines of code lib/cql/src/types/utils.ts x: 1 contributors (all time) y: 5 lines of code lib/cql/bunfig.toml x: 1 contributors (all time) y: 2 lines of code lib/cql/eslint.config.mjs x: 1 contributors (all time) y: 25 lines of code lib/cql/src/cqlInput/popover/components/DateSuggestionContent.tsx x: 1 contributors (all time) y: 132 lines of code lib/cql/src/cqlInput/popover/components/Debounce.tsx x: 1 contributors (all time) y: 28 lines of code lib/cql/src/typeahead/CapiTypeaheadHelpers.ts x: 1 contributors (all time) y: 993 lines of code lib/cql/src/typeahead/tools-index/config/capi.ts x: 1 contributors (all time) y: 116 lines of code lib/cql/src/typeahead/tools-index/config/misc.ts x: 1 contributors (all time) y: 177 lines of code lib/cql/src/typeahead/tools-index/config/supporter-revenue.ts x: 1 contributors (all time) y: 36 lines of code lib/cql/src/typeahead/tools-index/config/team-info.ts x: 1 contributors (all time) y: 145 lines of code lib/cql/src/utils/merge.ts x: 1 contributors (all time) y: 18 lines of code src/main/scala/HttpServer.scala x: 1 contributors (all time) y: 71 lines of code src/main/scala/lang/Typeahead.scala x: 1 contributors (all time) y: 211 lines of code src/main/scala/lang/TypeaheadHelpersCapi.scala x: 1 contributors (all time) y: 191 lines of code src/main/scala/lang/Cql.scala x: 1 contributors (all time) y: 63 lines of code src/main/scala/lang/Parser.scala x: 1 contributors (all time) y: 159 lines of code src/main/scala/lang/Scanner.scala x: 1 contributors (all time) y: 113 lines of code
993.0
lines of code
  min: 2.0
  average: 105.65
  25th percentile: 18.0
  median: 50.0
  75th percentile: 132.0
  max: 993.0
0 5.0
contributors (all time)
min: 1.0 | average: 1.28 | 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): 3 points

lib/cql/src/cqlInput/CqlInput.ts x: 3 commits (90d) y: 416 lines of code lib/cql/src/cqlInput/editor/plugins/cql.ts x: 2 commits (90d) y: 423 lines of code lib/cql/src/lang/typeahead.ts x: 2 commits (90d) y: 184 lines of code
423.0
lines of code
  min: 184.0
  average: 341.0
  25th percentile: 184.0
  median: 416.0
  75th percentile: 423.0
  max: 423.0
0 3.0
commits (90d)
min: 2.0 | average: 2.33 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

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

lib/cql/src/cqlInput/CqlInput.ts x: 1 contributors (90d) y: 416 lines of code lib/cql/src/cqlInput/editor/plugins/cql.ts x: 1 contributors (90d) y: 423 lines of code lib/cql/src/lang/typeahead.ts x: 1 contributors (90d) y: 184 lines of code
423.0
lines of code
  min: 184.0
  average: 341.0
  25th percentile: 184.0
  median: 416.0
  75th percentile: 423.0
  max: 423.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...