Uber / baseweb
A React Component library implementing the Base design language
GitHub Repo
74K
lines of main code
1.1K files
40K
lines of test code
756 files
36K
lines of other code
673 files
61%
main code touched
1 year (45K LOC)
20%
new main code
1 year (15K LOC)
2
recent contributors
past 30 days
6y
age
2,218 days
31K
ts
29K
tsx
1.9K
js
MJS
30
mjs
20
html
WEBMANIFEST
14
webmanifest
9
xml
6
css

github actions
pnpm
npm
yarn
jest


Main Code: 73,769 LOC (1071 files) = TS (41%) + TSX (39%) + JSX (15%) + JS (2%) + MJS (<1%) + HTML (<1%) + WEBMANIFEST (<1%) + XML (<1%) + CSS (<1%)
Secondary code: Test: 40,011 LOC (756); Generated: 0 LOC (0); Build & Deploy: 8,163 LOC (1); Other: 27,369 LOC (672);
Duplication: 12%
File Size: 7% long (>1000 LOC), 56% short (<= 200 LOC)
Unit Size: 23% long (>100 LOC), 29% short (<= 10 LOC)
Conditional Complexity: 8% complex (McCabe index > 50), 48% simple (McCabe index <= 5)
Logical Component Decomposition: primary (5 components)

6 years old

  • 79% of code older than 365 days
  • 38% of code not updated in the past 365 days

0% of code updated more than 50 times

Also see temporal dependencies for files frequently changed in same commits.

Goals: Keep the system simple and easy to change (4)
Straight_Line
Features of interest:
TODOs
6 files

generated by sokrates.dev (configuration) on 2024-04-03