firebase/firebase-ios-sdk
Firebase SDK for Apple App Development
C++★ 6,781+8 that day#5 on trendingE 37.5 health26.52% duplicated
E37.5/100
Duplication23
18.3% in objectivec, swift, cpp, c-header, python, bash, c, cmake, ruby, hcl, javascript, perlDead coden/a
the languages dead code reads are under 5% of the codeComplexity62
34.4%Most complex files
- Firestore/Protos/cpp/google/firestore/v1/firestore.pb.h1952 cx
- Firestore/Protos/cpp/google/firestore/v1/firestore.pb.cc1345 cx
- scripts/cpplint.py1114 cx
- Firestore/Protos/cpp/google/firestore/v1/query.pb.h738 cx
- Firestore/Protos/cpp/google/firestore/v1/query.pb.cc493 cx
- Firestore/Protos/cpp/google/firestore/v1/write.pb.h491 cx
- Firestore/Protos/cpp/google/firestore/v1/document.pb.h448 cx
- Firestore/core/src/core/expressions_eval.cc428 cx
- Firestore/core/src/model/value_util.cc411 cx
- Firestore/Protos/cpp/google/firestore/v1/write.pb.cc348 cx
Dead code 2.17% unused · 8 findings
- scripts/lldb/firestore.pyunused-file
- scripts/cpplint.py:_IncludeErrorunused-symbol
- scripts/cpplint.py:_RE_PATTERN_REF_PARAMunused-symbol
- scripts/cpplint.py:_RE_PATTERN_CONST_REF_PARAMunused-symbol
- scripts/cpplint.py:_RE_PATTERN_REF_STREAM_PARAMunused-symbol
- Firestore/Protos/lib/pretty_printing.py:textwrapunused-import
- Firestore/Protos/lib/pretty_printing.py:FieldDescriptorProtounused-import
- scripts/lib/checker.py:_output_lockunused-symbol
3,839files
786,056lines
5,852,354tokens
12,425clones
208,501duplicated lines (26.52%)
2,030,031duplicated tokens (34.69%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| c-header | 1,061 | 134,369 | 3,237 | 41,360 | 30.78% |
| cpp | 419 | 145,159 | 2,670 | 28,770 | 19.82% |
| objectivec | 853 | 187,484 | 2,583 | 32,393 | 17.28% |
| json | 96 | 95,016 | 2,247 | 84,782 | 89.23% |
| swift | 1,012 | 166,729 | 1,406 | 17,780 | 10.66% |
| yaml | 61 | 6,187 | 66 | 815 | 13.17% |
| txt | 40 | 2,571 | 66 | 781 | 30.38% |
| log | 2 | 673 | 60 | 512 | 76.08% |
| python | 24 | 12,208 | 37 | 536 | 4.39% |
| c | 19 | 6,143 | 17 | 248 | 4.04% |
Largest clones
- 1202 lines · 3,403 tokens jsonFirestore/Example/Tests/SpecTests/json/existence_filter_spec_test.json:933–2134⇆Firestore/Example/Tests/SpecTests/json/existence_filter_spec_test.json:2156–3357
- 545 lines · 1,331 tokens jsonFirestore/Example/Tests/SpecTests/json/write_spec_test.json:4128–4672⇆Firestore/Example/Tests/SpecTests/json/write_spec_test.json:8482–9026
- 17 lines · 958 tokens c-headerFirestore/Source/Public/FirebaseFirestore/FIRFirestore.h:219–235⇆Firestore/Source/Public/FirebaseFirestore/FIRFirestore.h:257–273
- 117 lines · 912 tokens objectivecFirebaseMessaging/Sources/FIRMessaging.m:1192–1308⇆FirebaseMessaging/Sources/FIRMessagingUtilities.m:130–246
- 364 lines · 860 tokens jsonFirestore/Example/Tests/SpecTests/json/limbo_spec_test.json:7911–8274⇆Firestore/Example/Tests/SpecTests/json/limbo_spec_test.json:8449–8812
- 13 lines · 813 tokens c-headerFirestore/Source/Public/FirebaseFirestore/FIRFirestore.h:207–219⇆Firestore/Source/Public/FirebaseFirestore/FIRFirestore.h:243–255
- 335 lines · 788 tokens jsonFirestore/Example/Tests/SpecTests/json/limit_spec_test.json:1484–1818⇆Firestore/Example/Tests/SpecTests/json/limit_spec_test.json:2429–2763
- 17 lines · 762 tokens c-headerFirebaseDatabase/Sources/Public/FirebaseDatabase/FIRDatabaseReference.h:770–786⇆FirebaseDatabase/Sources/Public/FirebaseDatabase/FIRDatabaseReference.h:790–806
- 315 lines · 755 tokens jsonFirestore/Example/Tests/SpecTests/json/limbo_spec_test.json:9642–9956⇆Firestore/Example/Tests/SpecTests/json/limbo_spec_test.json:11273–11587
- 126 lines · 749 tokens objectivecFirebaseStorage/Tests/ObjCIntegration/ObjCAPITests.m:25–150⇆FirebaseStorage/Tests/ObjCIntegration/ObjCPPAPITests.mm:26–151
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Oct 1, 2026 | #5 | 6,781 (+8) | 3,839 | 786,056 | 12,425 | 26.52% | E 37.5 | 5dd4053 |
Want this for your own project? Install jscpd and run jscpd .