File Size Overall
  • There are 109 files with 18,947 lines of code.
    • 0 very long files (0 lines of code)
    • 11 long files (7,990 lines of code)
    • 21 medium size files (6,643 lines of code)
    • 13 small files (1,858 lines of code)
    • 64 very small files (2,456 lines of code)
0% | 42% | 35% | 9% | 12%
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
go0% | 40% | 36% | 10% | 12%
py0% | 68% | 27% | 0% | 4%
cjs0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 42% | 28% | 14% | 14%
ROOT0% | 54% | 28% | 3% | 13%
scripts0% | 62% | 24% | 0% | 12%
auth0% | 34% | 49% | 9% | 6%
azure0% | 100% | 0% | 0% | 0%
bedrock0% | 93% | 0% | 0% | 6%
packages0% | 0% | 77% | 0% | 22%
responses0% | 0% | 77% | 20% | 2%
option0% | 0% | 50% | 31% | 18%
webhooks0% | 0% | 0% | 79% | 20%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
decode.go
in internal/encoding/json
959 30
custom_code_report.py
in scripts/castiron
949 25
encode.go
in internal/encoding/json
932 49
805 40
788 34
requestconfig.go
in internal/requestconfig
764 45
589 35
decoder.go
in internal/apijson
587 20
552 31
azure.go
in azure
534 30
auth.go
in bedrock
531 23
encoder.go
in internal/apiform
487 23
scanner.go
in internal/encoding/json
437 43
pagination.go
in packages/pagination
433 45
connection.go
in packages/websocket
433 25
custom_code_budget.py
in scripts/castiron
376 11
encoder.go
in internal/apiquery
359 11
345 11
stream.go
in internal/encoding/json
336 21
313 10
encoder.go
in internal/apijson
313 14
305 8
303 11
286 24
273 11
270 11
245 10
option_layers.go
in internal/requestconfig
240 24
ssestream.go
in packages/ssestream
234 18
229 14
217 18
209 12
tables.go
in internal/encoding/json
198 -
websocket.go
in internal/requestconfig
195 5
union.go
in internal/apijson
191 5
178 6
149 6
indent.go
in internal/encoding/json
141 7
polling.go
in root
127 6
origin.go
in internal/requestconfig
126 16
enum.go
in internal/apijson
115 5
retry_scope.go
in internal/requestconfig
114 12
111 4
107 3
106 6
provider_headers.go
in internal/requestconfig
98 4
port.go
in internal/apijson
97 1
param.go
in packages/param
93 11
middleware.go
in option
92 3
encoder.go
in packages/param
87 5
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
requestconfig.go
in internal/requestconfig
764 ~5k–15k 29 ~30 ~30
805 ~5k–15k 10 ~70 ~15
azure.go
in azure
534 ~3k–10k 15 ~70 ~7
286 ~2k–5k 15 ~20 ~15
788 ~5k–15k 5 ~200 ~3
encoder.go
in internal/apiform
487 ~3k–7k 8 ~30 ~15
custom_code_report.py
in scripts/castiron
949 ~5k–15k 4 ~300 ~3
pagination.go
in packages/pagination
433 ~3k–7k 7 ~50 ~10
decoder.go
in internal/apijson
587 ~3k–10k 5 ~70 ~10
encode.go
in internal/encoding/json
932 ~5k–15k 3 ~150 ~7
auth.go
in bedrock
531 ~3k–10k 5 ~150 ~3
encoder.go
in internal/apiquery
359 ~2k–7k 7 ~50 ~7
ssestream.go
in packages/ssestream
234 ~1.5k–5k 10 ~30 ~10
303 ~2k–5k 7 ~70 ~5
encoder.go
in internal/apijson
313 ~2k–5k 6 ~30 ~7
270 ~1.5k–5k 5 ~70 ~3
313 ~2k–5k 4 ~100 ~3
option_layers.go
in internal/requestconfig
240 ~1.5k–5k 5 ~70 ~3
custom_code_budget.py
in scripts/castiron
376 ~2k–7k 3 ~150 ~2
552 ~3k–10k 2 ~300 ~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 50)
File# lines# units
encode.go
in internal/encoding/json
932 49
requestconfig.go
in internal/requestconfig
764 45
pagination.go
in packages/pagination
433 45
scanner.go
in internal/encoding/json
437 43
805 40
589 35
788 34
552 31
azure.go
in azure
534 30
decode.go
in internal/encoding/json
959 30
custom_code_report.py
in scripts/castiron
949 25
connection.go
in packages/websocket
433 25
option_layers.go
in internal/requestconfig
240 24
286 24
encoder.go
in internal/apiform
487 23
auth.go
in bedrock
531 23
stream.go
in internal/encoding/json
336 21
decoder.go
in internal/apijson
587 20
217 18
ssestream.go
in packages/ssestream
234 18
origin.go
in internal/requestconfig
126 16
field.go
in root
37 15
encoder.go
in internal/apijson
313 14
229 14
retry_scope.go
in internal/requestconfig
114 12
209 12
303 11
273 11
345 11
encoder.go
in internal/apiquery
359 11
270 11
custom_code_budget.py
in scripts/castiron
376 11
option.go
in packages/param
85 11
param.go
in packages/param
93 11
313 10
245 10
apierror.go
in internal/apierror
61 9
305 8
indent.go
in internal/encoding/json
141 7
106 6
149 6
178 6
custom_code_test_support.py
in scripts/castiron
60 6
polling.go
in root
127 6
union.go
in internal/apijson
191 5
enum.go
in internal/apijson
115 5
websocket.go
in internal/requestconfig
195 5
encoder.go
in packages/param
87 5
field.go
in internal/apijson
16 4
subfield.go
in internal/apijson
59 4
Files With Long Lines (Top 45)

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

File# lines# units# long lines
auth.go
in bedrock
531 23 22
589 35 21
decode.go
in internal/encoding/json
959 30 16
805 40 15
azure.go
in azure
534 30 10
552 31 8
270 11 8
217 18 7
connection.go
in packages/websocket
433 25 5
305 8 5
requestconfig.go
in internal/requestconfig
764 45 4
229 14 4
custom_code_report.py
in scripts/castiron
949 25 4
111 4 4
47 2 3
178 6 3
29 3 3
polling.go
in root
127 6 3
303 11 2
273 11 2
788 34 2
decoder.go
in internal/apijson
587 20 2
encoder.go
in internal/apijson
313 14 2
encoder.go
in internal/apiform
487 23 2
option_layers.go
in internal/requestconfig
240 24 2
72 3 2
custom_code_budget.py
in scripts/castiron
376 11 2
74 3 2
19 1 1
345 11 1
2 - 1
union.go
in internal/apijson
191 5 1
encoder.go
in internal/apiquery
359 11 1
testutil.go
in internal/testutil
29 1 1
retry_scope.go
in internal/requestconfig
114 12 1
websocket.go
in internal/requestconfig
195 5 1
origin.go
in internal/requestconfig
126 16 1
286 24 1
209 12 1
custom_code_test_support.py
in scripts/castiron
60 6 1
pagination.go
in packages/pagination
433 45 1
dial_js.go
in packages/websocket
10 1 1
dial.go
in packages/websocket
9 1 1
encoder.go
in packages/param
87 5 1
28 1 1
Correlations

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

agents_stream.go x: 5 commits (all time) y: 270 lines of code beta_agents_creation_stream.go x: 1 commits (all time) y: 19 lines of code beta_agents_result.go x: 2 commits (all time) y: 229 lines of code packages/ssestream/ssestream.go x: 31 commits (all time) y: 234 lines of code internal/version.go x: 225 commits (all time) y: 2 lines of code .castiron.stats.yml x: 85 commits (all time) y: 8 lines of code responses/code_interpreter_network_policy.go x: 1 commits (all time) y: 2 lines of code agents_tools.go x: 2 commits (all time) y: 72 lines of code beta_agents_tool_error.go x: 1 commits (all time) y: 15 lines of code internal/apiform/encoder.go x: 23 commits (all time) y: 487 lines of code internal/apiform/richparam.go x: 8 commits (all time) y: 18 lines of code streamaccumulator.go x: 22 commits (all time) y: 805 lines of code streamaccumulator_limits.go x: 2 commits (all time) y: 552 lines of code auth/middleware.go x: 5 commits (all time) y: 68 lines of code internal/requestconfig/origin.go x: 4 commits (all time) y: 126 lines of code internal/requestconfig/requestconfig.go x: 57 commits (all time) y: 764 lines of code internal/requestconfig/websocket.go x: 4 commits (all time) y: 195 lines of code option/requestoption.go x: 32 commits (all time) y: 286 lines of code option/unsafe_http.go x: 2 commits (all time) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 3 commits (all time) y: 376 lines of code scripts/castiron/custom_code_report.py x: 4 commits (all time) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 commits (all time) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 commits (all time) y: 36 lines of code internal/apierror/apierror.go x: 11 commits (all time) y: 61 lines of code beta_agents_files.go x: 1 commits (all time) y: 74 lines of code auth/metadata.go x: 1 commits (all time) y: 28 lines of code auth/subjecttokenprovider.go x: 4 commits (all time) y: 245 lines of code azure/azure.go x: 26 commits (all time) y: 534 lines of code beta_agents_output.go x: 1 commits (all time) y: 305 lines of code internal/requestconfig/option_layers.go x: 5 commits (all time) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 commits (all time) y: 98 lines of code responses/response_accumulator.go x: 2 commits (all time) y: 345 lines of code responses/response_accumulator_details.go x: 1 commits (all time) y: 149 lines of code packages/websocket/connection.go x: 2 commits (all time) y: 433 lines of code internal/apiquery/encoder.go x: 15 commits (all time) y: 359 lines of code packages/param/encoder.go x: 15 commits (all time) y: 87 lines of code auth/x509middleware.go x: 4 commits (all time) y: 107 lines of code auth/x509transport.go x: 5 commits (all time) y: 788 lines of code internal/requestconfig/clone.go x: 2 commits (all time) y: 66 lines of code internal/websockettransport/transport.go x: 1 commits (all time) y: 44 lines of code option/websocket.go x: 1 commits (all time) y: 6 lines of code option/x509workloadidentity.go x: 5 commits (all time) y: 178 lines of code packages/websocket/dial.go x: 1 commits (all time) y: 9 lines of code responses/responses_websocket.go x: 1 commits (all time) y: 217 lines of code packages/pagination/pagination.go x: 20 commits (all time) y: 433 lines of code .github/dependabot.yml x: 5 commits (all time) y: 56 lines of code scripts/steady/publish.cjs x: 1 commits (all time) y: 18 lines of code scripts/steady/update.cjs x: 1 commits (all time) y: 53 lines of code auth/error.go x: 2 commits (all time) y: 27 lines of code auth/workloadbearerhistory.go x: 1 commits (all time) y: 106 lines of code auth/x509workloadidentity.go x: 4 commits (all time) y: 313 lines of code auth/workloadidentity.go x: 7 commits (all time) y: 303 lines of code internal/requestconfig/retry_scope.go x: 1 commits (all time) y: 114 lines of code default_http_client.go x: 5 commits (all time) y: 15 lines of code streamaccumulator_logprob.go x: 1 commits (all time) y: 589 lines of code streamaccumulator_ownership.go x: 1 commits (all time) y: 209 lines of code auth/x509exchange.go x: 1 commits (all time) y: 273 lines of code bedrock/auth.go x: 5 commits (all time) y: 531 lines of code .golangci.yml x: 9 commits (all time) y: 47 lines of code webhooks/webhook_helpers.go x: 1 commits (all time) y: 111 lines of code chatcompletion_helpers.go x: 1 commits (all time) y: 39 lines of code polling.go x: 15 commits (all time) y: 127 lines of code vectorstorefilebatch_helpers.go x: 1 commits (all time) y: 47 lines of code option/middleware.go x: 7 commits (all time) y: 92 lines of code internal/apijson/decoder.go x: 19 commits (all time) y: 587 lines of code internal/apijson/union.go x: 10 commits (all time) y: 191 lines of code bedrock/bedrock.go x: 2 commits (all time) y: 34 lines of code internal/encoding/json/decode.go x: 5 commits (all time) y: 959 lines of code internal/testutil/testutil.go x: 3 commits (all time) y: 29 lines of code internal/apijson/encoder.go x: 13 commits (all time) y: 313 lines of code internal/apijson/port.go x: 5 commits (all time) y: 97 lines of code internal/encoding/json/encode.go x: 10 commits (all time) y: 932 lines of code internal/paramutil/union.go x: 6 commits (all time) y: 37 lines of code internal/encoding/json/indent.go x: 3 commits (all time) y: 141 lines of code internal/encoding/json/opt.go x: 2 commits (all time) y: 13 lines of code internal/encoding/json/stream.go x: 3 commits (all time) y: 336 lines of code internal/apiform/tag.go x: 7 commits (all time) y: 78 lines of code internal/apijson/tag.go x: 6 commits (all time) y: 74 lines of code internal/apijson/enum.go x: 6 commits (all time) y: 115 lines of code internal/apiquery/tag.go x: 4 commits (all time) y: 39 lines of code packages/param/param.go x: 11 commits (all time) y: 93 lines of code packages/respjson/respjson.go x: 4 commits (all time) y: 30 lines of code internal/apijson/subfield.go x: 8 commits (all time) y: 59 lines of code internal/apiquery/richparam.go x: 7 commits (all time) y: 17 lines of code internal/encoding/json/sentinel/null.go x: 5 commits (all time) y: 39 lines of code internal/paramutil/field.go x: 8 commits (all time) y: 25 lines of code packages/param/null.go x: 5 commits (all time) y: 8 lines of code packages/param/option.go x: 12 commits (all time) y: 85 lines of code internal/encoding/json/shims/shims.go x: 3 commits (all time) y: 42 lines of code internal/apijson/registry.go x: 8 commits (all time) y: 40 lines of code internal/apiquery/query.go x: 4 commits (all time) y: 45 lines of code internal/apijson/field.go x: 2 commits (all time) y: 16 lines of code internal/encoding/json/scanner.go x: 1 commits (all time) y: 437 lines of code internal/encoding/json/tables.go x: 1 commits (all time) y: 198 lines of code internal/encoding/json/tags.go x: 1 commits (all time) y: 23 lines of code
959.0
lines of code
  min: 2.0
  average: 173.83
  25th percentile: 28.5
  median: 72.0
  75th percentile: 242.5
  max: 959.0
0 225.0
commits (all time)
min: 1.0 | average: 8.5 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 7.0 | max: 225.0

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

agents_stream.go x: 1 contributors (all time) y: 270 lines of code beta_agents_creation_stream.go x: 1 contributors (all time) y: 19 lines of code beta_agents_result.go x: 1 contributors (all time) y: 229 lines of code packages/ssestream/ssestream.go x: 8 contributors (all time) y: 234 lines of code internal/version.go x: 9 contributors (all time) y: 2 lines of code .castiron.stats.yml x: 5 contributors (all time) y: 8 lines of code responses/code_interpreter_network_policy.go x: 1 contributors (all time) y: 2 lines of code agents_tools.go x: 1 contributors (all time) y: 72 lines of code beta_agents_tool_error.go x: 1 contributors (all time) y: 15 lines of code internal/apiform/encoder.go x: 8 contributors (all time) y: 487 lines of code internal/apiform/richparam.go x: 4 contributors (all time) y: 18 lines of code streamaccumulator.go x: 12 contributors (all time) y: 805 lines of code streamaccumulator_limits.go x: 2 contributors (all time) y: 552 lines of code auth/middleware.go x: 3 contributors (all time) y: 68 lines of code internal/requestconfig/origin.go x: 2 contributors (all time) y: 126 lines of code internal/requestconfig/requestconfig.go x: 13 contributors (all time) y: 764 lines of code internal/requestconfig/websocket.go x: 3 contributors (all time) y: 195 lines of code option/requestoption.go x: 9 contributors (all time) y: 286 lines of code option/unsafe_http.go x: 1 contributors (all time) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 2 contributors (all time) y: 376 lines of code scripts/castiron/custom_code_report.py x: 2 contributors (all time) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 contributors (all time) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 contributors (all time) y: 36 lines of code internal/apierror/apierror.go x: 5 contributors (all time) y: 61 lines of code auth/metadata.go x: 1 contributors (all time) y: 28 lines of code auth/subjecttokenprovider.go x: 3 contributors (all time) y: 245 lines of code azure/azure.go x: 15 contributors (all time) y: 534 lines of code beta_agents_output.go x: 1 contributors (all time) y: 305 lines of code internal/requestconfig/option_layers.go x: 3 contributors (all time) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 contributors (all time) y: 98 lines of code responses/response_accumulator.go x: 1 contributors (all time) y: 345 lines of code responses/response_accumulator_details.go x: 1 contributors (all time) y: 149 lines of code packages/websocket/connection.go x: 1 contributors (all time) y: 433 lines of code internal/apiquery/encoder.go x: 7 contributors (all time) y: 359 lines of code packages/param/encoder.go x: 5 contributors (all time) y: 87 lines of code auth/x509middleware.go x: 2 contributors (all time) y: 107 lines of code auth/x509transport.go x: 2 contributors (all time) y: 788 lines of code internal/requestconfig/clone.go x: 2 contributors (all time) y: 66 lines of code internal/websockettransport/transport.go x: 1 contributors (all time) y: 44 lines of code option/x509workloadidentity.go x: 2 contributors (all time) y: 178 lines of code packages/websocket/dial.go x: 1 contributors (all time) y: 9 lines of code responses/responses_websocket.go x: 1 contributors (all time) y: 217 lines of code packages/pagination/pagination.go x: 4 contributors (all time) y: 433 lines of code .github/dependabot.yml x: 3 contributors (all time) y: 56 lines of code scripts/steady/publish.cjs x: 1 contributors (all time) y: 18 lines of code scripts/steady/update.cjs x: 1 contributors (all time) y: 53 lines of code auth/error.go x: 2 contributors (all time) y: 27 lines of code auth/workloadbearerhistory.go x: 1 contributors (all time) y: 106 lines of code auth/x509workloadidentity.go x: 1 contributors (all time) y: 313 lines of code auth/workloadidentity.go x: 5 contributors (all time) y: 303 lines of code internal/requestconfig/retry_scope.go x: 1 contributors (all time) y: 114 lines of code default_http_client.go x: 4 contributors (all time) y: 15 lines of code streamaccumulator_logprob.go x: 1 contributors (all time) y: 589 lines of code streamaccumulator_ownership.go x: 1 contributors (all time) y: 209 lines of code auth/x509exchange.go x: 1 contributors (all time) y: 273 lines of code bedrock/auth.go x: 3 contributors (all time) y: 531 lines of code .golangci.yml x: 1 contributors (all time) y: 47 lines of code webhooks/webhook_helpers.go x: 1 contributors (all time) y: 111 lines of code chatcompletion_helpers.go x: 1 contributors (all time) y: 39 lines of code polling.go x: 7 contributors (all time) y: 127 lines of code option/middleware.go x: 5 contributors (all time) y: 92 lines of code internal/apijson/decoder.go x: 8 contributors (all time) y: 587 lines of code internal/apijson/union.go x: 5 contributors (all time) y: 191 lines of code internal/encoding/json/decode.go x: 3 contributors (all time) y: 959 lines of code internal/testutil/testutil.go x: 3 contributors (all time) y: 29 lines of code internal/apijson/encoder.go x: 6 contributors (all time) y: 313 lines of code internal/apijson/port.go x: 3 contributors (all time) y: 97 lines of code internal/encoding/json/encode.go x: 6 contributors (all time) y: 932 lines of code internal/paramutil/union.go x: 4 contributors (all time) y: 37 lines of code internal/encoding/json/indent.go x: 2 contributors (all time) y: 141 lines of code internal/encoding/json/opt.go x: 2 contributors (all time) y: 13 lines of code internal/encoding/json/stream.go x: 2 contributors (all time) y: 336 lines of code internal/encoding/json/time.go x: 4 contributors (all time) y: 48 lines of code internal/apiform/tag.go x: 3 contributors (all time) y: 78 lines of code internal/apijson/tag.go x: 3 contributors (all time) y: 74 lines of code internal/apijson/enum.go x: 3 contributors (all time) y: 115 lines of code internal/apiquery/tag.go x: 3 contributors (all time) y: 39 lines of code packages/param/param.go x: 3 contributors (all time) y: 93 lines of code field.go x: 3 contributors (all time) y: 37 lines of code internal/apijson/subfield.go x: 3 contributors (all time) y: 59 lines of code internal/apiquery/richparam.go x: 3 contributors (all time) y: 17 lines of code internal/encoding/json/sentinel/null.go x: 2 contributors (all time) y: 39 lines of code internal/paramutil/field.go x: 3 contributors (all time) y: 25 lines of code packages/param/null.go x: 2 contributors (all time) y: 8 lines of code packages/param/option.go x: 4 contributors (all time) y: 85 lines of code internal/apijson/registry.go x: 4 contributors (all time) y: 40 lines of code internal/apiquery/query.go x: 3 contributors (all time) y: 45 lines of code internal/apijson/field.go x: 2 contributors (all time) y: 16 lines of code internal/encoding/json/scanner.go x: 1 contributors (all time) y: 437 lines of code internal/encoding/json/tables.go x: 1 contributors (all time) y: 198 lines of code internal/encoding/json/tags.go x: 1 contributors (all time) y: 23 lines of code
959.0
lines of code
  min: 2.0
  average: 173.83
  25th percentile: 28.5
  median: 72.0
  75th percentile: 242.5
  max: 959.0
0 15.0
contributors (all time)
min: 1.0 | average: 2.79 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 15.0

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

agents_stream.go x: 5 commits (30d) y: 270 lines of code beta_agents_creation_stream.go x: 1 commits (30d) y: 19 lines of code beta_agents_result.go x: 2 commits (30d) y: 229 lines of code packages/ssestream/ssestream.go x: 2 commits (30d) y: 234 lines of code internal/version.go x: 23 commits (30d) y: 2 lines of code .castiron.stats.yml x: 56 commits (30d) y: 8 lines of code responses/code_interpreter_network_policy.go x: 1 commits (30d) y: 2 lines of code agents_tools.go x: 2 commits (30d) y: 72 lines of code beta_agents_tool_error.go x: 1 commits (30d) y: 15 lines of code internal/apiform/encoder.go x: 1 commits (30d) y: 487 lines of code streamaccumulator.go x: 1 commits (30d) y: 805 lines of code streamaccumulator_limits.go x: 1 commits (30d) y: 552 lines of code auth/middleware.go x: 2 commits (30d) y: 68 lines of code internal/requestconfig/origin.go x: 3 commits (30d) y: 126 lines of code internal/requestconfig/requestconfig.go x: 6 commits (30d) y: 764 lines of code internal/requestconfig/websocket.go x: 4 commits (30d) y: 195 lines of code option/requestoption.go x: 4 commits (30d) y: 286 lines of code option/unsafe_http.go x: 2 commits (30d) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 2 commits (30d) y: 376 lines of code scripts/castiron/custom_code_report.py x: 2 commits (30d) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 commits (30d) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 commits (30d) y: 36 lines of code beta_agents_files.go x: 1 commits (30d) y: 74 lines of code auth/metadata.go x: 1 commits (30d) y: 28 lines of code auth/subjecttokenprovider.go x: 1 commits (30d) y: 245 lines of code azure/azure.go x: 3 commits (30d) y: 534 lines of code beta_agents_output.go x: 1 commits (30d) y: 305 lines of code internal/requestconfig/option_layers.go x: 1 commits (30d) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 commits (30d) y: 98 lines of code responses/response_accumulator.go x: 2 commits (30d) y: 345 lines of code responses/response_accumulator_details.go x: 1 commits (30d) y: 149 lines of code packages/websocket/connection.go x: 2 commits (30d) y: 433 lines of code internal/apiquery/encoder.go x: 2 commits (30d) y: 359 lines of code packages/param/encoder.go x: 1 commits (30d) y: 87 lines of code auth/x509middleware.go x: 1 commits (30d) y: 107 lines of code auth/x509transport.go x: 1 commits (30d) y: 788 lines of code internal/requestconfig/clone.go x: 1 commits (30d) y: 66 lines of code internal/websockettransport/transport.go x: 1 commits (30d) y: 44 lines of code option/websocket.go x: 1 commits (30d) y: 6 lines of code option/x509workloadidentity.go x: 1 commits (30d) y: 178 lines of code packages/websocket/dial.go x: 1 commits (30d) y: 9 lines of code responses/responses_websocket.go x: 1 commits (30d) y: 217 lines of code packages/pagination/pagination.go x: 1 commits (30d) y: 433 lines of code
949.0
lines of code
  min: 2.0
  average: 221.38
  25th percentile: 28.0
  median: 126.0
  75th percentile: 345.0
  max: 949.0
0 56.0
commits (30d)
min: 1.0 | average: 3.26 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 56.0

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

agents_stream.go x: 1 contributors (30d) y: 270 lines of code beta_agents_creation_stream.go x: 1 contributors (30d) y: 19 lines of code beta_agents_result.go x: 1 contributors (30d) y: 229 lines of code packages/ssestream/ssestream.go x: 1 contributors (30d) y: 234 lines of code internal/version.go x: 1 contributors (30d) y: 2 lines of code .castiron.stats.yml x: 5 contributors (30d) y: 8 lines of code agents_tools.go x: 1 contributors (30d) y: 72 lines of code beta_agents_tool_error.go x: 1 contributors (30d) y: 15 lines of code internal/apiform/encoder.go x: 1 contributors (30d) y: 487 lines of code streamaccumulator.go x: 1 contributors (30d) y: 805 lines of code streamaccumulator_limits.go x: 1 contributors (30d) y: 552 lines of code auth/middleware.go x: 1 contributors (30d) y: 68 lines of code internal/requestconfig/origin.go x: 1 contributors (30d) y: 126 lines of code internal/requestconfig/requestconfig.go x: 3 contributors (30d) y: 764 lines of code internal/requestconfig/websocket.go x: 3 contributors (30d) y: 195 lines of code option/requestoption.go x: 3 contributors (30d) y: 286 lines of code option/unsafe_http.go x: 1 contributors (30d) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 2 contributors (30d) y: 376 lines of code scripts/castiron/custom_code_report.py x: 2 contributors (30d) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 contributors (30d) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 contributors (30d) y: 36 lines of code auth/metadata.go x: 1 contributors (30d) y: 28 lines of code auth/subjecttokenprovider.go x: 1 contributors (30d) y: 245 lines of code azure/azure.go x: 1 contributors (30d) y: 534 lines of code beta_agents_output.go x: 1 contributors (30d) y: 305 lines of code internal/requestconfig/option_layers.go x: 1 contributors (30d) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 contributors (30d) y: 98 lines of code responses/response_accumulator.go x: 1 contributors (30d) y: 345 lines of code responses/response_accumulator_details.go x: 1 contributors (30d) y: 149 lines of code packages/websocket/connection.go x: 1 contributors (30d) y: 433 lines of code internal/apiquery/encoder.go x: 2 contributors (30d) y: 359 lines of code packages/param/encoder.go x: 1 contributors (30d) y: 87 lines of code auth/x509middleware.go x: 1 contributors (30d) y: 107 lines of code auth/x509transport.go x: 1 contributors (30d) y: 788 lines of code internal/requestconfig/clone.go x: 1 contributors (30d) y: 66 lines of code internal/websockettransport/transport.go x: 1 contributors (30d) y: 44 lines of code option/x509workloadidentity.go x: 1 contributors (30d) y: 178 lines of code packages/websocket/dial.go x: 1 contributors (30d) y: 9 lines of code responses/responses_websocket.go x: 1 contributors (30d) y: 217 lines of code
949.0
lines of code
  min: 2.0
  average: 221.38
  25th percentile: 28.0
  median: 126.0
  75th percentile: 345.0
  max: 949.0
0 5.0
contributors (30d)
min: 1.0 | average: 1.28 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0

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

agents_stream.go x: 5 commits (90d) y: 270 lines of code beta_agents_creation_stream.go x: 1 commits (90d) y: 19 lines of code beta_agents_result.go x: 2 commits (90d) y: 229 lines of code packages/ssestream/ssestream.go x: 7 commits (90d) y: 234 lines of code internal/version.go x: 39 commits (90d) y: 2 lines of code .castiron.stats.yml x: 85 commits (90d) y: 8 lines of code responses/code_interpreter_network_policy.go x: 1 commits (90d) y: 2 lines of code agents_tools.go x: 2 commits (90d) y: 72 lines of code beta_agents_tool_error.go x: 1 commits (90d) y: 15 lines of code internal/apiform/encoder.go x: 2 commits (90d) y: 487 lines of code internal/apiform/richparam.go x: 1 commits (90d) y: 18 lines of code streamaccumulator.go x: 6 commits (90d) y: 805 lines of code streamaccumulator_limits.go x: 2 commits (90d) y: 552 lines of code auth/middleware.go x: 4 commits (90d) y: 68 lines of code internal/requestconfig/origin.go x: 4 commits (90d) y: 126 lines of code internal/requestconfig/requestconfig.go x: 17 commits (90d) y: 764 lines of code internal/requestconfig/websocket.go x: 4 commits (90d) y: 195 lines of code option/requestoption.go x: 12 commits (90d) y: 286 lines of code option/unsafe_http.go x: 2 commits (90d) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 3 commits (90d) y: 376 lines of code scripts/castiron/custom_code_report.py x: 4 commits (90d) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 commits (90d) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 commits (90d) y: 36 lines of code internal/apierror/apierror.go x: 2 commits (90d) y: 61 lines of code beta_agents_files.go x: 1 commits (90d) y: 74 lines of code auth/metadata.go x: 1 commits (90d) y: 28 lines of code auth/subjecttokenprovider.go x: 3 commits (90d) y: 245 lines of code azure/azure.go x: 9 commits (90d) y: 534 lines of code beta_agents_output.go x: 1 commits (90d) y: 305 lines of code internal/requestconfig/option_layers.go x: 5 commits (90d) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 commits (90d) y: 98 lines of code responses/response_accumulator.go x: 2 commits (90d) y: 345 lines of code responses/response_accumulator_details.go x: 1 commits (90d) y: 149 lines of code packages/websocket/connection.go x: 2 commits (90d) y: 433 lines of code internal/apiquery/encoder.go x: 3 commits (90d) y: 359 lines of code packages/param/encoder.go x: 1 commits (90d) y: 87 lines of code auth/x509middleware.go x: 4 commits (90d) y: 107 lines of code auth/x509transport.go x: 5 commits (90d) y: 788 lines of code internal/requestconfig/clone.go x: 2 commits (90d) y: 66 lines of code internal/websockettransport/transport.go x: 1 commits (90d) y: 44 lines of code option/websocket.go x: 1 commits (90d) y: 6 lines of code option/x509workloadidentity.go x: 5 commits (90d) y: 178 lines of code packages/websocket/dial.go x: 1 commits (90d) y: 9 lines of code responses/responses_websocket.go x: 1 commits (90d) y: 217 lines of code packages/pagination/pagination.go x: 5 commits (90d) y: 433 lines of code .github/dependabot.yml x: 5 commits (90d) y: 56 lines of code scripts/steady/update.cjs x: 1 commits (90d) y: 53 lines of code auth/workloadbearerhistory.go x: 1 commits (90d) y: 106 lines of code auth/x509workloadidentity.go x: 4 commits (90d) y: 313 lines of code auth/workloadidentity.go x: 2 commits (90d) y: 303 lines of code internal/requestconfig/retry_scope.go x: 1 commits (90d) y: 114 lines of code default_http_client.go x: 2 commits (90d) y: 15 lines of code streamaccumulator_logprob.go x: 1 commits (90d) y: 589 lines of code streamaccumulator_ownership.go x: 1 commits (90d) y: 209 lines of code auth/x509exchange.go x: 1 commits (90d) y: 273 lines of code bedrock/auth.go x: 5 commits (90d) y: 531 lines of code .golangci.yml x: 9 commits (90d) y: 47 lines of code webhooks/webhook_helpers.go x: 1 commits (90d) y: 111 lines of code chatcompletion_helpers.go x: 1 commits (90d) y: 39 lines of code polling.go x: 2 commits (90d) y: 127 lines of code vectorstorefilebatch_helpers.go x: 1 commits (90d) y: 47 lines of code option/middleware.go x: 4 commits (90d) y: 92 lines of code internal/apijson/decoder.go x: 2 commits (90d) y: 587 lines of code internal/apijson/union.go x: 2 commits (90d) y: 191 lines of code bedrock/bedrock.go x: 2 commits (90d) y: 34 lines of code internal/encoding/json/decode.go x: 1 commits (90d) y: 959 lines of code internal/apijson/encoder.go x: 1 commits (90d) y: 313 lines of code internal/encoding/json/encode.go x: 1 commits (90d) y: 932 lines of code
959.0
lines of code
  min: 2.0
  average: 205.38
  25th percentile: 28.75
  median: 97.5
  75th percentile: 303.5
  max: 959.0
0 85.0
commits (90d)
min: 1.0 | average: 4.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 85.0

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

agents_stream.go x: 1 contributors (90d) y: 270 lines of code beta_agents_creation_stream.go x: 1 contributors (90d) y: 19 lines of code beta_agents_result.go x: 1 contributors (90d) y: 229 lines of code packages/ssestream/ssestream.go x: 4 contributors (90d) y: 234 lines of code internal/version.go x: 4 contributors (90d) y: 2 lines of code .castiron.stats.yml x: 5 contributors (90d) y: 8 lines of code responses/code_interpreter_network_policy.go x: 1 contributors (90d) y: 2 lines of code agents_tools.go x: 1 contributors (90d) y: 72 lines of code beta_agents_tool_error.go x: 1 contributors (90d) y: 15 lines of code internal/apiform/encoder.go x: 2 contributors (90d) y: 487 lines of code internal/apiform/richparam.go x: 1 contributors (90d) y: 18 lines of code streamaccumulator.go x: 4 contributors (90d) y: 805 lines of code streamaccumulator_limits.go x: 2 contributors (90d) y: 552 lines of code auth/middleware.go x: 2 contributors (90d) y: 68 lines of code internal/requestconfig/origin.go x: 2 contributors (90d) y: 126 lines of code internal/requestconfig/requestconfig.go x: 7 contributors (90d) y: 764 lines of code internal/requestconfig/websocket.go x: 3 contributors (90d) y: 195 lines of code option/requestoption.go x: 5 contributors (90d) y: 286 lines of code option/unsafe_http.go x: 1 contributors (90d) y: 5 lines of code scripts/castiron/custom_code_budget.py x: 2 contributors (90d) y: 376 lines of code scripts/castiron/custom_code_report.py x: 2 contributors (90d) y: 949 lines of code scripts/castiron/custom_code_test_support.py x: 1 contributors (90d) y: 60 lines of code scripts/castiron/fixtures/github_publisher.cjs x: 1 contributors (90d) y: 36 lines of code internal/apierror/apierror.go x: 2 contributors (90d) y: 61 lines of code auth/metadata.go x: 1 contributors (90d) y: 28 lines of code auth/subjecttokenprovider.go x: 2 contributors (90d) y: 245 lines of code azure/azure.go x: 3 contributors (90d) y: 534 lines of code beta_agents_output.go x: 1 contributors (90d) y: 305 lines of code internal/requestconfig/option_layers.go x: 3 contributors (90d) y: 240 lines of code internal/requestconfig/provider_headers.go x: 1 contributors (90d) y: 98 lines of code responses/response_accumulator.go x: 1 contributors (90d) y: 345 lines of code responses/response_accumulator_details.go x: 1 contributors (90d) y: 149 lines of code packages/websocket/connection.go x: 1 contributors (90d) y: 433 lines of code internal/apiquery/encoder.go x: 3 contributors (90d) y: 359 lines of code packages/param/encoder.go x: 1 contributors (90d) y: 87 lines of code auth/x509middleware.go x: 2 contributors (90d) y: 107 lines of code auth/x509transport.go x: 2 contributors (90d) y: 788 lines of code internal/requestconfig/clone.go x: 2 contributors (90d) y: 66 lines of code internal/websockettransport/transport.go x: 1 contributors (90d) y: 44 lines of code option/x509workloadidentity.go x: 2 contributors (90d) y: 178 lines of code packages/websocket/dial.go x: 1 contributors (90d) y: 9 lines of code responses/responses_websocket.go x: 1 contributors (90d) y: 217 lines of code packages/pagination/pagination.go x: 2 contributors (90d) y: 433 lines of code .github/dependabot.yml x: 3 contributors (90d) y: 56 lines of code scripts/steady/update.cjs x: 1 contributors (90d) y: 53 lines of code auth/workloadbearerhistory.go x: 1 contributors (90d) y: 106 lines of code auth/x509workloadidentity.go x: 1 contributors (90d) y: 313 lines of code internal/requestconfig/retry_scope.go x: 1 contributors (90d) y: 114 lines of code default_http_client.go x: 2 contributors (90d) y: 15 lines of code streamaccumulator_logprob.go x: 1 contributors (90d) y: 589 lines of code streamaccumulator_ownership.go x: 1 contributors (90d) y: 209 lines of code auth/x509exchange.go x: 1 contributors (90d) y: 273 lines of code bedrock/auth.go x: 3 contributors (90d) y: 531 lines of code .golangci.yml x: 1 contributors (90d) y: 47 lines of code webhooks/webhook_helpers.go x: 1 contributors (90d) y: 111 lines of code chatcompletion_helpers.go x: 1 contributors (90d) y: 39 lines of code option/middleware.go x: 3 contributors (90d) y: 92 lines of code internal/apijson/decoder.go x: 1 contributors (90d) y: 587 lines of code internal/apijson/union.go x: 2 contributors (90d) y: 191 lines of code internal/encoding/json/decode.go x: 1 contributors (90d) y: 959 lines of code internal/encoding/json/encode.go x: 1 contributors (90d) y: 932 lines of code
959.0
lines of code
  min: 2.0
  average: 205.38
  25th percentile: 28.75
  median: 97.5
  75th percentile: 303.5
  max: 959.0
0 7.0
contributors (90d)
min: 1.0 | average: 1.65 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.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...