etcd-io/etcd

Distributed reliable key-value store for the most critical data of a distributed system

Go★ 52,634+128 that day#9 on trending

Analyzed November 7, 2026 at d622ec5 (main) with jscpd v5 in 1.7s.

D52.7/100
Project health224,134 lines of code (L)
Duplication54
7.6% in go, bash, makefile, docker
Dead coden/a
no JavaScript, TypeScript, Python or compiler-checked Rust files
Complexity51
48.2%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

1.26%duplicated code · 1,151 of 91,350 lines
112clones in code
539code files of 1,229 scanned
7.77%duplicated over all files · 1,910 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 18 generated files: api/authpb/auth.pb.go, api/etcdserverpb/etcdserver.pb.go, api/etcdserverpb/gw/rpc.pb.gw.go, api/etcdserverpb/raft_internal.pb.go, api/etcdserverpb/rpc_grpc.pb.go, api/etcdserverpb/rpc.pb.go, api/membershippb/membership.pb.go, api/mvccpb/kv.pb.go, api/versionpb/version.pb.go, server/etcdserver/api/snap/snappb/snap.pb.go, server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go, server/etcdserver/api/v3election/v3electionpb/v3election_grpc.pb.go, server/etcdserver/api/v3election/v3electionpb/v3election.pb.go, server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go, server/etcdserver/api/v3lock/v3lockpb/v3lock_grpc.pb.go, server/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go, server/lease/leasepb/lease.pb.go, server/storage/wal/walpb/record.pb.go.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
go50387,1391121,1511.32%
bash364,211000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
go1,003218,8331,69116,9477.74%
markdown6013,0631511,60312.27%
go-module149272218620.06%
json205,204143747.19%
yaml281,7338754.33%
makefile56648548.13%
markup91,40161279.06%
bash515,2794500.95%
text1234544011.59%
txt3583191.54%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 7, 2026#952,634 (+128)1,229250,4631,9107.77%1.26%D 52.7d622ec5

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.