google-gemini / deprecated-generative-ai-js
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 58% | 41%
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% | 0% | 0% | 60% | 39%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 81% | 18%
types0% | 0% | 0% | 19% | 80%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
test-utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
request.ts
in src/requests
191 9
generative-model.ts
in src/models
182 5
stream-reader.ts
in src/requests
178 8
response-helpers.ts
in src/requests
172 5
chat-session.ts
in src/methods
146 3
file-manager.ts
in src/server
146 7
cache-manager.ts
in src/server
145 7
request-helpers.ts
in src/requests
141 6
request.ts
in src/server
130 3
content.ts
in types
110 -
96 2
responses.ts
in types
92 -
requests.ts
in types
89 -
87 -
78 -
gen-ai.ts
in src
77 -
license.ts
in scripts
68 3
enums.ts
in types
59 -
mock-response.ts
in test-utils
49 7
generate-content.ts
in src/methods
46 2
embed-content.ts
in src/methods
45 2
43 -
caching.ts
in types/server
41 -
files.ts
in types/server
36 -
check-format.ts
in scripts
36 1
run-format.ts
in scripts
29 1
errors.ts
in src
28 1
count-tokens.ts
in src/methods
22 1
shared.ts
in types/server
11 -
index.ts
in types/server
11 -
10 1
constants.ts
in src/server
8 -
index.ts
in types
6 -
index.ts
in src
3 -
index.ts
in src/server
3 -
Files With Most Units (Top 19)
File# lines# units
request.ts
in src/requests
191 9
stream-reader.ts
in src/requests
178 8
cache-manager.ts
in src/server
145 7
file-manager.ts
in src/server
146 7
mock-response.ts
in test-utils
49 7
request-helpers.ts
in src/requests
141 6
response-helpers.ts
in src/requests
172 5
generative-model.ts
in src/models
182 5
chat-session.ts
in src/methods
146 3
request.ts
in src/server
130 3
license.ts
in scripts
68 3
96 2
embed-content.ts
in src/methods
45 2
generate-content.ts
in src/methods
46 2
errors.ts
in src
28 1
count-tokens.ts
in src/methods
22 1
check-format.ts
in scripts
36 1
run-format.ts
in scripts
29 1
10 1
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
request-helpers.ts
in src/requests
141 6 1