File Size Overall
  • There are 21 files with 1,115 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 4 small files (569 lines of code)
    • 17 very small files (546 lines of code)
0% | 0% | 0% | 51% | 48%
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% | 0% | 0% | 50% | 49%
ts0% | 0% | 0% | 69% | 30%
css0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app0% | 0% | 0% | 74% | 25%
components0% | 0% | 0% | 41% | 58%
ROOT0% | 0% | 0% | 0% | 100%
lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
route.ts
in app/api/image
195 -
page.tsx
in app
137 -
ImageUpload.tsx
in components
127 1
sheet.tsx
in components/ui
110 -
98 -
77 -
card.tsx
in components/ui
71 -
61 -
50 -
button.tsx
in components/ui
45 -
34 -
popover.tsx
in components/ui
25 -
textarea.tsx
in components/ui
14 -
input.tsx
in components/ui
13 -
providers.tsx
in components
13 -
12 -
12 -
types.ts
in lib
8 -
7 -
utils.ts
in lib
5 1
1 -
Files With Most Units (Top 2)
File# lines# units
ImageUpload.tsx
in components
127 1
utils.ts
in lib
5 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
sheet.tsx
in components/ui
110 - 5
page.tsx
in app
137 - 1
popover.tsx
in components/ui
25 - 1
button.tsx
in components/ui
45 - 1
textarea.tsx
in components/ui
14 - 1
input.tsx
in components/ui
13 - 1
Correlations

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

app/api/image/route.ts x: 10 commits (all time) y: 195 lines of code components/ImagePromptInput.tsx x: 6 commits (all time) y: 50 lines of code components/ImageResultDisplay.tsx x: 6 commits (all time) y: 98 lines of code app/page.tsx x: 4 commits (all time) y: 137 lines of code components/ImageUpload.tsx x: 8 commits (all time) y: 127 lines of code app/globals.css x: 2 commits (all time) y: 77 lines of code app/layout.tsx x: 2 commits (all time) y: 34 lines of code components/providers.tsx x: 2 commits (all time) y: 13 lines of code components/ui/button.tsx x: 2 commits (all time) y: 45 lines of code components/ui/card.tsx x: 2 commits (all time) y: 71 lines of code components/ui/popover.tsx x: 2 commits (all time) y: 25 lines of code components/ui/sheet.tsx x: 2 commits (all time) y: 110 lines of code components/ui/textarea.tsx x: 2 commits (all time) y: 14 lines of code empty-module.ts x: 2 commits (all time) y: 1 lines of code eslint.config.mjs x: 2 commits (all time) y: 12 lines of code lib/types.ts x: 2 commits (all time) y: 8 lines of code lib/utils.ts x: 2 commits (all time) y: 5 lines of code postcss.config.mjs x: 2 commits (all time) y: 7 lines of code tailwind.config.ts x: 2 commits (all time) y: 61 lines of code
195.0
lines of code
  min: 1.0
  average: 53.1
  25th percentile: 12.0
  median: 34.0
  75th percentile: 87.5
  max: 195.0
0 10.0
commits (all time)
min: 2.0 | average: 3.14 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 10.0

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

app/api/image/route.ts x: 3 contributors (all time) y: 195 lines of code components/ImagePromptInput.tsx x: 3 contributors (all time) y: 50 lines of code components/ImageResultDisplay.tsx x: 3 contributors (all time) y: 98 lines of code app/page.tsx x: 3 contributors (all time) y: 137 lines of code components/ImageUpload.tsx x: 4 contributors (all time) y: 127 lines of code app/globals.css x: 2 contributors (all time) y: 77 lines of code app/layout.tsx x: 2 contributors (all time) y: 34 lines of code components/providers.tsx x: 2 contributors (all time) y: 13 lines of code components/ui/button.tsx x: 2 contributors (all time) y: 45 lines of code components/ui/card.tsx x: 2 contributors (all time) y: 71 lines of code components/ui/popover.tsx x: 2 contributors (all time) y: 25 lines of code components/ui/sheet.tsx x: 2 contributors (all time) y: 110 lines of code components/ui/textarea.tsx x: 2 contributors (all time) y: 14 lines of code empty-module.ts x: 2 contributors (all time) y: 1 lines of code eslint.config.mjs x: 2 contributors (all time) y: 12 lines of code lib/types.ts x: 2 contributors (all time) y: 8 lines of code lib/utils.ts x: 2 contributors (all time) y: 5 lines of code postcss.config.mjs x: 2 contributors (all time) y: 7 lines of code tailwind.config.ts x: 2 contributors (all time) y: 61 lines of code
195.0
lines of code
  min: 1.0
  average: 53.1
  25th percentile: 12.0
  median: 34.0
  75th percentile: 87.5
  max: 195.0
0 4.0
contributors (all time)
min: 2.0 | average: 2.29 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.5 | max: 4.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...