spotify / confidence-sdk-swift
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 21% | 32% | 46%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
swift0% | 0% | 21% | 32% | 45%
py0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources0% | 0% | 24% | 31% | 43%
ConfidenceDemoApp0% | 0% | 0% | 48% | 51%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Confidence.swift
in Sources/Confidence
405 2
ConfidenceValue.swift
in Sources/Confidence
209 1
FlagEvaluation.swift
in Sources/Confidence
202 1
EventSenderEngine.swift
in Sources/Confidence
155 12
FlagApplierWithRetries.swift
in Sources/Confidence/Apply
146 1
ContentView.swift
in ConfidenceDemoApp/ConfidenceDemoApp
138 2
ConfidenceFeatureProvider.swift
in Sources/ConfidenceProvider
135 2
134 1
NetworkClient.swift
in Sources/Confidence/Http
132 -
CacheData.swift
in Sources/Confidence/Apply
131 7
RemoteConfidenceClient.swift
in Sources/Confidence
127 1
EventStorage.swift
in Sources/Confidence
124 11
TypeMapper.swift
in Sources/Confidence
100 -
HttpStatusCode.swift
in Sources/Confidence/Http
98 -
87 -
ConfidenceScreenTracker.swift
in Sources/Confidence
87 2
ConfidenceValueHash.swift
in Sources/Confidence
84 3
DebugLogger.swift
in Sources/Confidence
84 12
DefaultStorage.swift
in Sources/Confidence
84 1
ConfidenceDemoApp.swift
in ConfidenceDemoApp/ConfidenceDemoApp
77 1
StructFlagSchema.swift
in Sources/Confidence
74 2
LoginView.swift
in ConfidenceDemoApp/ConfidenceDemoApp
69 1
ConfidenceTypeMapper.swift
in Sources/ConfidenceProvider
67 -
NetowrkValue.swift
in Sources/Confidence
63 -
Backport.swift
in Sources/Confidence
61 -
46 -
HttpClient.swift
in Sources/Confidence/Http
41 2
Extensions.swift
in Sources/Confidence/TestHelpers
40 2
Retry.swift
in Sources/Confidence/Http
38 3
CacheDataInteractor.swift
in Sources/Confidence/Apply
37 7
ConfidenceError.swift
in Sources/Confidence
36 -
34 1
GrpcStatusCode.swift
in Sources/Confidence/TestHelpers
27 -
27 2
ConfidenceClientOptions.swift
in Sources/Confidence
27 -
TaskManager.swift
in Sources/Confidence
24 -
EventStorageInMemory.swift
in Sources/Confidence
21 5
ConfidenceProducer.swift
in Sources/Confidence
20 1
ResolveApply.swift
in Sources/Confidence/Apply
19 2
PayloadMerger.swift
in Sources/Confidence
19 2
ConfidenceClient.swift
in Sources/Confidence
17 2
SizeFlushPolicy.swift
in Sources/Confidence
17 4
VisitorUtil.swift
in Sources/Confidence
16 1
UnfairLock.swift
in Sources/ConfidenceProvider
16 2
ConfidenceEventSender.swift
in Sources/Confidence
15 -
HttpStatusCode+Error.swift
in Sources/Confidence
15 -
ManualFlushPolicy.swift
in Sources/Confidence
14 3
BaseUrlMapper.swift
in Sources/Confidence
13 -
FlagPath.swift
in Sources/Confidence
12 -
FlagApply.swift
in Sources/Confidence/Apply
11 1
Files With Most Units (Top 36)
File# lines# units
EventSenderEngine.swift
in Sources/Confidence
155 12
DebugLogger.swift
in Sources/Confidence
84 12
EventStorage.swift
in Sources/Confidence
124 11
CacheData.swift
in Sources/Confidence/Apply
131 7
CacheDataInteractor.swift
in Sources/Confidence/Apply
37 7
EventStorageInMemory.swift
in Sources/Confidence
21 5
SizeFlushPolicy.swift
in Sources/Confidence
17 4
ConfidenceValueHash.swift
in Sources/Confidence
84 3
Retry.swift
in Sources/Confidence/Http
38 3
ManualFlushPolicy.swift
in Sources/Confidence
14 3
ContentView.swift
in ConfidenceDemoApp/ConfidenceDemoApp
138 2
ResolveApply.swift
in Sources/Confidence/Apply
19 2
ConfidenceClient.swift
in Sources/Confidence
17 2
PayloadMerger.swift
in Sources/Confidence
19 2
Extensions.swift
in Sources/Confidence/TestHelpers
40 2
Confidence.swift
in Sources/Confidence
405 2
HttpClient.swift
in Sources/Confidence/Http
41 2
StructFlagSchema.swift
in Sources/Confidence
74 2
27 2
ConfidenceScreenTracker.swift
in Sources/Confidence
87 2
UnfairLock.swift
in Sources/ConfidenceProvider
16 2
ConfidenceFeatureProvider.swift
in Sources/ConfidenceProvider
135 2
LoginView.swift
in ConfidenceDemoApp/ConfidenceDemoApp
69 1
ConfidenceDemoApp.swift
in ConfidenceDemoApp/ConfidenceDemoApp
77 1
34 1
FlagApply.swift
in Sources/Confidence/Apply
11 1
FlagApplierWithRetries.swift
in Sources/Confidence/Apply
146 1
ConfidenceValue.swift
in Sources/Confidence
209 1
Resolver.swift
in Sources/Confidence
7 1
RemoteConfidenceClient.swift
in Sources/Confidence
127 1
134 1
Array+Chunks.swift
in Sources/Confidence
8 1
VisitorUtil.swift
in Sources/Confidence
16 1
FlagEvaluation.swift
in Sources/Confidence
202 1
DefaultStorage.swift
in Sources/Confidence
84 1
ConfidenceProducer.swift
in Sources/Confidence
20 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
34 1 3
ConfidenceFeatureProvider.swift
in Sources/ConfidenceProvider
135 2 1
Correlations

File Size vs. Commits (all time): 65 points

ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift x: 21 commits (all time) y: 77 lines of code ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift x: 14 commits (all time) y: 138 lines of code ConfidenceDemoApp/ConfidenceDemoApp/LoginView.swift x: 1 commits (all time) y: 69 lines of code Sources/Confidence/Confidence.swift x: 34 commits (all time) y: 405 lines of code Sources/Confidence/ConfidenceEventSender.swift x: 11 commits (all time) y: 15 lines of code Sources/Confidence/DebugLogger.swift x: 6 commits (all time) y: 84 lines of code Sources/Confidence/TaskManager.swift x: 1 commits (all time) y: 24 lines of code Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift x: 56 commits (all time) y: 135 lines of code Sources/Confidence/FlagEvaluation.swift x: 6 commits (all time) y: 202 lines of code Sources/Confidence/ConfidenceScreenTracker.swift x: 4 commits (all time) y: 87 lines of code Sources/Confidence/ConfidenceValueHash.swift x: 2 commits (all time) y: 84 lines of code Sources/Confidence/EventSenderEngine.swift x: 14 commits (all time) y: 155 lines of code Sources/Confidence/EventStorage.swift x: 6 commits (all time) y: 124 lines of code Sources/Confidence/Http/NetworkClient.swift x: 5 commits (all time) y: 132 lines of code Sources/Confidence/ConfidenceClientOptions.swift x: 3 commits (all time) y: 27 lines of code Sources/Confidence/RemoteConfidenceClient.swift x: 4 commits (all time) y: 127 lines of code Sources/Confidence/RemoteResolveConfidenceClient.swift x: 5 commits (all time) y: 134 lines of code Sources/Confidence/ConfidenceProducer.swift x: 4 commits (all time) y: 20 lines of code Sources/Confidence/ConfidenceValue.swift x: 6 commits (all time) y: 209 lines of code Sources/Confidence/ConfidenceMetadata.swift x: 3 commits (all time) y: 9 lines of code Sources/Confidence/FlagPath.swift x: 2 commits (all time) y: 12 lines of code Sources/Confidence/Http/HttpClient.swift x: 3 commits (all time) y: 41 lines of code Sources/Confidence/Http/Retry.swift x: 2 commits (all time) y: 38 lines of code Sources/Confidence/NetowrkValue.swift x: 2 commits (all time) y: 63 lines of code Sources/Confidence/TypeMapper.swift x: 2 commits (all time) y: 100 lines of code scripts/extract_public_funcs.py x: 1 commits (all time) y: 34 lines of code Sources/Confidence/ConfidenceContextProvider.swift x: 3 commits (all time) y: 4 lines of code Sources/Confidence/Apply/FlagApplierWithRetries.swift x: 3 commits (all time) y: 146 lines of code Sources/Confidence/ConfidenceError.swift x: 4 commits (all time) y: 36 lines of code Sources/Confidence/HttpStatusCode+Error.swift x: 2 commits (all time) y: 15 lines of code Sources/ConfidenceProvider/ConfidenceTypeMapper.swift x: 2 commits (all time) y: 67 lines of code Sources/Confidence/ConfidenceAppLifecycleProducer.swift x: 6 commits (all time) y: 87 lines of code Sources/Confidence/PayloadMerger.swift x: 3 commits (all time) y: 19 lines of code Sources/Confidence/ManualFlushPolicy.swift x: 1 commits (all time) y: 14 lines of code Sources/Confidence/BufferedPassthroughSubject.swift x: 1 commits (all time) y: 27 lines of code Package.swift x: 27 commits (all time) y: 46 lines of code Sources/Confidence/Apply/CacheData.swift x: 1 commits (all time) y: 131 lines of code Sources/Confidence/Apply/CacheDataActor.swift x: 1 commits (all time) y: 10 lines of code Sources/Confidence/Apply/CacheDataInteractor.swift x: 1 commits (all time) y: 37 lines of code Sources/Confidence/Apply/FlagApplier.swift x: 1 commits (all time) y: 4 lines of code Sources/Confidence/Apply/FlagApplyStatus.swift x: 1 commits (all time) y: 6 lines of code Sources/Confidence/Apply/ResolveApply.swift x: 1 commits (all time) y: 19 lines of code Sources/Confidence/Array+Chunks.swift x: 1 commits (all time) y: 8 lines of code Sources/Confidence/Backport.swift x: 2 commits (all time) y: 61 lines of code Sources/Confidence/ConfidenceClient.swift x: 1 commits (all time) y: 17 lines of code Sources/Confidence/Http/HttpStatusCode.swift x: 1 commits (all time) y: 98 lines of code Sources/Confidence/Resolver.swift x: 1 commits (all time) y: 7 lines of code Sources/Confidence/StructFlagSchema.swift x: 1 commits (all time) y: 74 lines of code Sources/Confidence/TestHelpers/Extensions.swift x: 1 commits (all time) y: 40 lines of code Sources/Confidence/VisitorUtil.swift x: 2 commits (all time) y: 16 lines of code catalog-info.yaml x: 7 commits (all time) y: 7 lines of code Sources/Confidence/InitializationStrategy.swift x: 2 commits (all time) y: 5 lines of code Sources/Confidence/EventStorageInMemory.swift x: 1 commits (all time) y: 21 lines of code Tools/SwiftFormat/Package.swift x: 2 commits (all time) y: 9 lines of code
405.0
lines of code
  min: 4.0
  average: 58.14
  25th percentile: 11.5
  median: 27.0
  75th percentile: 85.5
  max: 405.0
0 56.0
commits (all time)
min: 1.0 | average: 4.78 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 56.0

File Size vs. Contributors (all time): 65 points

ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift x: 5 contributors (all time) y: 77 lines of code ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift x: 5 contributors (all time) y: 138 lines of code ConfidenceDemoApp/ConfidenceDemoApp/LoginView.swift x: 1 contributors (all time) y: 69 lines of code Sources/Confidence/Confidence.swift x: 4 contributors (all time) y: 405 lines of code Sources/Confidence/ConfidenceEventSender.swift x: 3 contributors (all time) y: 15 lines of code Sources/Confidence/DebugLogger.swift x: 2 contributors (all time) y: 84 lines of code Sources/Confidence/TaskManager.swift x: 1 contributors (all time) y: 24 lines of code Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift x: 6 contributors (all time) y: 135 lines of code Sources/Confidence/FlagEvaluation.swift x: 3 contributors (all time) y: 202 lines of code Sources/Confidence/ConfidenceScreenTracker.swift x: 3 contributors (all time) y: 87 lines of code Sources/Confidence/EventSenderEngine.swift x: 4 contributors (all time) y: 155 lines of code Sources/Confidence/EventStorage.swift x: 3 contributors (all time) y: 124 lines of code Sources/Confidence/Http/NetworkClient.swift x: 4 contributors (all time) y: 132 lines of code Sources/Confidence/ConfidenceClientOptions.swift x: 3 contributors (all time) y: 27 lines of code Sources/Confidence/RemoteConfidenceClient.swift x: 3 contributors (all time) y: 127 lines of code Sources/Confidence/RemoteResolveConfidenceClient.swift x: 4 contributors (all time) y: 134 lines of code Sources/Confidence/ConfidenceProducer.swift x: 2 contributors (all time) y: 20 lines of code Sources/Confidence/ConfidenceValue.swift x: 2 contributors (all time) y: 209 lines of code Sources/Confidence/ConfidenceMetadata.swift x: 3 contributors (all time) y: 9 lines of code Sources/Confidence/FlagPath.swift x: 2 contributors (all time) y: 12 lines of code Sources/Confidence/Http/HttpClient.swift x: 3 contributors (all time) y: 41 lines of code Sources/Confidence/Http/Retry.swift x: 2 contributors (all time) y: 38 lines of code Sources/Confidence/NetowrkValue.swift x: 2 contributors (all time) y: 63 lines of code Sources/Confidence/TypeMapper.swift x: 2 contributors (all time) y: 100 lines of code scripts/extract_public_funcs.py x: 1 contributors (all time) y: 34 lines of code Sources/Confidence/ConfidenceContextProvider.swift x: 1 contributors (all time) y: 4 lines of code Sources/Confidence/Apply/FlagApplierWithRetries.swift x: 3 contributors (all time) y: 146 lines of code Sources/Confidence/ConfidenceError.swift x: 2 contributors (all time) y: 36 lines of code Sources/Confidence/HttpStatusCode+Error.swift x: 2 contributors (all time) y: 15 lines of code Sources/ConfidenceProvider/ConfidenceTypeMapper.swift x: 2 contributors (all time) y: 67 lines of code Sources/Confidence/PayloadMerger.swift x: 2 contributors (all time) y: 19 lines of code Sources/Confidence/ManualFlushPolicy.swift x: 1 contributors (all time) y: 14 lines of code Sources/Confidence/BufferedPassthroughSubject.swift x: 1 contributors (all time) y: 27 lines of code Package.swift x: 5 contributors (all time) y: 46 lines of code Sources/Confidence/Apply/CacheData.swift x: 1 contributors (all time) y: 131 lines of code Sources/Confidence/Apply/CacheDataActor.swift x: 1 contributors (all time) y: 10 lines of code Sources/Confidence/Apply/CacheDataInteractor.swift x: 1 contributors (all time) y: 37 lines of code Sources/Confidence/Apply/FlagApplyStatus.swift x: 1 contributors (all time) y: 6 lines of code Sources/Confidence/Apply/ResolveApply.swift x: 1 contributors (all time) y: 19 lines of code Sources/Confidence/Array+Chunks.swift x: 1 contributors (all time) y: 8 lines of code Sources/Confidence/Backport.swift x: 2 contributors (all time) y: 61 lines of code Sources/Confidence/ConfidenceClient.swift x: 1 contributors (all time) y: 17 lines of code Sources/Confidence/Http/HttpStatusCode.swift x: 1 contributors (all time) y: 98 lines of code Sources/Confidence/Resolver.swift x: 1 contributors (all time) y: 7 lines of code Sources/Confidence/StructFlagSchema.swift x: 1 contributors (all time) y: 74 lines of code Sources/Confidence/TestHelpers/Extensions.swift x: 1 contributors (all time) y: 40 lines of code Sources/Confidence/VisitorUtil.swift x: 2 contributors (all time) y: 16 lines of code catalog-info.yaml x: 4 contributors (all time) y: 7 lines of code Sources/Confidence/EventStorageInMemory.swift x: 1 contributors (all time) y: 21 lines of code Tools/SwiftFormat/Package.swift x: 2 contributors (all time) y: 9 lines of code
405.0
lines of code
  min: 4.0
  average: 58.14
  25th percentile: 11.5
  median: 27.0
  75th percentile: 85.5
  max: 405.0
0 6.0
contributors (all time)
min: 1.0 | average: 2.06 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 14 points

ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift x: 2 commits (90d) y: 77 lines of code ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift x: 1 commits (90d) y: 138 lines of code ConfidenceDemoApp/ConfidenceDemoApp/LoginView.swift x: 1 commits (90d) y: 69 lines of code Sources/Confidence/Confidence.swift x: 4 commits (90d) y: 405 lines of code Sources/Confidence/ConfidenceEventSender.swift x: 1 commits (90d) y: 15 lines of code Sources/Confidence/DebugLogger.swift x: 5 commits (90d) y: 84 lines of code Sources/Confidence/TaskManager.swift x: 1 commits (90d) y: 24 lines of code Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift x: 2 commits (90d) y: 135 lines of code Sources/Confidence/FlagEvaluation.swift x: 3 commits (90d) y: 202 lines of code Sources/Confidence/ConfidenceScreenTracker.swift x: 1 commits (90d) y: 87 lines of code Sources/Confidence/ConfidenceValueHash.swift x: 1 commits (90d) y: 84 lines of code Sources/Confidence/EventSenderEngine.swift x: 1 commits (90d) y: 155 lines of code Sources/Confidence/EventStorage.swift x: 1 commits (90d) y: 124 lines of code Sources/Confidence/Http/NetworkClient.swift x: 1 commits (90d) y: 132 lines of code
405.0
lines of code
  min: 15.0
  average: 123.64
  25th percentile: 75.0
  median: 105.5
  75th percentile: 142.25
  max: 405.0
0 5.0
commits (90d)
min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.25 | max: 5.0

File Size vs. Contributors (90 days): 14 points

ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift x: 1 contributors (90d) y: 77 lines of code ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift x: 1 contributors (90d) y: 138 lines of code ConfidenceDemoApp/ConfidenceDemoApp/LoginView.swift x: 1 contributors (90d) y: 69 lines of code Sources/Confidence/Confidence.swift x: 1 contributors (90d) y: 405 lines of code Sources/Confidence/ConfidenceEventSender.swift x: 1 contributors (90d) y: 15 lines of code Sources/Confidence/DebugLogger.swift x: 2 contributors (90d) y: 84 lines of code Sources/Confidence/TaskManager.swift x: 1 contributors (90d) y: 24 lines of code Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift x: 1 contributors (90d) y: 135 lines of code Sources/Confidence/FlagEvaluation.swift x: 1 contributors (90d) y: 202 lines of code Sources/Confidence/ConfidenceScreenTracker.swift x: 1 contributors (90d) y: 87 lines of code Sources/Confidence/ConfidenceValueHash.swift x: 1 contributors (90d) y: 84 lines of code Sources/Confidence/EventSenderEngine.swift x: 1 contributors (90d) y: 155 lines of code Sources/Confidence/EventStorage.swift x: 1 contributors (90d) y: 124 lines of code Sources/Confidence/Http/NetworkClient.swift x: 1 contributors (90d) y: 132 lines of code
405.0
lines of code
  min: 15.0
  average: 123.64
  25th percentile: 75.0
  median: 105.5
  75th percentile: 142.25
  max: 405.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0