Uber / RIBs
Uber's cross-platform mobile architecture framework.
GitHub Repo
19K
lines of main code
516 files
3.3K
lines of test code
67 files
7.9K
lines of other code
267 files
59%
main code touched
1 year (11K LOC)
21%
new main code
1 year (4.1K LOC)
1
recent contributors
past 30 days
6y
age
2,372 days
6.5K
swift
5.6K
java
5.3K
kt
854
xml
134
toml
130
js
3
h

travis
github actions
npm
gradle
podfile


Main Code: 18,845 LOC (516 files) = SWIFT (34%) + JAVA (29%) + KT (27%) + XML (4%) + KTS (1%) + TOML (<1%) + JS (<1%) + H (<1%)
Secondary code: Test: 3,270 LOC (67); Generated: 0 LOC (0); Build & Deploy: 858 LOC (31); Other: 7,025 LOC (236);
Duplication: 47%
File Size: 0% long (>1000 LOC), 92% short (<= 200 LOC)
Unit Size: 0% long (>100 LOC), 82% short (<= 10 LOC)
Conditional Complexity: 0% complex (McCabe index > 50), 89% simple (McCabe index <= 5)
Logical Component Decomposition: primary (3 components)

6 years, 6 months old

  • 78% of code older than 365 days
  • 40% 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
106 files

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