Uber / base-design-docs
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 55% | 15% | 29%
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% | 52% | 19% | 27%
ts0% | 0% | 71% | 0% | 28%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
components0% | 0% | 51% | 29% | 19%
pages0% | 0% | 57% | 0% | 42%
lib0% | 0% | 66% | 0% | 33%
public0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
238 3
icons.tsx
in components
237 9
api.ts
in lib
235 5
header.tsx
in components
221 3
layout.tsx
in components
153 1
search.tsx
in components
113 3
side-navigation.tsx
in components
96 1
index.tsx
in pages
86 1
74 -
63 1
types.ts
in lib
34 -
_app.tsx
in pages
30 -
gtag.ts
in lib
25 -
hooks.ts
in lib
24 2
theme.tsx
in lib
22 -
fonts.css
in public
16 -
12 -
styles.css
in root
11 -
Files With Most Units (Top 10)
File# lines# units
icons.tsx
in components
237 9
api.ts
in lib
235 5
search.tsx
in components
113 3
header.tsx
in components
221 3
238 3
hooks.ts
in lib
24 2
layout.tsx
in components
153 1
side-navigation.tsx
in components
96 1
index.tsx
in pages
86 1
63 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 8 long lines.

File# lines# units# long lines
icons.tsx
in components
237 9 7
index.tsx
in pages
86 1 1
Correlations

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

lib/api.ts x: 12 commits (all time) y: 235 lines of code lib/types.ts x: 6 commits (all time) y: 34 lines of code components/side-navigation.tsx x: 7 commits (all time) y: 96 lines of code pages/[pageKey].tsx x: 6 commits (all time) y: 238 lines of code components/icons.tsx x: 4 commits (all time) y: 237 lines of code components/layout.tsx x: 9 commits (all time) y: 153 lines of code lib/hooks.ts x: 1 commits (all time) y: 24 lines of code pages/index.tsx x: 13 commits (all time) y: 86 lines of code components/search.tsx x: 4 commits (all time) y: 113 lines of code components/bottom-navigation.tsx x: 2 commits (all time) y: 74 lines of code components/header.tsx x: 5 commits (all time) y: 221 lines of code lib/theme.tsx x: 1 commits (all time) y: 22 lines of code pages/_app.tsx x: 4 commits (all time) y: 30 lines of code styles.css x: 2 commits (all time) y: 11 lines of code pages/_document.tsx x: 4 commits (all time) y: 63 lines of code lib/gtag.ts x: 1 commits (all time) y: 25 lines of code lib/styletron.ts x: 1 commits (all time) y: 12 lines of code public/fonts.css x: 2 commits (all time) y: 16 lines of code
238.0
lines of code
  min: 11.0
  average: 93.89
  25th percentile: 23.5
  median: 68.5
  75th percentile: 170.0
  max: 238.0
0 13.0
commits (all time)
min: 1.0 | average: 4.67 | 25th percentile: 1.75 | median: 4.0 | 75th percentile: 6.25 | max: 13.0

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

lib/api.ts x: 3 contributors (all time) y: 235 lines of code lib/types.ts x: 2 contributors (all time) y: 34 lines of code components/side-navigation.tsx x: 2 contributors (all time) y: 96 lines of code pages/[pageKey].tsx x: 2 contributors (all time) y: 238 lines of code components/icons.tsx x: 1 contributors (all time) y: 237 lines of code components/layout.tsx x: 1 contributors (all time) y: 153 lines of code lib/hooks.ts x: 1 contributors (all time) y: 24 lines of code pages/index.tsx x: 2 contributors (all time) y: 86 lines of code components/search.tsx x: 2 contributors (all time) y: 113 lines of code components/bottom-navigation.tsx x: 1 contributors (all time) y: 74 lines of code components/header.tsx x: 1 contributors (all time) y: 221 lines of code lib/theme.tsx x: 1 contributors (all time) y: 22 lines of code pages/_app.tsx x: 1 contributors (all time) y: 30 lines of code styles.css x: 1 contributors (all time) y: 11 lines of code pages/_document.tsx x: 1 contributors (all time) y: 63 lines of code lib/gtag.ts x: 1 contributors (all time) y: 25 lines of code lib/styletron.ts x: 1 contributors (all time) y: 12 lines of code public/fonts.css x: 2 contributors (all time) y: 16 lines of code
238.0
lines of code
  min: 11.0
  average: 93.89
  25th percentile: 23.5
  median: 68.5
  75th percentile: 170.0
  max: 238.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.44 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.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".