id: 1 unit: def uploadToS3Bucket() file: src/main/scala/com/gu/flexible/snapshotter/logic/S3Logic.scala start line: 23 end line: 48 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 2 unit: def snapshot() file: src/main/scala/com/gu/flexible/snapshotter/SnapshottingLambda.scala start line: 38 end line: 56 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 3 unit: def logResultsAttempts() file: src/main/scala/com/gu/flexible/snapshotter/SnapshottingLambda.scala start line: 85 end line: 102 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 4 unit: def logResults() file: src/main/scala/com/gu/flexible/snapshotter/SnapshottingLambda.scala start line: 67 end line: 83 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 5 unit: def resolve() file: src/main/scala/com/gu/flexible/snapshotter/config/SnapshotterConfig.scala start line: 17 end line: 34 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 6 unit: def logResult() file: src/main/scala/com/gu/flexible/snapshotter/SchedulingLambda.scala start line: 58 end line: 73 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: def schedule() file: src/main/scala/com/gu/flexible/snapshotter/SchedulingLambda.scala start line: 33 end line: 49 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: def parseContentIds() file: src/main/scala/com/gu/flexible/snapshotter/logic/ApiLogic.scala start line: 31 end line: 48 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 9 unit: def resolve() file: src/main/scala/com/gu/flexible/snapshotter/config/SchedulerConfig.scala start line: 18 end line: 32 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 10 unit: def serialise[T]() file: src/main/scala/com/gu/flexible/snapshotter/logic/SNSLogic.scala start line: 15 end line: 29 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: def Right[A]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 97 end line: 127 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: def putMetricData() file: src/main/scala/com/gu/flexible/snapshotter/logic/CloudWatchLogic.scala start line: 31 end line: 41 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: def publish() file: src/main/scala/com/gu/flexible/snapshotter/logic/SNSLogic.scala start line: 37 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: def sequence[A]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 53 end line: 61 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: def run() file: src/main/scala/com/gu/flexible/snapshotter/SnapshottingLambda.scala start line: 26 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: def map[B]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 9 end line: 17 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: def await[T]() file: src/main/scala/com/gu/flexible/snapshotter/logic/FutureUtils.scala start line: 12 end line: 19 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: def soloField() file: src/main/scala/com/gu/flexible/snapshotter/model/Snapshot.scala start line: 14 end line: 20 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 19 unit: def foreach() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 23 end line: 30 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 20 unit: def successfulAttempts[A]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: def apiUrl() file: src/main/scala/com/gu/flexible/snapshotter/config/Config.scala start line: 13 end line: 20 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 22 unit: def asFuture() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: def logTo() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 133 end line: 138 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: def url() file: src/main/scala/com/gu/flexible/snapshotter/resources/WSClientFactory.scala start line: 16 end line: 22 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: def run() file: src/main/scala/com/gu/flexible/snapshotter/SchedulingLambda.scala start line: 25 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: def apply[T]() file: src/main/scala/com/gu/flexible/snapshotter/logic/Retry.scala start line: 8 end line: 13 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: def fromEither[A]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 71 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: def envOrNoneAndLog() file: src/main/scala/com/gu/flexible/snapshotter/config/Config.scala start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: def contentForSnapshot() file: src/main/scala/com/gu/flexible/snapshotter/logic/ApiLogic.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: def contentForId() file: src/main/scala/com/gu/flexible/snapshotter/logic/ApiLogic.scala start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: def contentModifiedSince() file: src/main/scala/com/gu/flexible/snapshotter/logic/ApiLogic.scala start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: def fromLambdaEvent() file: src/main/scala/com/gu/flexible/snapshotter/logic/SNSLogic.scala start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: def uploadToS3Bucket() file: src/main/scala/com/gu/flexible/snapshotter/logic/S3Logic.scala start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: def shutdown() file: src/main/scala/com/gu/flexible/snapshotter/SnapshottingLambda.scala start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: def shutdown() file: src/main/scala/com/gu/flexible/snapshotter/SchedulingLambda.scala start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: def fold[B]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: def sequenceFutures[A]() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: def apply() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: def apply() file: src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: def awsDimensions() file: src/main/scala/com/gu/flexible/snapshotter/logic/CloudWatchLogic.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 2 number of parameters: 2