id: 1 unit: implicit def articleMapper: OctopusArticle => Article =() file: src/main/scala/com/gu/octopusthrift/models/OctopusArticle.scala start line: 54 end line: 86 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 2 unit: def handler() file: src/main/scala/com/gu/octopusthrift/Lambda.scala start line: 23 end line: 50 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 3 unit: private def processBundle() file: src/main/scala/com/gu/octopusthrift/Lambda.scala start line: 52 end line: 72 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 4 unit: def findBodyText() file: src/main/scala/com/gu/octopusthrift/services/ArticleFinder.scala start line: 61 end line: 89 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 5 unit: def publishMetricEvent() file: src/main/scala/com/gu/octopusthrift/aws/CloudWatch.scala start line: 26 end line: 45 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: def publish() file: src/main/scala/com/gu/octopusthrift/aws/Kinesis.scala start line: 17 end line: 36 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: implicit def bundleMapper: OctopusBundle => StoryBundle =() file: src/main/scala/com/gu/octopusthrift/models/OctopusBundle.scala start line: 54 end line: 71 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 8 unit: private def cleanObjectType() file: src/main/scala/com/gu/octopusthrift/services/ArticleFinder.scala start line: 23 end line: 38 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 9 unit: private def articlesOfPreferredObjectType() file: src/main/scala/com/gu/octopusthrift/services/ArticleFinder.scala start line: 41 end line: 53 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: def validateSinglePayload() file: src/main/scala/com/gu/octopusthrift/services/PayloadValidator.scala start line: 10 end line: 19 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 11 unit: def validateCachePayload() file: src/main/scala/com/gu/octopusthrift/services/PayloadValidator.scala start line: 21 end line: 30 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: def sendMessage() file: src/main/scala/com/gu/octopusthrift/aws/SQS.scala start line: 17 end line: 27 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: def isValidBundle() file: src/main/scala/com/gu/octopusthrift/services/PayloadValidator.scala start line: 32 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: def serializeToBytes() file: src/main/scala/com/gu/octopusthrift/util/ThriftSerializer.scala start line: 11 end line: 16 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: def deserialize[T <: ThriftStruct]() file: src/main/scala/com/gu/octopusthrift/util/ThriftSerializer.scala start line: 18 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 16 unit: def as[T]() file: src/main/scala/com/gu/octopusthrift/models/OctopusArticle.scala start line: 45 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: def as[T]() file: src/main/scala/com/gu/octopusthrift/models/OctopusBundle.scala start line: 47 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1