apache / shardingsphere-on-cloud
A collection of tools and best practices to take ShardingSphere into the cloud
GitHub Repo
57K
lines of main code
295 files
7.8K
lines of test code
56 files
4K
lines of other code
46 files
100%
main code touched
1 year (57K LOC)
95%
new main code
1 year (55K LOC)
3
recent contributors
past 30 days
1y
age
481 days
38K
go
7.7K
yaml
6.3K
rs
2.3K
g4
834
js
751
tf
527
java
349
rb
35
toml
TPL
19
tpl

github actions
maven
npm
make
docker
helm


Main Code: 57,073 LOC (295 files) = GO (65%) + YAML (13%) + RS (10%) + G4 (4%) + JS (1%) + TF (1%) + YML (1%) + JAVA (<1%) + RB (<1%) + TOML (<1%) + TPL (<1%)
Secondary code: Test: 7,824 LOC (56); Generated: 46 LOC (1); Build & Deploy: 66 LOC (2); Other: 3,934 LOC (43);
Duplication: 36%
File Size: 42% long (>1000 LOC), 27% short (<= 200 LOC)
Unit Size: 1% long (>100 LOC), 61% short (<= 10 LOC)
Conditional Complexity: <1% complex (McCabe index > 50), 82% simple (McCabe index <= 5)
Logical Component Decomposition: primary (7 components)

1 year, 3 months old

  • 4% of code older than 365 days
  • 0% 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 2023-08-11; reference date: 2023-08-08