id: 1 unit: def mainWindow() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 66 end line: 147 size: 68 LOC McCabe index: 9 number of parameters: 3 id: 2 unit: def addPublicKeyCommand() file: src/main/scala/com/gu/ssm/SSH.scala start line: 75 end line: 129 size: 49 LOC McCabe index: 10 number of parameters: 2 id: 3 unit: private def setUpBastionSSH() file: src/main/scala/com/gu/ssm/Main.scala start line: 87 end line: 124 size: 38 LOC McCabe index: 2 number of parameters: 12 id: 4 unit: private def setUpStandardSSH() file: src/main/scala/com/gu/ssm/Main.scala start line: 49 end line: 85 size: 37 LOC McCabe index: 4 number of parameters: 13 id: 5 unit: def scpCmdStandard() file: src/main/scala/com/gu/ssm/SSH.scala start line: 158 end line: 200 size: 37 LOC McCabe index: 10 number of parameters: 1 id: 6 unit: private def setUpStandardScp() file: src/main/scala/com/gu/ssm/Main.scala start line: 126 end line: 159 size: 34 LOC McCabe index: 2 number of parameters: 14 id: 7 unit: def main() file: src/main/scala/com/gu/ssm/Main.scala start line: 13 end line: 43 size: 30 LOC McCabe index: 14 number of parameters: 1 id: 8 unit: def handleAWSErrs[T]() file: src/main/scala/com/gu/ssm/aws/AwsAsyncHandler.scala start line: 22 end line: 49 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: def commandStatus() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 70 end line: 95 size: 26 LOC McCabe index: 12 number of parameters: 1 id: 10 unit: def sshCmdBastion() file: src/main/scala/com/gu/ssm/SSH.scala start line: 131 end line: 153 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 11 unit: def createKey() file: src/main/scala/com/gu/ssm/SSH.scala start line: 15 end line: 39 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 12 unit: def output() file: src/main/scala/com/gu/ssm/UI.scala start line: 43 end line: 65 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: def getHostKeyEntry() file: src/main/scala/com/gu/ssm/Logic.scala start line: 107 end line: 127 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 14 unit: def writeHostKey() file: src/main/scala/com/gu/ssm/SSH.scala start line: 41 end line: 62 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: def retryUntil[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 178 end line: 196 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 16 unit: def main() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 18 end line: 37 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 17 unit: def apply() file: src/main/scala/com/gu/ssm/utils/FilePermissions.scala start line: 20 end line: 38 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 18 unit: def fromEither[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 125 end line: 142 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: def delay() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 158 end line: 170 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: private def toAuthorizedKey() file: src/main/scala/com/gu/ssm/utils/KeyMaker.scala start line: 32 end line: 44 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: def extractRDSTunnelConfig() file: src/main/scala/com/gu/ssm/Logic.scala start line: 49 end line: 61 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: def Right[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 201 end line: 233 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: def getClients() file: src/main/scala/com/gu/ssm/Logic.scala start line: 78 end line: 91 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 24 unit: def computeIncorrectInstances() file: src/main/scala/com/gu/ssm/Logic.scala start line: 93 end line: 105 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 25 unit: def printAll() file: src/main/scala/com/gu/ssm/UI.scala start line: 89 end line: 101 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 26 unit: def extractTunnelConfig() file: src/main/scala/com/gu/ssm/Logic.scala start line: 35 end line: 45 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: def resolveByTags() file: src/main/scala/com/gu/ssm/aws/EC2.scala start line: 25 end line: 38 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: def permissionAsString() file: src/main/scala/com/gu/ssm/utils/FilePermissions.scala start line: 55 end line: 64 size: 10 LOC McCabe index: 9 number of parameters: 1 id: 29 unit: private def execute() file: src/main/scala/com/gu/ssm/Main.scala start line: 161 end line: 171 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 30 unit: def getCommandInvocation() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 38 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: def extractCommandResult() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 49 end line: 58 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: def addTaintedCommand() file: src/main/scala/com/gu/ssm/SSH.scala start line: 64 end line: 73 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: def getSSHInstance() file: src/main/scala/com/gu/ssm/Logic.scala start line: 68 end line: 76 size: 9 LOC McCabe index: 9 number of parameters: 2 id: 34 unit: def sendCommand() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 24 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 35 unit: def convert() file: src/main/scala/com/gu/ssm/utils/FilePermissions.scala start line: 44 end line: 53 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: def map[B]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 18 end line: 30 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: def onComplete[B]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 68 end line: 75 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: def makeKey() file: src/main/scala/com/gu/ssm/utils/KeyMaker.scala start line: 17 end line: 24 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 39 unit: def executeCommand() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 42 end line: 49 size: 8 LOC McCabe index: 3 number of parameters: 4 id: 40 unit: def resolveRDSTunnelTarget() file: src/main/scala/com/gu/ssm/IO.scala start line: 23 end line: 30 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: def tagAsTainted() file: src/main/scala/com/gu/ssm/IO.scala start line: 52 end line: 60 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 42 unit: def resolveInstanceIds() file: src/main/scala/com/gu/ssm/aws/EC2.scala start line: 40 end line: 47 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: private def extractInstances() file: src/main/scala/com/gu/ssm/aws/EC2.scala start line: 49 end line: 56 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: def resolveByTags() file: src/main/scala/com/gu/ssm/aws/RDS.scala start line: 25 end line: 33 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: def resolveInstances() file: src/main/scala/com/gu/ssm/IO.scala start line: 15 end line: 21 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: def asFuture() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 57 end line: 62 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: def map2[A, B, C]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 79 end line: 84 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: private def writePemFile() file: src/main/scala/com/gu/ssm/utils/KeyMaker.scala start line: 46 end line: 51 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 49 unit: def start() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 156 end line: 161 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: def ready() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 163 end line: 168 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 51 unit: def searching() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 170 end line: 175 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: def displayResults() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 177 end line: 182 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 53 unit: def executeOnInstances() file: src/main/scala/com/gu/ssm/IO.scala start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 54 unit: def generateScript() file: src/main/scala/com/gu/ssm/Logic.scala start line: 20 end line: 25 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: def client() file: src/main/scala/com/gu/ssm/aws/STS.scala start line: 15 end line: 22 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: def client() file: src/main/scala/com/gu/ssm/aws/EC2.scala start line: 16 end line: 21 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: def tagInstance() file: src/main/scala/com/gu/ssm/aws/EC2.scala start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 58 unit: def client() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 17 end line: 22 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: def client() file: src/main/scala/com/gu/ssm/aws/RDS.scala start line: 18 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: def convertErrorToResult() file: src/main/scala/com/gu/ssm/UI.scala start line: 19 end line: 24 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: def sshOutput() file: src/main/scala/com/gu/ssm/UI.scala start line: 67 end line: 72 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: def successfulAttempts[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 149 end line: 153 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: private def generateKeyPair() file: src/main/scala/com/gu/ssm/utils/KeyMaker.scala start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: def displayError() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 184 end line: 188 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: def executeOnInstance() file: src/main/scala/com/gu/ssm/IO.scala start line: 39 end line: 43 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 66 unit: def executeOnInstanceAsync() file: src/main/scala/com/gu/ssm/IO.scala start line: 46 end line: 50 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 67 unit: def extractSASTags() file: src/main/scala/com/gu/ssm/Logic.scala start line: 27 end line: 31 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 68 unit: def getCmdOutput() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 60 end line: 64 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 69 unit: def awsToScala[R java.util.concurrent.Future[T])):() file: src/main/scala/com/gu/ssm/aws/AwsAsyncHandler.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: def outputFailure() file: src/main/scala/com/gu/ssm/UI.scala start line: 75 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: def checkInstancesList() file: src/main/scala/com/gu/ssm/Logic.scala start line: 63 end line: 66 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: def getCallerIdentity() file: src/main/scala/com/gu/ssm/aws/STS.scala start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: private def hasTagList() file: src/main/scala/com/gu/ssm/aws/RDS.scala start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: private def toInstance() file: src/main/scala/com/gu/ssm/aws/RDS.scala start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: def onError() file: src/main/scala/com/gu/ssm/aws/AwsAsyncHandler.scala start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: def fold[B]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: def map2[B, C]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: def delay() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: def traverse[A, B]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: def traverseWithFailures[A, B]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: def sequence[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: def sequenceWithFailures[A]() file: src/main/scala/com/gu/ssm/utils/attempt/Attempt.scala start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: def exitCode: ExitCode = failures.map() file: src/main/scala/com/gu/ssm/utils/attempt/Failure.scala start line: 5 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: def apply() file: src/main/scala/com/gu/ssm/utils/attempt/Failure.scala start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: def apply() file: src/main/scala/com/gu/ssm/utils/attempt/Failure.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: def attempt: FailedAttempt = FailedAttempt() file: src/main/scala/com/gu/ssm/utils/attempt/Failure.scala start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: def exit() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: def fullscreenPanelSize() file: src/main/scala/com/gu/ssm/Interactive.scala start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: def extractUserId() file: src/main/scala/com/gu/ssm/aws/STS.scala start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: def extractCommandId() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: def getCmdOutputs() file: src/main/scala/com/gu/ssm/aws/SSM.scala start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 92 unit: def onSuccess() file: src/main/scala/com/gu/ssm/aws/AwsAsyncHandler.scala start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: def colour() file: src/main/scala/com/gu/ssm/UI.scala start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def hasAnyCommandFailed() file: src/main/scala/com/gu/ssm/UI.scala start line: 81 end line: 83 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 95 unit: def printVerbose() file: src/main/scala/com/gu/ssm/UI.scala start line: 103 end line: 105 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: def printMetadata() file: src/main/scala/com/gu/ssm/UI.scala start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: def printErr() file: src/main/scala/com/gu/ssm/UI.scala start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 1