apache / incubator-pegasus
Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
GitHub Repo
139K
lines of main code
931 files
63K
lines of test code
357 files
23K
lines of other code
266 files
86%
main code touched
1 year (120K LOC)
11%
new main code
1 year (16K LOC)
3
recent contributors
past 30 days
8y
age
3,080 days
75K
cpp
32K
h
11K
go
9.9K
java
2.8K
py
1.9K
js
1.6K
thrift
823
scala
693
cmake
249
xml
26
sbt
5
yml

github actions
maven
npm
sbt
make
docker


Main Code: 138,590 LOC (931 files) = CPP (54%) + H (23%) + GO (8%) + JAVA (7%) + PY (2%) + JS (1%) + C (1%) + THRIFT (1%) + SCALA (<1%) + CMAKE (<1%) + XML (<1%) + SBT (<1%) + YML (<1%)
Secondary code: Test: 63,124 LOC (357); Generated: 0 LOC (0); Build & Deploy: 5,660 LOC (55); Other: 17,594 LOC (211);
Duplication: 7%
File Size: 19% long (>1000 LOC), 35% short (<= 200 LOC)
Unit Size: 12% long (>100 LOC), 37% short (<= 10 LOC)
Conditional Complexity: 7% complex (McCabe index > 50), 53% simple (McCabe index <= 5)
Logical Component Decomposition: primary (11 components)

8 years, 5 months old

  • 88% of code older than 365 days
  • 13% of code not updated in the past 365 days

6% 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
58 files

generated by sokrates.dev (configuration) on 2023-08-10; reference date: 2023-08-08