id: 1 unit: constructor() file: cdk/lib/most-viewed-video-uploader.ts start line: 11 end line: 50 size: 38 LOC McCabe index: 1 number of parameters: 3 id: 2 unit: override def handleRequest() file: src/main/scala/com/gu/contentapi/Lambda.scala start line: 17 end line: 45 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 3 unit: def extractMostViewedVideoOverall() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 52 end line: 73 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 4 unit: private[this] def decodeSectionsJson() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 74 end line: 88 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 5 unit: def publish() file: src/main/scala/com/gu/contentapi/services/Kinesis.scala start line: 19 end line: 34 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 6 unit: private def loadConfig() file: src/main/scala/com/gu/contentapi/Config.scala start line: 25 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: private[this] def requestMostViewed() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 23 end line: 31 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 8 unit: private[this] def buildUrl() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 33 end line: 41 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 9 unit: private[this] def mostViewedVideoToThrift() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 89 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: private[this] def capiEditionToOphanCountry() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 42 end line: 47 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: protected def getMostViewedVideoOverall() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 13 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 12 unit: protected def getMostViewedVideoBySection() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 13 unit: private def getConfigItem() file: src/main/scala/com/gu/contentapi/Config.scala start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: private[this] def buildId() file: src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 2