id: 1 unit: def handler() file: src/main/scala/com/gu/mobile/content/notifications/Lambda.scala start line: 57 end line: 88 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 2 unit: def send() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsApiClient.scala start line: 23 end line: 56 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: def buildPayLoad() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 29 end line: 59 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 4 unit: def aggregatePoint() file: src/main/scala/com/gu/mobile/content/notifications/metrics/MetricsActor.scala start line: 79 end line: 107 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: def processContent() file: src/main/scala/com/gu/mobile/content/notifications/ContentLambda.scala start line: 8 end line: 32 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 6 unit: def load() file: src/main/scala/com/gu/mobile/content/notifications/Configuration.scala start line: 56 end line: 86 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: def aggregatePointsPerMetric() file: src/main/scala/com/gu/mobile/content/notifications/metrics/MetricsActor.scala start line: 36 end line: 57 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 8 unit: def aggregatePointsPerNamespaceMatches() file: src/main/scala/com/gu/mobile/content/notifications/metrics/MetricsActor.scala start line: 59 end line: 77 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: def credentialsProvider: AwsCredentialsProvider = AwsCredentialsProviderChainV2.of() file: src/main/scala/com/gu/mobile/content/notifications/Configuration.scala start line: 37 end line: 54 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: def process() file: src/main/scala/com/gu/mobile/content/notifications/CapiEventProcessor.scala start line: 12 end line: 28 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: override def processContent() file: src/main/scala/com/gu/mobile/content/notifications/LiveBlogLambda.scala start line: 11 end line: 26 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: private def retrieveContent() file: src/main/scala/com/gu/mobile/content/notifications/Lambda.scala start line: 101 end line: 117 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: private def sendNotification() file: src/main/scala/com/gu/mobile/content/notifications/lib/MessageSender.scala start line: 28 end line: 44 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: def buildPayLoad() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 61 end line: 74 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 15 unit: def apply() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsDynamoDb.scala start line: 39 end line: 56 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: def getLatestKeyEvent() file: src/main/scala/com/gu/mobile/content/notifications/model/KeyEvent.scala start line: 26 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: def parse() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsApiClient.scala start line: 58 end line: 69 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: def fromContent() file: src/main/scala/com/gu/mobile/content/notifications/model/KeyEvent.scala start line: 14 end line: 24 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: private def selectMainImage() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 95 end line: 105 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 20 unit: def send() file: src/main/scala/com/gu/mobile/content/notifications/lib/MessageSender.scala start line: 16 end line: 26 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: def processContent() file: src/main/scala/com/gu/mobile/content/notifications/Lambda.scala start line: 90 end line: 99 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: def kinesisEventRecordToRecord() file: src/main/scala/com/gu/mobile/content/notifications/Lambda.scala start line: 49 end line: 56 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: private def getTopicType() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 76 end line: 82 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 24 unit: private def getGuardianLink() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 107 end line: 113 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 25 unit: private def contentTitle() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 88 end line: 93 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: def followableTags: Seq[Tag] = content.tags.filter() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentApi.scala start line: 28 end line: 33 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: def send() file: src/main/scala/com/gu/mobile/content/notifications/metrics/Metrics.scala start line: 12 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: def send() file: src/main/scala/com/gu/mobile/content/notifications/metrics/Metrics.scala start line: 37 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: def findOne() file: src/main/scala/com/gu/mobile/content/notifications/lib/Seqs.scala start line: 6 end line: 9 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: def saveContentItem() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsDynamoDb.scala start line: 17 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: def haveSeenContentItem() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsDynamoDb.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: def haveSeenBlogEvent() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsDynamoDb.scala start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: def saveLiveBlogEvent() file: src/main/scala/com/gu/mobile/content/notifications/lib/NotificationsDynamoDb.scala start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: private def tagToTopic() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentAlertPayloadBuilder.scala start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: def textStandFirst: Option[String] = standFirst.map { sf => Jsoup.parse() file: src/main/scala/com/gu/mobile/content/notifications/lib/ContentApi.scala start line: 13 end line: 13 size: 1 LOC McCabe index: 1 number of parameters: 1