File Size Overall
  • There are 14 files with 1,500 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (639 lines of code)
    • 1 medium size files (425 lines of code)
    • 1 small files (150 lines of code)
    • 11 very small files (286 lines of code)
0% | 42% | 28% | 10% | 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
ts0% | 51% | 34% | 12% | 2%
tsx0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 52% | 35% | 12% | 0%
islands0% | 0% | 0% | 0% | 100%
components0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
routes0% | 0% | 0% | 0% | 100%
static0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
thing.ts
in lib
639 46
game.ts
in lib
425 -
state.ts
in lib
150 3
Recipe.tsx
in islands
87 -
Game.tsx
in islands
75 -
Form.tsx
in components
38 -
Layout.tsx
in islands
26 1
20 -
_app.tsx
in routes
17 -
index.tsx
in routes
8 1
main.ts
in root
5 -
4 -
dev.ts
in root
3 -
style.css
in static
3 -
Files With Most Units (Top 4)
File# lines# units
thing.ts
in lib
639 46
state.ts
in lib
150 3
Layout.tsx
in islands
26 1
index.tsx
in routes
8 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 24 long lines.

File# lines# units# long lines
state.ts
in lib
150 3 7
thing.ts
in lib
639 46 6
Recipe.tsx
in islands
87 - 4
game.ts
in lib
425 - 3
Game.tsx
in islands
75 - 2
Form.tsx
in components
38 - 1
_app.tsx
in routes
17 - 1
Correlations

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

lib/game.ts x: 14 commits (all time) y: 425 lines of code lib/thing.ts x: 3 commits (all time) y: 639 lines of code components/Form.tsx x: 5 commits (all time) y: 38 lines of code islands/Game.tsx x: 9 commits (all time) y: 75 lines of code islands/Recipe.tsx x: 3 commits (all time) y: 87 lines of code lib/state.ts x: 1 commits (all time) y: 150 lines of code routes/_app.tsx x: 2 commits (all time) y: 17 lines of code fresh.gen.ts x: 2 commits (all time) y: 20 lines of code islands/Layout.tsx x: 1 commits (all time) y: 26 lines of code routes/index.tsx x: 3 commits (all time) y: 8 lines of code static/style.css x: 1 commits (all time) y: 3 lines of code
639.0
lines of code
  min: 3.0
  average: 135.27
  25th percentile: 17.0
  median: 38.0
  75th percentile: 150.0
  max: 639.0
0 14.0
commits (all time)
min: 1.0 | average: 4.0 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 14.0

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

lib/game.ts x: 2 contributors (all time) y: 425 lines of code lib/thing.ts x: 2 contributors (all time) y: 639 lines of code components/Form.tsx x: 1 contributors (all time) y: 38 lines of code islands/Game.tsx x: 1 contributors (all time) y: 75 lines of code islands/Recipe.tsx x: 1 contributors (all time) y: 87 lines of code lib/state.ts x: 1 contributors (all time) y: 150 lines of code routes/_app.tsx x: 1 contributors (all time) y: 17 lines of code fresh.gen.ts x: 1 contributors (all time) y: 20 lines of code islands/Layout.tsx x: 1 contributors (all time) y: 26 lines of code routes/index.tsx x: 1 contributors (all time) y: 8 lines of code static/style.css x: 1 contributors (all time) y: 3 lines of code
639.0
lines of code
  min: 3.0
  average: 135.27
  25th percentile: 17.0
  median: 38.0
  75th percentile: 150.0
  max: 639.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.18 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.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...