id: 1 unit: constructor() file: notificationworkerlambda/cdk/lib/senderworker.ts start line: 37 end line: 220 size: 169 LOC McCabe index: 15 number of parameters: 3 id: 2 unit: constructor() file: cdk/lib/registrations-db-proxy.ts start line: 24 end line: 111 size: 83 LOC McCabe index: 2 number of parameters: 3 id: 3 unit: constructor() file: cdk/lib/slo-monitoring.ts start line: 17 end line: 106 size: 79 LOC McCabe index: 1 number of parameters: 3 id: 4 unit: private def footballMatchStatusAndroidNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 106 end line: 181 size: 73 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: private def newsstandPayload() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 146 end line: 213 size: 66 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: def sendNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/ApnsClient.scala start line: 44 end line: 113 size: 61 LOC McCabe index: 6 number of parameters: 4 id: 7 unit: constructor() file: notificationworkerlambda/cdk/lib/senderworker.ts start line: 224 end line: 307 size: 60 LOC McCabe index: 1 number of parameters: 3 id: 8 unit: def processNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 102 end line: 161 size: 59 LOC McCabe index: 7 number of parameters: 2 id: 9 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/CustomProperty.scala start line: 13 end line: 73 size: 57 LOC McCabe index: 1 number of parameters: 2 id: 10 unit: def generateQueryString() file: slomonitor/src/main/scala/com.gu.notifications.slos/SloMonitor.scala start line: 88 end line: 143 size: 55 LOC McCabe index: 2 number of parameters: 2 id: 11 unit: def send() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/DeliveryService.scala start line: 32 end line: 86 size: 50 LOC McCabe index: 9 number of parameters: 2 id: 12 unit: def fetchTopFrontAsBreakingNews() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/TopUkRegularStory.scala start line: 38 end line: 81 size: 42 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: override def getByTypeWithDateRange() file: common/src/main/scala/tracking/NotificationReportRepository.scala start line: 34 end line: 81 size: 41 LOC McCabe index: 8 number of parameters: 3 id: 14 unit: def build() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 15 end line: 57 size: 40 LOC McCabe index: 2 number of parameters: 4 id: 15 unit: def pushTopics: Action[Notification] = authAction.async() file: notification/app/notification/controllers/Main.scala start line: 68 end line: 109 size: 40 LOC McCabe index: 12 number of parameters: 1 id: 16 unit: private def footballMatchStatusPayload() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 107 end line: 144 size: 38 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: private def breakingNewsAndroidNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 45 end line: 85 size: 36 LOC McCabe index: 4 number of parameters: 2 id: 18 unit: override def sendNotification() file: notification/app/notification/services/guardian/GuardianNotificationSender.scala start line: 36 end line: 71 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: def logInfo[A]() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Logging.scala start line: 41 end line: 75 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: override def writes() file: registration/app/registration/models/LegacyRegistration.scala start line: 26 end line: 61 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: def send() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationsApiClient.scala start line: 23 end line: 59 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 22 unit: override def register() file: registration/app/registration/services/DatabaseRegistrar.scala start line: 21 end line: 56 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: def handleRequest() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaMetrics.scala start line: 76 end line: 111 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: override def findTokens() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 80 end line: 113 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 25 unit: private def addS3PartitionsToAthenaIndex() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaMetrics.scala start line: 30 end line: 60 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 26 unit: def apply() file: schedulelambda/src/main/scala/com/gu/notificationschedule/notifications/RequestNotification.scala start line: 28 end line: 59 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 27 unit: private def mainMessage() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 96 end line: 133 size: 29 LOC McCabe index: 8 number of parameters: 5 id: 28 unit: def fetchFirebase() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 114 end line: 143 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 29 unit: def sendAsync() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 106 end line: 133 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 30 unit: def apply() file: common/src/main/scala/utils/LruCache.scala start line: 36 end line: 64 size: 27 LOC McCabe index: 9 number of parameters: 1 id: 31 unit: def tryToMatchWithCapiArticle() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/ArticleSearcher.scala start line: 14 end line: 43 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: def toRegistration() file: registration/app/registration/services/LegacyRegistrationConverter.scala start line: 11 end line: 41 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 33 unit: def buildMetricsForPlatform() file: slomonitor/src/main/scala/com.gu.notifications.slos/SloMonitor.scala start line: 47 end line: 75 size: 26 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: def buildComponents() file: common/src/main/scala/utils/CustomApplicationLoader.scala start line: 13 end line: 41 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 35 unit: private def breakingNewsPayload() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 59 end line: 83 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: def aggregatePoints() file: common/src/main/scala/metrics/MetricActor.scala start line: 60 end line: 87 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 37 unit: private def fromAttributeValue() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 24 end line: 49 size: 25 LOC McCabe index: 9 number of parameters: 1 id: 38 unit: private def extractNotifications() file: reportextractor/src/main/scala/com/gu/notifications/extractor/Lambda.scala start line: 113 end line: 146 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: def sendNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 58 end line: 83 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 40 unit: override def addHeader() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/oktransport/OkGoogleHttpRequest.scala start line: 18 end line: 45 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: def matchIdsInProgress() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/FootballData.scala start line: 70 end line: 102 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 42 unit: def lambda() file: build.sbt start line: 252 end line: 274 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 43 unit: def create() file: common/src/main/scala/models/NotificationReport.scala start line: 33 end line: 57 size: 23 LOC McCabe index: 5 number of parameters: 6 id: 44 unit: def handleMessage() file: slomonitor/src/main/scala/com.gu.notifications.slos/SloMonitor.scala start line: 145 end line: 166 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: private def emptyMatchEvent = MatchEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/SyntheticMatchEventGenerator.scala start line: 41 end line: 63 size: 22 LOC McCabe index: 3 number of parameters: 13 id: 46 unit: private def readSentTime() file: eventconsumer/src/main/scala/com/gu/notifications/events/dynamo/DynamoReportUpdater.scala start line: 46 end line: 68 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 47 unit: private def perfMetricDatum() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 47 end line: 68 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: implicit def mapToContext() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Logging.scala start line: 18 end line: 39 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: private def contentPayload() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 85 end line: 105 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: private def registerCommon() file: registration/app/registration/controllers/Main.scala start line: 70 end line: 93 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: def parseSendResponse() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 85 end line: 104 size: 20 LOC McCabe index: 9 number of parameters: 4 id: 52 unit: def logger: Logger = LoggerFactory.getLogger() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/TopicCounterLambda.scala start line: 16 end line: 40 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: def insertNotification() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/DynamoDistinctCheck.scala start line: 41 end line: 61 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 54 unit: private def jdbcConfig() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 75 end line: 93 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: def fetchApns() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 95 end line: 112 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 110 end line: 127 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/ApnsClient.scala start line: 120 end line: 139 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: def sendABatch() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 57 end line: 76 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: def handler() file: football/src/main/scala/com/gu/mobile/notifications/football/Lambda.scala start line: 86 end line: 109 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 60 unit: private def extractNotificationsByDay() file: reportextractor/src/main/scala/com/gu/notifications/extractor/Lambda.scala start line: 94 end line: 111 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: def sendLatencyMetrics() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 70 end line: 86 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 62 unit: def queueShardedNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 84 end line: 100 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 63 unit: private def contentAndroidNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 87 end line: 104 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Payloads.scala start line: 108 end line: 126 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: def this() file: schedulelambda/src/main/scala/com/gu/notificationschedule/ProcessNotificationScheduleLambda.scala start line: 61 end line: 79 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 66 unit: private def aggregatePointsPerNamespaceBatches() file: common/src/main/scala/metrics/MetricActor.scala start line: 41 end line: 58 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 67 unit: def fromEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 39 end line: 55 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: def prepareBatch() file: notification/app/notification/services/guardian/GuardianNotificationSender.scala start line: 103 end line: 120 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 69 unit: def notifications() file: report/app/report/controllers/Report.scala start line: 28 end line: 44 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 70 unit: private def countDatum() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 29 end line: 45 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 71 unit: def sendPerformanceMetrics() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 88 end line: 103 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 72 unit: def sendFailures() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 105 end line: 120 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: def platformSink() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 58 end line: 74 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 74 unit: private def addHeadersToRequest() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/oktransport/OkGoogleHttpRequest.scala start line: 82 end line: 99 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: final def sendMetricsSoFar() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 79 end line: 94 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 76 unit: private def aggregatePointsPerMetric() file: common/src/main/scala/metrics/MetricActor.scala start line: 20 end line: 39 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: private def filterNotification() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/EventFilter.scala start line: 22 end line: 37 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 78 unit: def aggregateResultCounts() file: eventconsumer/src/main/scala/com/gu/notifications/events/model/AggregationCounts.scala start line: 18 end line: 33 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: private def updateSetEvent() file: eventconsumer/src/main/scala/com/gu/notifications/events/dynamo/DynamoReportUpdater.scala start line: 28 end line: 44 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: def fromNotification() file: notification/app/notification/services/frontend/NewsAlert.scala start line: 28 end line: 43 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 81 unit: def softPurge() file: notification/app/notification/services/FastlyPurge.scala start line: 17 end line: 33 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: private def pushGeneric() file: notification/app/notification/controllers/Main.scala start line: 120 end line: 135 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 83 unit: private def topics() file: registration/app/registration/services/LegacyRegistrationConverter.scala start line: 56 end line: 73 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 84 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 17 end line: 32 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: def fetchQueryResponse[T]() file: commoneventconsumer/src/main/scala/com/gu/notifications/athena/Athena.scala start line: 68 end line: 83 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 86 unit: def create() file: common/src/main/scala/models/NotificationReport.scala start line: 59 end line: 73 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: def insert() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 52 end line: 66 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: def transformTeamName() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 59 end line: 77 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 89 unit: def process[E, R]() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/Batch.scala start line: 8 end line: 24 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: def requestToFuture[T]() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/NotificationClient.scala start line: 16 end line: 31 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 91 unit: def sendNotification() file: notification/app/notification/services/azure/NewsstandSender.scala start line: 18 end line: 32 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: def sendNotification() file: notification/app/notification/services/NewsstandSender.scala start line: 18 end line: 32 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: override def sending() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/SqsDeliveryService.scala start line: 54 end line: 68 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: override def deliverChunkedTokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/AndroidSender.scala start line: 59 end line: 72 size: 14 LOC McCabe index: 3 number of parameters: 6 id: 95 unit: def handleChunkTokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/SenderRequestHandler.scala start line: 98 end line: 113 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 96 unit: def fromString() file: common/src/main/scala/models/TopicType.scala start line: 27 end line: 40 size: 14 LOC McCabe index: 13 number of parameters: 1 id: 97 unit: def register() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/FakeRegistrations.scala start line: 56 end line: 69 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 98 unit: def handleRequest() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/FakeBreakingNewsLambda.scala start line: 43 end line: 57 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: private def sendAsBreakingNewsAlert() file: notification/app/notification/services/frontend/FrontendAlerts.scala start line: 44 end line: 57 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 100 unit: private def fetchConfiguration() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 54 end line: 66 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: override def getAwsRequestId() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/NotificationWorkerLocalRun.scala start line: 55 end line: 68 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 102 unit: def env = Env() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/SenderRequestHandler.scala start line: 31 end line: 46 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 103 unit: def transactorAndDataSource[F[_] : Async]() file: common/src/main/scala/db/DatabaseConfig.scala start line: 31 end line: 44 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: def pollFootballData() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/FootballData.scala start line: 54 end line: 68 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 105 unit: private def routeFromQueryToUpdateDynamoDb() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaMetrics.scala start line: 62 end line: 74 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 106 unit: override def validApiKey() file: notification/app/notification/authentication/NotificationAuthAction.scala start line: 14 end line: 28 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 107 unit: def sendBreakingNewsAlert() file: notification/app/notification/services/frontend/FrontendAlerts.scala start line: 20 end line: 32 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: def scheduleNotification() file: notification/app/notification/controllers/Schedule.scala start line: 16 end line: 28 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: def toRegistration() file: registration/app/registration/services/LegacyNewsstandRegistrationConverter.scala start line: 15 end line: 26 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: def collectBatchLatency() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 73 end line: 86 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 111 unit: def send() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/SqsDeliveryService.scala start line: 32 end line: 45 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: def tokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/TokenService.scala start line: 28 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 113 unit: override def tokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/TokenService.scala start line: 42 end line: 54 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 114 unit: private def createBody() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 51 end line: 62 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: def send() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/DeliveryService.scala start line: 17 end line: 29 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: def deliverChunkedTokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/SenderRequestHandler.scala start line: 85 end line: 96 size: 12 LOC McCabe index: 2 number of parameters: 6 id: 117 unit: override def onError() file: commoneventconsumer/src/main/scala/com/gu/notifications/athena/Athena.scala start line: 33 end line: 47 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: override def reads() file: common/src/main/scala/models/Notification.scala start line: 35 end line: 46 size: 12 LOC McCabe index: 9 number of parameters: 1 id: 119 unit: override def getByUuid() file: common/src/main/scala/tracking/NotificationReportRepository.scala start line: 83 end line: 95 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 120 unit: def receiveEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/EventConsumer.scala start line: 19 end line: 30 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 121 unit: override def post() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationHttpProvider.scala start line: 11 end line: 22 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 122 unit: def GET() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/PaFootballClient.scala start line: 20 end line: 34 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def aggregateForCloudWatch() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 53 end line: 63 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 124 unit: private[fcm] def handleResponse() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 94 end line: 104 size: 11 LOC McCabe index: 9 number of parameters: 1 id: 125 unit: override def deliverIndividualNotificationStream() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/AndroidSender.scala start line: 75 end line: 85 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 126 unit: private def sendNotificationAndStoreSent() file: schedulelambda/src/main/scala/com/gu/notificationschedule/ProcessNotificationScheduleLambda.scala start line: 101 end line: 113 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 127 unit: def fromToken() file: common/src/main/scala/db/Registration.scala start line: 35 end line: 46 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: override def topicCounts() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 68 end line: 78 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: override def update() file: common/src/main/scala/tracking/NotificationReportRepository.scala start line: 97 end line: 107 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: private def parseS3Object() file: common/src/main/scala/aws/S3.scala start line: 41 end line: 51 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 131 unit: def parse() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationsApiClient.scala start line: 61 end line: 72 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 132 unit: def apply() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/DynamoDistinctCheck.scala start line: 19 end line: 30 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: def getZonedDateTime() file: football/src/main/scala/com/gu/mobile/notifications/football/Lambda.scala start line: 65 end line: 75 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 134 unit: def shard() file: notification/app/notification/services/guardian/GuardianNotificationSender.scala start line: 90 end line: 101 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 135 unit: private def prepareReportAndSendPush() file: notification/app/notification/controllers/Main.scala start line: 147 end line: 157 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 136 unit: private def isMatchEnded() file: registration/app/registration/auditor/FootballMatchAuditor.scala start line: 41 end line: 50 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 137 unit: def fromResponse() file: registration/app/registration/services/LegacyRegistrationConverter.scala start line: 43 end line: 54 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: private def registerWithConverter[T]() file: registration/app/registration/controllers/Main.scala start line: 58 end line: 68 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: private def processResponse[T]() file: registration/app/registration/controllers/Main.scala start line: 95 end line: 105 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 140 unit: def handleHarvesting() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 163 end line: 179 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 141 unit: private def sendNotificationsAndStoreSent() file: schedulelambda/src/main/scala/com/gu/notificationschedule/ProcessNotificationScheduleLambda.scala start line: 89 end line: 98 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: private def tryRequestNotification() file: schedulelambda/src/main/scala/com/gu/notificationschedule/notifications/RequestNotification.scala start line: 61 end line: 70 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: override def writes() file: common/src/main/scala/models/Notification.scala start line: 25 end line: 34 size: 10 LOC McCabe index: 9 number of parameters: 1 id: 144 unit: def fromString() file: common/src/main/scala/db/Registration.scala start line: 54 end line: 64 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 145 unit: def chooseTier() file: common/src/main/scala/db/Registration.scala start line: 66 end line: 75 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 146 unit: override def findByToken() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 22 end line: 31 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: def findByToken() file: common/src/main/scala/db/RegistrationService.scala start line: 19 end line: 29 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 148 unit: def fromConfig() file: common/src/main/scala/db/RegistrationService.scala start line: 57 end line: 70 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 149 unit: def validApiKey() file: common/src/main/scala/authentication/AuthAction.scala start line: 14 end line: 27 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 150 unit: def fromEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 70 end line: 79 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 151 unit: def toAttributeValue() file: eventconsumer/src/main/scala/com/gu/notifications/events/dynamo/DynamoConversion.scala start line: 10 end line: 19 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: def handleRequest() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 42 end line: 53 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 153 unit: constructor() file: cdk/lib/registration.ts start line: 8 end line: 20 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 154 unit: override def count() file: notification/app/notification/services/guardian/ReportTopicRegistrationCounter.scala start line: 11 end line: 20 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: def sendTrackingMessage() file: notification/app/notification/services/SloTrackingSender.scala start line: 14 end line: 23 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 156 unit: private def getContentApiId() file: notification/app/notification/services/ArticlePurge.scala start line: 9 end line: 19 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 157 unit: override def expiredTopics() file: registration/app/registration/auditor/LiveBlogAuditor.scala start line: 11 end line: 20 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: override def expiredTopics() file: registration/app/registration/auditor/FootballMatchAuditor.scala start line: 26 end line: 35 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 159 unit: def parseEventNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/NotificationParser.scala start line: 19 end line: 28 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 160 unit: def fetchTopicCounter() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 152 end line: 160 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: private def readHeaders() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/oktransport/OkGoogleHttpRequest.scala start line: 47 end line: 55 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 162 unit: private def callOnceWithResponseBody[A]() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/oktransport/OkGoogleHttpRequest.scala start line: 57 end line: 65 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 18 end line: 26 size: 9 LOC McCabe index: 8 number of parameters: 1 id: 164 unit: def deleteAndSwallowError() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/RegistrationCleaningWorker.scala start line: 40 end line: 48 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 165 unit: implicit def mapToContext() file: slomonitor/src/main/scala/com.gu.notifications.slos/SloMonitor.scala start line: 27 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: def pushMetricsToCloudWatch() file: slomonitor/src/main/scala/com.gu.notifications.slos/SloMonitor.scala start line: 77 end line: 86 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: override def reads() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Editions.scala start line: 47 end line: 55 size: 9 LOC McCabe index: 8 number of parameters: 1 id: 168 unit: private def getIdentity() file: schedulelambda/src/main/scala/com/gu/notificationschedule/ProcessNotificationScheduleLambda.scala start line: 30 end line: 38 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 169 unit: def fromString() file: common/src/main/scala/models/Platform.scala start line: 17 end line: 25 size: 9 LOC McCabe index: 8 number of parameters: 1 id: 170 unit: def simpleTransactor() file: common/src/main/scala/db/DatabaseConfig.scala start line: 22 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: private def asString() file: common/src/main/scala/aws/S3.scala start line: 53 end line: 61 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: def fromEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 100 end line: 108 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 173 unit: private def eventTitle() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 135 end line: 143 size: 9 LOC McCabe index: 8 number of parameters: 1 id: 174 unit: private def processMatch() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/FootballData.scala start line: 104 end line: 113 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 175 unit: def updateSetEventsReceivedAfter() file: eventconsumer/src/main/scala/com/gu/notifications/events/dynamo/DynamoReportUpdater.scala start line: 18 end line: 26 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 176 unit: def withScheduledExecutorService() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: def withAthena() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: def withDynamoDb() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 88 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: private def getIdentity() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/FakeBreakingNewsLambda.scala start line: 22 end line: 30 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 180 unit: def send() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/NotificationClient.scala start line: 46 end line: 54 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: override def sendNotification() file: notification/app/notification/services/frontend/FrontendAlerts.scala start line: 34 end line: 42 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 182 unit: private def decacheArticle() file: notification/app/notification/controllers/Main.scala start line: 137 end line: 145 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 183 unit: private def daysToExtract() file: reportextractor/src/main/scala/com/gu/notifications/extractor/Lambda.scala start line: 80 end line: 92 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: def writeAsync() file: commonscheduledynamodb/src/main/scala/com/gu/notificationschedule/dynamo/NotificationSchedulePersistenceImpl.scala start line: 61 end line: 70 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 185 unit: override def expiredTopics() file: registration/app/registration/auditor/TimeExpiringAuditor.scala start line: 9 end line: 16 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 186 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 35 end line: 42 size: 8 LOC McCabe index: 7 number of parameters: 2 id: 187 unit: def asScala() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 138 end line: 145 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: def queueMetric() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 17 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 189 unit: def fromString() file: common/src/main/scala/models/Topic.scala start line: 19 end line: 26 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: def isAlive: Boolean = deadline.hasTimeLeft() file: common/src/main/scala/utils/LruCache.scala start line: 15 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: override def getByTypeWithDateRange() file: common/src/main/scala/tracking/InMemoryNotificationReportRepository.scala start line: 24 end line: 31 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 192 unit: def put() file: common/src/main/scala/aws/S3.scala start line: 23 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: def fetch() file: common/src/main/scala/aws/S3.scala start line: 32 end line: 39 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 194 unit: def wrapAsyncMethod[Request <: AmazonWebServiceRequest, Result]() file: common/src/main/scala/aws/AWSAsync.scala start line: 16 end line: 23 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 195 unit: override protected def get() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/PaFootballClient.scala start line: 43 end line: 53 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: private def logContainer() file: football/src/main/scala/com/gu/mobile/notifications/football/Lambda.scala start line: 77 end line: 84 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 197 unit: def codeAndBodyToHttpResponse() file: fakebreakingnewslambda/src/main/scala/fakebreakingnews/NotificationClient.scala start line: 37 end line: 44 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 198 unit: def isLiveBloggingNow() file: registration/app/registration/auditor/LiveBlogAuditor.scala start line: 22 end line: 28 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: def collectLatency() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 200 unit: def audienceSizeBucket() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 88 end line: 94 size: 7 LOC McCabe index: 9 number of parameters: 1 id: 201 unit: def handleRequest() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/TopicCounter.scala start line: 19 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: def sending() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/SqsDeliveryService.scala start line: 19 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: def logStartAndCount() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Logging.scala start line: 77 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: def logEndOfInvocation() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Logging.scala start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def routeToSqs: PartialFunction[HarvestedToken,() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 76 end line: 82 size: 7 LOC McCabe index: 6 number of parameters: 2 id: 206 unit: def sendInvalidBatchTokensToCleaning() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/cleaning/CleaningClient.scala start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: def payloadBuilder: Notification => Option[FcmPayload] = n => FcmPayloadBuilder() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 49 end line: 56 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 208 unit: private def parseBody() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 64 end line: 70 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 209 unit: private def parseError() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 72 end line: 78 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 210 unit: def timeout() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/PushNotificationResponseListenerWithTimeout.scala start line: 15 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: def combined() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/RegistrationCleaningWorker.scala start line: 31 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: override def reads() file: commoneventconsumer/src/main/scala/com/gu/notifications/events/model/EventAggregation.scala start line: 12 end line: 18 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 213 unit: def apply() file: schedulelambda/src/main/scala/com/gu/notificationschedule/notifications/RequestNotification.scala start line: 15 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 214 unit: def queueMetric() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 48 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 215 unit: override def update() file: common/src/main/scala/tracking/InMemoryNotificationReportRepository.scala start line: 33 end line: 39 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 216 unit: private def parseString() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 51 end line: 63 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: def apply() file: common/src/main/scala/aws/AsyncDynamo.scala start line: 27 end line: 34 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 218 unit: private def teamMessage() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 86 end line: 92 size: 7 LOC McCabe index: 6 number of parameters: 2 id: 219 unit: def sendNotification() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationSender.scala start line: 14 end line: 20 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 220 unit: def default = ReportingWindow() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 26 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: private def countRegistration() file: notification/app/notification/services/guardian/GuardianNotificationSender.scala start line: 73 end line: 80 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: def sendBatch() file: notification/app/notification/services/guardian/GuardianNotificationSender.scala start line: 82 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 223 unit: private def pushWithDuplicateProtection() file: notification/app/notification/controllers/Main.scala start line: 111 end line: 118 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 224 unit: def notification() file: report/app/report/controllers/Report.scala start line: 46 end line: 51 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: private def actionWithTimeout[T]() file: registration/app/registration/controllers/Main.scala start line: 107 end line: 112 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: def sendResults() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Cloudwatch.scala start line: 14 end line: 21 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 227 unit: private def parseChunkedTokens() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/NotificationParser.scala start line: 40 end line: 45 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: private def parseShardedNotification() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/NotificationParser.scala start line: 47 end line: 52 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 229 unit: private def logMatchCase() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Reporting.scala start line: 16 end line: 21 size: 6 LOC McCabe index: 5 number of parameters: 3 id: 230 unit: def fetchCleaner() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 145 end line: 150 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 231 unit: def sendInvalidTokensToCleaning() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/cleaning/CleaningClient.scala start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 232 unit: def trackBatchProgress[C <: DeliveryClient]() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/AndroidSender.scala start line: 124 end line: 129 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: def deliverIndividualNotificationStream() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/SenderRequestHandler.scala start line: 78 end line: 83 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 234 unit: def newContentIdentifier() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Payloads.scala start line: 127 end line: 133 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 235 unit: override def reads() file: common/src/main/scala/models/JsonUtils.scala start line: 25 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: override def reads() file: common/src/main/scala/models/Provider.scala start line: 12 end line: 17 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 237 unit: override def reads() file: common/src/main/scala/models/GoalType.scala start line: 18 end line: 23 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 238 unit: override def writes() file: common/src/main/scala/models/NotificationType.scala start line: 33 end line: 39 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 239 unit: override def deleteByToken() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: def fromPaMatchEvent() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 13 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 241 unit: def dismissalTeamMsg() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 79 end line: 84 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: private def extract() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationHttpProvider.scala start line: 30 end line: 35 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 243 unit: def eventsForMatch() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/PaFootballClient.scala start line: 55 end line: 60 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 244 unit: def main() file: football/src/main/scala/com/gu/mobile/notifications/football/Lambda.scala start line: 111 end line: 116 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 245 unit: def handleRequestLocally() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: private def createAmazonAthenaAsync() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 81 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: private def createAmazonDynamoDBAsync() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaLambda.scala start line: 98 end line: 103 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: def purgeFromNotification() file: notification/app/notification/services/ArticlePurge.scala start line: 21 end line: 26 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 249 unit: implicit def mapToContext() file: notification/app/notification/controllers/Main.scala start line: 40 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 250 unit: override def onBadRequest() file: registration/app/registration/CustomErrorHandler.scala start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 251 unit: private def deterministicallyShard() file: registration/app/registration/services/LegacyNewsstandRegistrationConverter.scala start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: override def GET() file: registration/app/registration/services/WSPaClient.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: def aggregate() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 21 end line: 25 size: 5 LOC McCabe index: 5 number of parameters: 3 id: 254 unit: def aggregateBatch() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/SendingResults.scala start line: 27 end line: 31 size: 5 LOC McCabe index: 3 number of parameters: 4 id: 255 unit: def platform: Option[Platform] = Option() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Configuration.scala start line: 68 end line: 73 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 256 unit: private def sendTokensToQueue() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/cleaning/CleaningClient.scala start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: def handleRequest() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/ExpiredRegistrationCleaner.scala start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: private def toPlatformLink() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 185 end line: 189 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 259 unit: private def toAndroidLink() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala start line: 191 end line: 195 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 260 unit: private def toPlatformLink() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 215 end line: 219 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 261 unit: private def toIosLink() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 221 end line: 225 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 262 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Payloads.scala start line: 55 end line: 59 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 263 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Payloads.scala start line: 78 end line: 82 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 264 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 37 end line: 41 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 265 unit: private def queryNotificationsToSchedule: Try[Seq[NotificationsScheduleEntry]] = cloudWatch.timeTry() file: schedulelambda/src/main/scala/com/gu/notificationschedule/ProcessNotificationScheduleLambda.scala start line: 82 end line: 86 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 266 unit: def toFirebaseString: String = toString.replaceAll() file: common/src/main/scala/models/Topic.scala start line: 10 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 267 unit: def reads() file: common/src/main/scala/models/JsonUtils.scala start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: override def reads() file: common/src/main/scala/models/JsonUtils.scala start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: override def writes() file: common/src/main/scala/models/GoalType.scala start line: 12 end line: 16 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 270 unit: def remove() file: common/src/main/scala/utils/LruCache.scala start line: 66 end line: 70 size: 5 LOC McCabe index: 5 number of parameters: 1 id: 271 unit: def transactor[F[_] : Async]() file: common/src/main/scala/db/DatabaseConfig.scala start line: 51 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 272 unit: override def deleteByDate() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: def deleteByDate() file: common/src/main/scala/db/RegistrationService.scala start line: 39 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: private def promiseToAsyncHandler[Request <: AmazonWebServiceRequest, Result]() file: common/src/main/scala/aws/AWSAsync.scala start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: private def getApiKey[A]() file: common/src/main/scala/authentication/AuthAction.scala start line: 29 end line: 33 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 276 unit: def fromGoals() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 20 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 277 unit: private def goalTypeFromString() file: football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala start line: 89 end line: 93 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 278 unit: private def cache() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/EventFilter.scala start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: def eventsToNotifications() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/EventConsumer.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: override def get() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationHttpProvider.scala start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: private def updateDynamoIfRecent() file: eventconsumer/src/main/scala/com/gu/notifications/events/AthenaMetrics.scala start line: 24 end line: 28 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 282 unit: private def getNeededKey() file: eventconsumer/src/main/scala/com/gu/notifications/events/EnvDependencies.scala start line: 10 end line: 14 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 283 unit: override def reads() file: registration/app/registration/models/LegacyRegistration.scala start line: 20 end line: 23 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 284 unit: def inc() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/models/InvalidTokens.scala start line: 15 end line: 18 size: 4 LOC McCabe index: 3 number of parameters: 3 id: 285 unit: private def sendAsync() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/SqsDeliveryService.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: def toNotificationToSends: List[IndividualNotification] = tokens.map() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/tokens/TokenService.scala start line: 19 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 287 unit: def parseChunkedTokenEvent() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/NotificationParser.scala start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 288 unit: def parseShardNotificationEvent() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/NotificationParser.scala start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: def notificationTypeForObservability() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/Reporting.scala start line: 11 end line: 14 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 290 unit: def unapply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/utils/UnwrappingExecutionException.scala start line: 6 end line: 9 size: 4 LOC McCabe index: 4 number of parameters: 1 id: 291 unit: def main() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/ExpiredRegistrationCleaner.scala start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: def apply() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmClient.scala start line: 131 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: private def getAccessToken() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 294 unit: override def contentType() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/oktransport/OkGoogleHttpRequest.scala start line: 71 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: private def toCollapseId() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala start line: 227 end line: 230 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 296 unit: override def operationComplete() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/PushNotificationResponseListenerWithTimeout.scala start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 297 unit: def runLocally() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/TopicCounterLambda.scala start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Payloads.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 299 unit: def fromTopic() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Editions.scala start line: 41 end line: 44 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 300 unit: override def writes() file: api-models/src/main/scala/com/gu/mobile.notifications.client/models/Importance.scala start line: 11 end line: 14 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 301 unit: def withTypeString() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 302 unit: def withAdditionalFields() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 27 end line: 30 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 303 unit: def sendMetricsSoFar() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 32 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 304 unit: def succeed = cloudWatch.queueMetric() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 38 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 305 unit: def sendMetricsSoFar() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: override def topic: List[Topic] = List() file: common/src/main/scala/models/Notification.scala start line: 82 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 307 unit: def reads() file: common/src/main/scala/models/Platform.scala start line: 28 end line: 31 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 308 unit: def writes() file: common/src/main/scala/models/JsonUtils.scala start line: 18 end line: 21 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 309 unit: override def reads() file: common/src/main/scala/models/JsonUtils.scala start line: 33 end line: 36 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 310 unit: override def writes() file: common/src/main/scala/models/JsonUtils.scala start line: 38 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: override def reads() file: common/src/main/scala/models/JsonUtils.scala start line: 43 end line: 46 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 312 unit: def fromString() file: common/src/main/scala/models/Importance.scala start line: 14 end line: 17 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 313 unit: override def reads() file: common/src/main/scala/models/DeviceToken.scala start line: 9 end line: 12 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 314 unit: def reads() file: common/src/main/scala/models/TopicType.scala start line: 43 end line: 46 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 315 unit: override def writes() file: common/src/main/scala/models/Link.scala start line: 27 end line: 30 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 316 unit: def send() file: common/src/main/scala/metrics/Metrics.scala start line: 14 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: def transactor[F[_] : Async]() file: common/src/main/scala/db/DatabaseConfig.scala start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: def apply[F[_]: Async]() file: common/src/main/scala/db/RegistrationService.scala start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: override def store() file: common/src/main/scala/tracking/InMemoryNotificationReportRepository.scala start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: override def store() file: common/src/main/scala/tracking/NotificationReportRepository.scala start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: private def jsonInputStreamAndContentLength() file: common/src/main/scala/aws/S3.scala start line: 63 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: private def importance() file: football/src/main/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilder.scala start line: 145 end line: 148 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 323 unit: override def get() file: notification/app/notification/data/DataStore.scala start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: def querySync() file: commonscheduledynamodb/src/main/scala/com/gu/notificationschedule/dynamo/NotificationSchedulePersistenceImpl.scala start line: 26 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: def cachedMatchStatus() file: registration/app/registration/auditor/FootballMatchAuditor.scala start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: def removeInvalid() file: registration/app/registration/services/topic/TopicValidator.scala start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: override def removeInvalid() file: registration/app/registration/services/topic/TopicValidator.scala start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: def register() file: registration/app/registration/services/NotificationRegistrar.scala start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 329 unit: def register: Action[Registration] = actionWithTimeout() file: registration/app/registration/controllers/Main.scala start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: def logErrors() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: def sinkErrors() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/Harvester.scala start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 332 unit: def sendInvalidTokensToCleaning() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/cleaning/CleaningClient.scala start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 333 unit: override def toString() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmResponse.scala start line: 14 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 334 unit: def sendAsync() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmTransportJdkImpl.scala start line: 27 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 335 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 337 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 338 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 340 unit: override def getMessage() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/FcmException.scala start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 341 unit: def startTimeout() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/PushNotificationResponseListenerWithTimeout.scala start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 342 unit: private def invalidationTime() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/ApnsClient.scala start line: 115 end line: 118 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: def printResult() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/RegistrationCleaningWorker.scala start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: def this() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/AndroidSender.scala start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 345 unit: def this() file: notificationworkerlambda/src/main/scala/com/gu/notifications/worker/IOSSender.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 346 unit: def toQueryDate() file: commoneventconsumer/src/main/scala/com/gu/notifications/athena/Athena.scala start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: def +:() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 348 unit: def ++:() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 16 end line: 18 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 349 unit: def withAdditionalStringFields() file: api-models/src/main/scala/com/gu/mobile.notifications.client/lib/JsonFormatsHelper.scala start line: 32 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 350 unit: def meterHttpStatusResponses() file: schedulelambda/src/main/scala/com/gu/notificationschedule/cloudwatch/CloudWatch.scala start line: 28 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 351 unit: def fromStringsIgnoringErrors() file: common/src/main/scala/models/Topic.scala start line: 28 end line: 30 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 352 unit: def range: Range = Range.inclusive() file: common/src/main/scala/models/ShardedNotification.scala start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 353 unit: override def writes() file: common/src/main/scala/models/JsonUtils.scala start line: 48 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 354 unit: override def writes() file: common/src/main/scala/models/Provider.scala start line: 18 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 355 unit: def value: String = NotificationType.toRep() file: common/src/main/scala/models/NotificationType.scala start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 356 unit: def webUri() file: common/src/main/scala/models/Link.scala start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: override def reads() file: common/src/main/scala/models/Link.scala start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: def send() file: common/src/main/scala/metrics/Metrics.scala start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: def insert() file: common/src/main/scala/db/RegistrationService.scala start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 360 unit: def delete() file: common/src/main/scala/db/RegistrationService.scala start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 361 unit: def topicCounts() file: common/src/main/scala/db/RegistrationService.scala start line: 46 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: override def getByUuid() file: common/src/main/scala/tracking/InMemoryNotificationReportRepository.scala start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: def toAttributeMap[T]() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 364 unit: def fromAttributeMap[T]() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 365 unit: def jsonFromAttributeMap() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 366 unit: override def bind() file: common/src/main/scala/binders/querystringbinders/package.scala start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 367 unit: def filterNotifications() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/EventFilter.scala start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 368 unit: def sendNotifications() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/NotificationSender.scala start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 369 unit: def generate() file: football/src/main/scala/com/gu/mobile/notifications/football/lib/SyntheticMatchEventGenerator.scala start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 370 unit: def combine() file: eventconsumer/src/main/scala/com/gu/notifications/events/model/AggregationCounts.scala start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: def withReportingError() file: notification/app/notification/models/PushResult.scala start line: 17 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 372 unit: def get() file: notification/app/notification/data/DataStore.scala start line: 12 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 373 unit: override def get() file: notification/app/notification/data/DataStore.scala start line: 16 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 374 unit: def softPurge() file: notification/app/notification/services/FastlyPurge.scala start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: def main() file: reportextractor/src/main/scala/com/gu/notifications/extractor/LocalRun.scala start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 376 unit: def this() file: reportextractor/src/main/scala/com/gu/notifications/extractor/Lambda.scala start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: override def handleRequest() file: reportextractor/src/main/scala/com/gu/notifications/extractor/Lambda.scala start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 378 unit: def writeAsync() file: commonscheduledynamodb/src/main/scala/com/gu/notificationschedule/dynamo/NotificationSchedulePersistenceImpl.scala start line: 31 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 379 unit: override def delete() file: common/src/main/scala/db/SqlRegistrationRepository.scala start line: 33 end line: 34 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: def send() file: common/src/main/scala/metrics/Metrics.scala start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 381 unit: private def parseNumberList() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 65 end line: 65 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: private def parseBinaryList() file: common/src/main/scala/aws/DynamoJsonConversions.scala start line: 67 end line: 67 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 383 unit: def withRejected() file: notification/app/notification/models/PushResult.scala start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 1