id: 1 unit: func() file: app.go start line: 90 end line: 197 size: 77 LOC McCabe index: 20 number of parameters: 1 id: 2 unit: func Main() file: cli/cli.go start line: 99 end line: 144 size: 36 LOC McCabe index: 9 number of parameters: 4 id: 3 unit: func() file: app.go start line: 215 end line: 251 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 4 unit: func NewAWSConfig() file: aws.go start line: 199 end line: 231 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 5 unit: func() file: aws.go start line: 356 end line: 395 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: func parseOptions() file: cli/options.go start line: 63 end line: 100 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: func() file: aws.go start line: 255 end line: 286 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 8 unit: func() file: aws.go start line: 290 end line: 322 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 9 unit: func() file: aws.go start line: 105 end line: 131 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: func() file: aws.go start line: 325 end line: 353 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 11 unit: func findConfigFile() file: cli/config.go start line: 30 end line: 54 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 12 unit: func() file: app.go start line: 331 end line: 355 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: func loadApp() file: cli/cli.go start line: 55 end line: 76 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 14 unit: func() file: aws.go start line: 134 end line: 152 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: func() file: app.go start line: 279 end line: 299 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: func() file: app.go start line: 253 end line: 275 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: func NewApp() file: app.go start line: 68 end line: 85 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: func LoadConfig() file: config.go start line: 52 end line: 66 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: func NewAWS() file: aws.go start line: 85 end line: 96 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: func printHelp() file: cli/cli.go start line: 78 end line: 90 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: func() file: app.go start line: 303 end line: 317 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: func searchPaths() file: cli/config.go start line: 57 end line: 68 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: func() file: cli/options.go start line: 49 end line: 61 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: func() file: app.go start line: 320 end line: 329 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: func() file: options.go start line: 28 end line: 35 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: func credentialsToEnv() file: cli/cli.go start line: 32 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: func() file: aws.go start line: 155 end line: 162 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: func() file: aws.go start line: 165 end line: 172 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: func execute() file: cli/cli.go start line: 45 end line: 53 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 30 unit: func() file: app.go start line: 200 end line: 206 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: func WithAWS() file: options.go start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: func WithAWSConfig() file: options.go start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: func WithClock() file: options.go start line: 55 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: func WithConfig() file: options.go start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: func WithStderr() file: options.go start line: 72 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: func WithStdin() file: options.go start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: func() file: aws.go start line: 235 end line: 241 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func() file: aws.go start line: 245 end line: 251 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func() file: config.go start line: 45 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: func printVars() file: cli/cli.go start line: 92 end line: 96 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: func setIniKeyValue() file: utils.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: func IsAWSAccessDeniedError() file: aws.go start line: 35 end line: 38 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func fileExists() file: cli/config.go start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func isValidARN() file: utils.go start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: func readInput() file: utils.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func readSecretInputFromTerminal() file: utils.go start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: func() file: aws.go start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: clock.go start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func main() file: cli/assume-role/main.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: func() file: app.go start line: 211 end line: 213 size: 3 LOC McCabe index: 1 number of parameters: 1