uber / uber-direct-sdk-samples
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 20% | 79%
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
yaml0% | 0% | 0% | 100% | 0%
tsx0% | 0% | 0% | 12% | 87%
ts0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
vanilla-js0% | 0% | 0% | 78% | 21%
next.js0% | 0% | 0% | 9% | 90%
Longest Files (Top 43)
File# lines# units
config.yaml
in vanilla-js
200 -
index.tsx
in next.js/src/pages/deliveries/create-quote-with-map
116 1
use-map-options.ts
in next.js/src/hooks
87 -
index.tsx
in next.js/src/pages
78 -
global.css
in next.js/src
76 -
index.tsx
in next.js/src/pages/deliveries/get-delivery-detailed
71 -
index.tsx
in next.js/src/pages/deliveries/create-delivery-basic
68 -
use-map-directions.ts
in next.js/src/hooks
63 -
index.tsx
in next.js/src/pages/deliveries/create-quote-basic
63 -
index.tsx
in next.js/src/pages/deliveries/get-delivery-basic
62 -
location-input.tsx
in next.js/src/pages/deliveries/create-quote-with-map
62 -
code-block.tsx
in next.js/src/components
42 -
loading.tsx
in next.js/src/components
36 -
form.tsx
in next.js/src/pages/deliveries/create-quote-with-map
34 -
use-map-bounds.ts
in next.js/src/hooks
33 -
form.tsx
in next.js/src/pages/deliveries/create-delivery-basic
32 -
delivery-card.tsx
in next.js/src/components
31 -
header.tsx
in next.js/src/components
29 -
tabs.tsx
in next.js/src/components
29 -
run-example.js
in vanilla-js/scripts
26 -
_app.tsx
in next.js/src/pages
26 -
map.tsx
in next.js/src/components
24 -
_document.tsx
in next.js/src/pages
23 -
index.ts
in next.js/src/pages/api/google/directions
18 1
[deliveryId].ts
in next.js/src/pages/api/uber-direct/get-delivery
17 1
form.tsx
in next.js/src/pages/deliveries/create-quote-basic
17 -
card.tsx
in next.js/src/components
16 -
index.ts
in next.js/src/pages/api/uber-direct/create-delivery
16 1
index.ts
in next.js/src/pages/api/uber-direct/create-quote
16 1
help.js
in vanilla-js/scripts
15 -
index.ts
in next.js/src/pages/api/uber-direct/auth
14 1
form.tsx
in next.js/src/pages/deliveries/get-delivery-detailed
14 -
form.tsx
in next.js/src/pages/deliveries/get-delivery-basic
14 -
typewriter.js
in vanilla-js/scripts
13 -
polyline.tsx
in next.js/src/components
11 -
styletron.ts
in next.js/src
11 -
container.tsx
in next.js/src/components
8 -
pre.tsx
in next.js/src/components
8 -
next.config.js
in next.js
7 -
column.tsx
in next.js/src/components
5 -
row.tsx
in next.js/src/components
5 -
index.ts
in next.js/src/hooks
4 -
utils.ts
in next.js/src
1 -
Files With Most Units (Top 6)
File# lines# units
index.ts
in next.js/src/pages/api/google/directions
18 1
index.ts
in next.js/src/pages/api/uber-direct/create-delivery
16 1
[deliveryId].ts
in next.js/src/pages/api/uber-direct/get-delivery
17 1
index.ts
in next.js/src/pages/api/uber-direct/create-quote
16 1
index.ts
in next.js/src/pages/api/uber-direct/auth
14 1
index.tsx
in next.js/src/pages/deliveries/create-quote-with-map
116 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
config.yaml
in vanilla-js
200 - 9
run-example.js
in vanilla-js/scripts
26 - 1
index.tsx
in next.js/src/pages/deliveries/create-delivery-basic
68 - 1
Correlations

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

next.js/next.config.js x: 2 commits (all time) y: 7 lines of code vanilla-js/config.yaml x: 5 commits (all time) y: 200 lines of code vanilla-js/scripts/run-example.js x: 3 commits (all time) y: 26 lines of code next.js/src/pages/api/uber-direct/auth/index.ts x: 2 commits (all time) y: 14 lines of code next.js/src/pages/api/uber-direct/create-delivery/index.ts x: 2 commits (all time) y: 16 lines of code next.js/src/pages/api/uber-direct/get-delivery/[deliveryId].ts x: 2 commits (all time) y: 17 lines of code vanilla-js/scripts/help.js x: 1 commits (all time) y: 15 lines of code vanilla-js/scripts/typewriter.js x: 1 commits (all time) y: 13 lines of code next.js/src/components/card.tsx x: 1 commits (all time) y: 16 lines of code next.js/src/components/code-block.tsx x: 1 commits (all time) y: 42 lines of code next.js/src/components/column.tsx x: 1 commits (all time) y: 5 lines of code next.js/src/components/container.tsx x: 1 commits (all time) y: 8 lines of code next.js/src/components/delivery-card.tsx x: 1 commits (all time) y: 31 lines of code next.js/src/components/header.tsx x: 1 commits (all time) y: 29 lines of code next.js/src/components/loading.tsx x: 1 commits (all time) y: 36 lines of code next.js/src/components/map.tsx x: 1 commits (all time) y: 24 lines of code next.js/src/components/polyline.tsx x: 1 commits (all time) y: 11 lines of code next.js/src/global.css x: 1 commits (all time) y: 76 lines of code next.js/src/hooks/index.ts x: 1 commits (all time) y: 4 lines of code next.js/src/hooks/use-map-bounds.ts x: 1 commits (all time) y: 33 lines of code next.js/src/hooks/use-map-directions.ts x: 1 commits (all time) y: 63 lines of code next.js/src/hooks/use-map-options.ts x: 1 commits (all time) y: 87 lines of code next.js/src/pages/_app.tsx x: 1 commits (all time) y: 26 lines of code next.js/src/pages/_document.tsx x: 1 commits (all time) y: 23 lines of code next.js/src/pages/api/google/directions/index.ts x: 1 commits (all time) y: 18 lines of code next.js/src/pages/deliveries/create-delivery-basic/form.tsx x: 1 commits (all time) y: 32 lines of code next.js/src/pages/deliveries/create-delivery-basic/index.tsx x: 1 commits (all time) y: 68 lines of code next.js/src/pages/deliveries/create-quote-basic/form.tsx x: 1 commits (all time) y: 17 lines of code next.js/src/pages/deliveries/create-quote-with-map/form.tsx x: 1 commits (all time) y: 34 lines of code next.js/src/pages/deliveries/create-quote-with-map/index.tsx x: 1 commits (all time) y: 116 lines of code next.js/src/pages/deliveries/create-quote-with-map/location-input.tsx x: 1 commits (all time) y: 62 lines of code next.js/src/pages/deliveries/get-delivery-basic/form.tsx x: 1 commits (all time) y: 14 lines of code next.js/src/pages/deliveries/get-delivery-detailed/index.tsx x: 1 commits (all time) y: 71 lines of code next.js/src/pages/index.tsx x: 1 commits (all time) y: 78 lines of code next.js/src/utils.ts x: 1 commits (all time) y: 1 lines of code
200.0
lines of code
  min: 1.0
  average: 35.84
  25th percentile: 14.0
  median: 24.0
  75th percentile: 62.0
  max: 200.0
0 5.0
commits (all time)
min: 1.0 | average: 1.26 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0

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

next.js/next.config.js x: 2 contributors (all time) y: 7 lines of code vanilla-js/config.yaml x: 2 contributors (all time) y: 200 lines of code vanilla-js/scripts/run-example.js x: 3 contributors (all time) y: 26 lines of code next.js/src/pages/api/uber-direct/auth/index.ts x: 2 contributors (all time) y: 14 lines of code next.js/src/pages/api/uber-direct/create-delivery/index.ts x: 2 contributors (all time) y: 16 lines of code next.js/src/pages/api/uber-direct/get-delivery/[deliveryId].ts x: 2 contributors (all time) y: 17 lines of code vanilla-js/scripts/help.js x: 1 contributors (all time) y: 15 lines of code vanilla-js/scripts/typewriter.js x: 1 contributors (all time) y: 13 lines of code next.js/src/components/card.tsx x: 1 contributors (all time) y: 16 lines of code next.js/src/components/code-block.tsx x: 1 contributors (all time) y: 42 lines of code next.js/src/components/column.tsx x: 1 contributors (all time) y: 5 lines of code next.js/src/components/container.tsx x: 1 contributors (all time) y: 8 lines of code next.js/src/components/delivery-card.tsx x: 1 contributors (all time) y: 31 lines of code next.js/src/components/header.tsx x: 1 contributors (all time) y: 29 lines of code next.js/src/components/loading.tsx x: 1 contributors (all time) y: 36 lines of code next.js/src/components/map.tsx x: 1 contributors (all time) y: 24 lines of code next.js/src/components/polyline.tsx x: 1 contributors (all time) y: 11 lines of code next.js/src/global.css x: 1 contributors (all time) y: 76 lines of code next.js/src/hooks/index.ts x: 1 contributors (all time) y: 4 lines of code next.js/src/hooks/use-map-bounds.ts x: 1 contributors (all time) y: 33 lines of code next.js/src/hooks/use-map-directions.ts x: 1 contributors (all time) y: 63 lines of code next.js/src/hooks/use-map-options.ts x: 1 contributors (all time) y: 87 lines of code next.js/src/pages/_app.tsx x: 1 contributors (all time) y: 26 lines of code next.js/src/pages/_document.tsx x: 1 contributors (all time) y: 23 lines of code next.js/src/pages/api/google/directions/index.ts x: 1 contributors (all time) y: 18 lines of code next.js/src/pages/deliveries/create-delivery-basic/form.tsx x: 1 contributors (all time) y: 32 lines of code next.js/src/pages/deliveries/create-delivery-basic/index.tsx x: 1 contributors (all time) y: 68 lines of code next.js/src/pages/deliveries/create-quote-basic/form.tsx x: 1 contributors (all time) y: 17 lines of code next.js/src/pages/deliveries/create-quote-with-map/form.tsx x: 1 contributors (all time) y: 34 lines of code next.js/src/pages/deliveries/create-quote-with-map/index.tsx x: 1 contributors (all time) y: 116 lines of code next.js/src/pages/deliveries/create-quote-with-map/location-input.tsx x: 1 contributors (all time) y: 62 lines of code next.js/src/pages/deliveries/get-delivery-basic/form.tsx x: 1 contributors (all time) y: 14 lines of code next.js/src/pages/deliveries/get-delivery-detailed/index.tsx x: 1 contributors (all time) y: 71 lines of code next.js/src/pages/index.tsx x: 1 contributors (all time) y: 78 lines of code next.js/src/utils.ts x: 1 contributors (all time) y: 1 lines of code
200.0
lines of code
  min: 1.0
  average: 35.84
  25th percentile: 14.0
  median: 24.0
  75th percentile: 62.0
  max: 200.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.19 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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): 1 points

next.js/next.config.js x: 1 commits (90d) y: 7 lines of code
7.0
lines of code
  min: 7.0
  average: 7.0
  25th percentile: 7.0
  median: 7.0
  75th percentile: 7.0
  max: 7.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 1 points

next.js/next.config.js x: 1 contributors (90d) y: 7 lines of code
7.0
lines of code
  min: 7.0
  average: 7.0
  25th percentile: 7.0
  median: 7.0
  75th percentile: 7.0
  max: 7.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0