firebase/firebase-ios-sdk

Firebase SDK for Apple App Development

C++★ 6,884+112 that day#2 on trending

Analyzed October 2, 2026 at fbeeaa4 (main) with jscpd 5.4.0 in 3.1s. Code duplication went from 15.27% on Oct 1 to 15.28% on Oct 2.

E37.5/100
Project health662,648 lines of code (L)
Duplication23
18.3% in objectivec, swift, cpp, c-header, python, bash, c, cmake, ruby, hcl, javascript, perl
Dead coden/a
the languages dead code reads are under 5% of the code
Complexity62
34.4%

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

15.28%duplicated code · 76,817 of 502,829 lines
6,208clones in code
3,128code files of 3,839 scanned
26.53%duplicated over all files · 12,427 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 102 generated files: Crashlytics/Protogen/nanopb/crashlytics.nanopb.c, Crashlytics/Protogen/nanopb/crashlytics.nanopb.h, FirebaseInAppMessaging/Sources/Analytics/Protogen/nanopb/fiam.nanopb.c, FirebaseInAppMessaging/Sources/Analytics/Protogen/nanopb/fiam.nanopb.h, FirebaseMessaging/Sources/Protogen/nanopb/me.nanopb.c, FirebaseMessaging/Sources/Protogen/nanopb/me.nanopb.h, FirebasePerformance/Sources/Protogen/nanopb/perf_metric.nanopb.c, FirebasePerformance/Sources/Protogen/nanopb/perf_metric.nanopb.h, FirebaseSessions/SourcesObjC/Protogen/nanopb/sessions.nanopb.c, FirebaseSessions/SourcesObjC/Protogen/nanopb/sessions.nanopb.h, Firestore/Protos/cpp/firestore/bundle.pb.cc, Firestore/Protos/cpp/firestore/bundle.pb.h, Firestore/Protos/cpp/firestore/local/maybe_document.pb.cc, Firestore/Protos/cpp/firestore/local/maybe_document.pb.h, Firestore/Protos/cpp/firestore/local/mutation.pb.cc, Firestore/Protos/cpp/firestore/local/mutation.pb.h, Firestore/Protos/cpp/firestore/local/target.pb.cc, Firestore/Protos/cpp/firestore/local/target.pb.h, Firestore/Protos/cpp/google/api/annotations.pb.cc, Firestore/Protos/cpp/google/api/annotations.pb.h and 82 more.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
objectivec838185,9272,55832,09417.26%
c-header97780,9881,92922,19227.4%
swift1,001166,2821,40517,76610.68%
cpp19744,0352804,1759.48%
python2211,725304463.8%
bash696,1423921.5%
c145,5903520.93%
ruby81,737000%
javascript1229000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
c-header1,061134,3693,23741,36030.78%
cpp419145,1592,67028,77019.82%
objectivec853187,5972,58532,43917.29%
json9695,0162,24784,78289.23%
swift1,012166,7631,40617,78010.66%
yaml616,1876681513.17%
txt402,5716678130.38%
log26736051276.08%
python2412,208375364.39%
c196,143172484.04%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 2, 2026#26,884 (+112)3,839786,16712,42726.53%15.28%E 37.5fbeeaa4
Oct 1, 2026#56,781 (+8)3,839786,01212,42526.53%15.27%E 37.55dd4053

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