id: 1 unit: func evaluate() file: Sources/Confidence/FlagEvaluation.swift start line: 28 end line: 133 size: 99 LOC McCabe index: 8 number of parameters: 5 id: 2 unit: func upload() file: Sources/Confidence/RemoteConfidenceClient.swift start line: 35 end line: 97 size: 59 LOC McCabe index: 6 number of parameters: 1 id: 3 unit: func hashValue() file: Sources/Confidence/ConfidenceValueHash.swift start line: 24 end line: 70 size: 39 LOC McCabe index: 16 number of parameters: 2 id: 4 unit: func upload() file: Sources/Confidence/EventSenderEngine.swift start line: 92 end line: 123 size: 31 LOC McCabe index: 6 number of parameters: 0 id: 5 unit: init() file: ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift start line: 15 end line: 45 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 6 unit: def extract_public_api() file: scripts/extract_public_funcs.py start line: 0 end line: 0 size: 24 LOC McCabe index: 17 number of parameters: 2 id: 7 unit: func toProviderEvaluation() file: Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift start line: 133 end line: 155 size: 23 LOC McCabe index: 7 number of parameters: 0 id: 8 unit: func eventsFrom() file: Sources/Confidence/EventStorage.swift start line: 73 end line: 93 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: mutating func add() file: Sources/Confidence/Apply/CacheData.swift start line: 68 end line: 90 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 10 unit: mutating func remove() file: Sources/Confidence/Apply/CacheData.swift start line: 104 end line: 127 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 11 unit: func logResolveDebugURL() file: Sources/Confidence/DebugLogger.swift start line: 23 end line: 41 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 12 unit: func encode() file: Sources/Confidence/StructFlagSchema.swift start line: 30 end line: 48 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 13 unit: func updateContext() file: Sources/Confidence/Confidence.swift start line: 342 end line: 358 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 14 unit: init() file: Sources/Confidence/ConfidenceValue.swift start line: 11 end line: 26 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 15 unit: func read() file: Sources/Confidence/DefaultStorage.swift start line: 65 end line: 82 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: func getContext() file: Sources/Confidence/Confidence.swift start line: 360 end line: 373 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: func add() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 10 end line: 22 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 18 unit: func writeEvent() file: Sources/Confidence/EventStorage.swift start line: 46 end line: 58 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: func startNewBatch() file: Sources/Confidence/EventStorage.swift start line: 33 end line: 44 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 20 unit: func emit() file: Sources/Confidence/EventSenderEngine.swift start line: 136 end line: 147 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 21 unit: func batchReadyIds() file: Sources/Confidence/EventStorage.swift start line: 61 end line: 71 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: func getId() file: Sources/Confidence/VisitorUtil.swift start line: 6 end line: 16 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: func withSemaphore() file: Sources/Confidence/EventSenderEngine.swift start line: 125 end line: 134 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: func mapStatusToError() file: Sources/Confidence/Http/HttpClient.swift start line: 37 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: func publisher() file: Sources/Confidence/BufferedPassthroughSubject.swift start line: 20 end line: 29 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: mutating func remove() file: Sources/Confidence/Apply/CacheData.swift start line: 92 end line: 102 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: func hashConfidenceValue() file: Sources/Confidence/ConfidenceValueHash.swift start line: 10 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: func emit() file: Sources/Confidence/EventSenderEngine.swift start line: 11 end line: 20 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 29 unit: func send() file: Sources/Confidence/BufferedPassthroughSubject.swift start line: 10 end line: 18 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: func flagEvent() file: Sources/Confidence/Apply/CacheData.swift start line: 129 end line: 137 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 31 unit: func remove() file: Sources/Confidence/EventStorage.swift start line: 95 end line: 102 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func merge() file: Sources/Confidence/PayloadMerger.swift start line: 8 end line: 15 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: func logEvent() file: Sources/Confidence/DebugLogger.swift start line: 5 end line: 13 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: func handler() file: Sources/Confidence/Http/Retry.swift start line: 7 end line: 14 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 35 unit: func asyncForEach() file: Sources/Confidence/Apply/FlagApplierWithRetries.swift start line: 163 end line: 169 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func startNewBatch() file: Sources/Confidence/EventStorage.swift start line: 11 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: init() file: Sources/Confidence/EventStorage.swift start line: 25 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: func sink() file: Sources/Confidence/EventSenderEngine.swift start line: 163 end line: 169 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: func toCacheData() file: Sources/Confidence/TestHelpers/Extensions.swift start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: func logMessage() file: Sources/Confidence/DebugLogger.swift start line: 6 end line: 13 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: func shutdown() file: Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift start line: 67 end line: 73 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 42 unit: func writeEvent() file: Sources/Confidence/EventStorage.swift start line: 12 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: func shutdown() file: Sources/Confidence/EventSenderEngine.swift start line: 154 end line: 159 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: func logFlags() file: Sources/Confidence/DebugLogger.swift start line: 7 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: init() file: Sources/Confidence/Apply/FlagApply.swift start line: 8 end line: 12 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: init() file: Sources/Confidence/Apply/CacheData.swift start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 47 unit: func batchReadyIds() file: Sources/Confidence/EventStorage.swift start line: 13 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: func reset() file: Sources/Confidence/EventSenderEngine.swift start line: 5 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: func chunk() file: Sources/Confidence/Array+Chunks.swift start line: 4 end line: 8 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func logFlags() file: Sources/Confidence/DebugLogger.swift start line: 8 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: func locked() file: Sources/ConfidenceProvider/UnfairLock.swift start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: func applyEventExists() file: Sources/Confidence/Apply/CacheData.swift start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: init() file: Sources/Confidence/Apply/ResolveApply.swift start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: init() file: Sources/Confidence/Apply/ResolveApply.swift start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: func setEventStatus() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: func setEventStatus() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: func eventsFrom() file: Sources/Confidence/EventStorage.swift start line: 14 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func startNewBatch() file: Sources/Confidence/EventStorageInMemory.swift start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: func hit() file: Sources/Confidence/EventSenderEngine.swift start line: 6 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func shutdown() file: Sources/Confidence/EventSenderEngine.swift start line: 16 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: func flush() file: Sources/Confidence/EventSenderEngine.swift start line: 149 end line: 152 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: init() file: Sources/Confidence/RemoteResolveConfidenceClient.swift start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: func logContext() file: Sources/Confidence/DebugLogger.swift start line: 9 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: init() file: Sources/Confidence/DebugLogger.swift start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: init() file: Sources/Confidence/Http/Retry.swift start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: func encode() file: Sources/Confidence/StructFlagSchema.swift start line: 75 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: init() file: Sources/ConfidenceProvider/UnfairLock.swift start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: init() file: ConfidenceDemoApp/ConfidenceDemoApp/LoginView.swift start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: init() file: ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: init() file: ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: init() file: Sources/Confidence/Apply/CacheData.swift start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: init() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: func remove() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: func remove() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func applyEventExists() file: Sources/Confidence/Apply/CacheDataInteractor.swift start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: func remove() file: Sources/Confidence/EventStorage.swift start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func upload() file: Sources/Confidence/ConfidenceClient.swift start line: 5 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func resolve() file: Sources/Confidence/ConfidenceClient.swift start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func hash() file: Sources/Confidence/ConfidenceValueHash.swift start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func merge() file: Sources/Confidence/PayloadMerger.swift start line: 4 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: func writeEvent() file: Sources/Confidence/EventStorageInMemory.swift start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func batchReadyIds() file: Sources/Confidence/EventStorageInMemory.swift start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: func eventsFrom() file: Sources/Confidence/EventStorageInMemory.swift start line: 19 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func remove() file: Sources/Confidence/EventStorageInMemory.swift start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func shouldFlush() file: Sources/Confidence/EventSenderEngine.swift start line: 7 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: func flush() file: Sources/Confidence/EventSenderEngine.swift start line: 17 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: func resolve() file: Sources/Confidence/Resolver.swift start line: 3 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: func async() file: Sources/Confidence/TestHelpers/Extensions.swift start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func logResolveDebugURL() file: Sources/Confidence/DebugLogger.swift start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: func logEvent() file: Sources/Confidence/DebugLogger.swift start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: func logFlags() file: Sources/Confidence/DebugLogger.swift start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: func logFlags() file: Sources/Confidence/DebugLogger.swift start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: func logContext() file: Sources/Confidence/DebugLogger.swift start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: init() file: Sources/Confidence/SizeFlushPolicy.swift start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func reset() file: Sources/Confidence/SizeFlushPolicy.swift start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: func hit() file: Sources/Confidence/SizeFlushPolicy.swift start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func shouldFlush() file: Sources/Confidence/SizeFlushPolicy.swift start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: func post() file: Sources/Confidence/Http/HttpClient.swift start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: func retryIn() file: Sources/Confidence/Http/Retry.swift start line: 18 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: func reset() file: Sources/Confidence/ManualFlushPolicy.swift start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: func hit() file: Sources/Confidence/ManualFlushPolicy.swift start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func shouldFlush() file: Sources/Confidence/ManualFlushPolicy.swift start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: func produceContexts() file: Sources/Confidence/ConfidenceProducer.swift start line: 29 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: func trackName() file: Sources/Confidence/ConfidenceScreenTracker.swift start line: 62 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: func trackMessage() file: Sources/Confidence/ConfidenceScreenTracker.swift start line: 66 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0