File Size Overall
  • There are 50 files with 5,006 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,306 lines of code)
    • 4 medium size files (1,155 lines of code)
    • 11 small files (1,593 lines of code)
    • 33 very small files (952 lines of code)
0% | 26% | 23% | 31% | 19%
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
tsx0% | 44% | 30% | 14% | 10%
ts0% | 0% | 12% | 55% | 32%
css0% | 0% | 0% | 100% | 0%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
components0% | 45% | 31% | 14% | 7%
utils0% | 0% | 58% | 0% | 41%
app0% | 0% | 0% | 65% | 34%
hooks0% | 0% | 0% | 67% | 32%
services0% | 0% | 0% | 100% | 0%
lib0% | 0% | 0% | 97% | 2%
ROOT0% | 0% | 0% | 0% | 100%
ui0% | 0% | 0% | 0% | 100%
types0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
App.tsx
in components
729 3
VideoForm.tsx
in components
577 -
VideoCard.tsx
in components
392 1
297 -
video.ts
in utils
242 -
field.tsx
in components/ui
224 10
195 -
soraApi.ts
in services
192 -
sora.ts
in lib
185 3
VideoSidebar.tsx
in components
162 -
input-group.tsx
in components/ui
134 -
select.tsx
in components/ui
130 -
route.ts
in app/api/generate-video
128 1
route.ts
in app/api/generate-images
118 1
route.ts
in app/api/suggest-prompt
118 1
118 -
113 -
image.ts
in utils
81 -
empty.tsx
in components/ui
81 -
74 -
65 1
route.ts
in app/api/videos/[id]
58 1
route.ts
in app/api/video-title
53 1
route.ts
in app/api/remix-video
51 4
48 -
46 -
button.tsx
in components/ui
46 -
route.ts
in app/api/videos/[id]/content
45 1
44 -
titles.ts
in utils
41 -
30 -
tooltip.tsx
in components/ui
24 -
21 -
separator.tsx
in components/ui
20 -
16 -
label.tsx
in components/ui
15 -
textarea.tsx
in components/ui
14 -
input.tsx
in components/ui
13 -
6 -
6 -
6 -
6 -
6 -
6 -
6 -
generated.ts
in types
6 -
utils.ts
in lib
5 1
5 -
page.tsx
in app
4 -
4 -
Files With Most Units (Top 13)
File# lines# units
field.tsx
in components/ui
224 10
route.ts
in app/api/remix-video
51 4
App.tsx
in components
729 3
sora.ts
in lib
185 3
65 1
route.ts
in app/api/generate-images
118 1
route.ts
in app/api/videos/[id]/content
45 1
route.ts
in app/api/videos/[id]
58 1
route.ts
in app/api/generate-video
128 1
route.ts
in app/api/video-title
53 1
route.ts
in app/api/suggest-prompt
118 1
VideoCard.tsx
in components
392 1
utils.ts
in lib
5 1
Files With Long Lines (Top 23)

There are 23 files with lines longer than 120 characters. In total, there are 59 long lines.

File# lines# units# long lines
VideoForm.tsx
in components
577 - 10
VideoCard.tsx
in components
392 1 8
field.tsx
in components/ui
224 10 7
select.tsx
in components/ui
130 - 4
App.tsx
in components
729 3 4
297 - 4
empty.tsx
in components/ui
81 - 3
video.ts
in utils
242 - 2
input-group.tsx
in components/ui
134 - 2
195 - 2
6 - 1
6 - 1
6 - 1
route.ts
in app/api/video-title
53 1 1
route.ts
in app/api/suggest-prompt
118 1 1
titles.ts
in utils
41 - 1
label.tsx
in components/ui
15 - 1
tooltip.tsx
in components/ui
24 - 1
separator.tsx
in components/ui
20 - 1
button.tsx
in components/ui
46 - 1
textarea.tsx
in components/ui
14 - 1
input.tsx
in components/ui
13 - 1
VideoSidebar.tsx
in components
162 - 1
Correlations

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

No data for "commits (all time)" vs. "lines of code".

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

No data for "contributors (all time)" vs. "lines of code".


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...