Uber / piranha
A tool for refactoring code related to feature flag APIs
GitHub Repo
16K
lines of main code
123 files
23K
lines of test code
358 files
12K
lines of other code
128 files
71%
main code touched
1 year (12K LOC)
28%
new main code
1 year (4.6K LOC)
1
recent contributors
past 30 days
5y
age
1,913 days
4.6K
toml
3.7K
rs
2.3K
java
2.2K
py
1.2K
js
925
swift
618
cpp
156
html
152
css
PYI
150
pyi
6
go
IN
2
in
1
yml

github actions
npm
yarn
gradle


Main Code: 16,036 LOC (123 files) = TOML (28%) + RS (23%) + JAVA (14%) + PY (13%) + JS (7%) + SWIFT (5%) + CPP (3%) + HTML (<1%) + CSS (<1%) + PYI (<1%) + GO (<1%) + IN (<1%) + YML (<1%)
Secondary code: Test: 23,425 LOC (358); Generated: 4,026 LOC (7); Build & Deploy: 535 LOC (13); Other: 7,861 LOC (108);
Duplication: 20%
File Size: 14% long (>1000 LOC), 38% short (<= 200 LOC)
Unit Size: 1% long (>100 LOC), 54% short (<= 10 LOC)
Conditional Complexity: 2% complex (McCabe index > 50), 60% simple (McCabe index <= 5)
Logical Component Decomposition: primary (6 components)

5 years, 2 months old

  • 71% of code older than 365 days
  • 28% 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
15 files

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