id: 1 unit: func AskConfirmationWithInput() file: pkg/question/question.go start line: 891 end line: 1039 size: 106 LOC McCabe index: 28 number of parameters: 3 id: 2 unit: func launchInteractive() file: cmd/launch.go start line: 91 end line: 218 size: 97 LOC McCabe index: 41 number of parameters: 1 id: 3 unit: func AskImage() file: pkg/question/question.go start line: 426 end line: 508 size: 66 LOC McCabe index: 13 number of parameters: 2 id: 4 unit: func getRunInstanceInput() file: pkg/ec2helper/ec2helper.go start line: 987 end line: 1059 size: 65 LOC McCabe index: 19 number of parameters: 2 id: 5 unit: func() file: pkg/ec2helper/ec2helper.go start line: 915 end line: 984 size: 61 LOC McCabe index: 10 number of parameters: 1 id: 6 unit: func AskSecurityGroups() file: pkg/question/question.go start line: 728 end line: 802 size: 57 LOC McCabe index: 10 number of parameters: 2 id: 7 unit: func() file: pkg/ec2helper/ec2helper.go start line: 1161 end line: 1239 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 8 unit: func AskIamProfile() file: pkg/question/question.go start line: 527 end line: 588 size: 55 LOC McCabe index: 8 number of parameters: 1 id: 9 unit: func AskQuestion() file: pkg/question/question.go start line: 57 end line: 125 size: 51 LOC McCabe index: 21 number of parameters: 1 id: 10 unit: func() file: pkg/cfn/cfn.go start line: 97 end line: 161 size: 49 LOC McCabe index: 11 number of parameters: 1 id: 11 unit: func() file: pkg/ec2helper/ec2helper.go start line: 750 end line: 806 size: 47 LOC McCabe index: 4 number of parameters: 1 id: 12 unit: func AskConfirmationWithTemplate() file: pkg/question/question.go start line: 828 end line: 888 size: 46 LOC McCabe index: 8 number of parameters: 2 id: 13 unit: func() file: pkg/ec2helper/ec2helper.go start line: 1062 end line: 1118 size: 43 LOC McCabe index: 10 number of parameters: 1 id: 14 unit: func AppendInstances() file: pkg/table/table.go start line: 177 end line: 228 size: 41 LOC McCabe index: 11 number of parameters: 4 id: 15 unit: func OverrideConfigWithFlags() file: pkg/config/config.go start line: 103 end line: 143 size: 41 LOC McCabe index: 14 number of parameters: 2 id: 16 unit: func AskInstanceTypeInstanceSelector() file: pkg/question/question.go start line: 369 end line: 420 size: 41 LOC McCabe index: 6 number of parameters: 4 id: 17 unit: func AppendTemplateNetworkInterfaces() file: pkg/table/table.go start line: 121 end line: 171 size: 39 LOC McCabe index: 10 number of parameters: 3 id: 18 unit: func AskInstanceIds() file: pkg/question/question.go start line: 1093 end line: 1143 size: 38 LOC McCabe index: 8 number of parameters: 2 id: 19 unit: func AskRegion() file: pkg/question/question.go start line: 128 end line: 176 size: 37 LOC McCabe index: 6 number of parameters: 1 id: 20 unit: func AskVpc() file: pkg/question/question.go start line: 608 end line: 653 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 21 unit: func() file: pkg/cfn/cfn.go start line: 50 end line: 94 size: 35 LOC McCabe index: 12 number of parameters: 1 id: 22 unit: func launchNonInteractive() file: cmd/launch.go start line: 221 end line: 269 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 23 unit: func ReadSecurityGroups() file: cmd/launch.go start line: 508 end line: 558 size: 34 LOC McCabe index: 8 number of parameters: 3 id: 24 unit: func AskLaunchTemplateVersion() file: pkg/question/question.go start line: 238 end line: 280 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 25 unit: func getDescribeImagesInputs() file: pkg/ec2helper/ec2helper.go start line: 375 end line: 409 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: func() file: pkg/ec2helper/ec2helper.go start line: 1121 end line: 1158 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 27 unit: func EstablishSSHConnection() file: pkg/ec2instanceconnecthelper/ec2instanceconnecthelper.go start line: 84 end line: 128 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 28 unit: func AskSubnet() file: pkg/question/question.go start line: 656 end line: 693 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: func() file: pkg/ec2helper/ec2helper.go start line: 295 end line: 333 size: 29 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: func init() file: cmd/launch.go start line: 42 end line: 70 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 31 unit: func AskLaunchTemplate() file: pkg/question/question.go start line: 198 end line: 235 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: func terminateInteractive() file: cmd/terminate.go start line: 69 end line: 103 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 33 unit: func ReadInstanceType() file: cmd/launch.go start line: 341 end line: 381 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 34 unit: func AskInstanceType() file: pkg/question/question.go start line: 310 end line: 342 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 35 unit: func() file: pkg/ec2helper/ec2helper.go start line: 422 end line: 449 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 36 unit: func AskSubnetPlaceholder() file: pkg/question/question.go start line: 696 end line: 725 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: func AskInstanceId() file: pkg/question/question.go start line: 1059 end line: 1090 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: func() file: pkg/ec2helper/ec2helper.go start line: 195 end line: 221 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: func() file: pkg/ec2helper/ec2helper.go start line: 486 end line: 510 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: func() file: pkg/ec2helper/ec2helper.go start line: 695 end line: 720 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: func() file: pkg/ec2helper/ec2helper.go start line: 874 end line: 897 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: func ConnectInstance() file: pkg/ec2instanceconnecthelper/ec2instanceconnecthelper.go start line: 131 end line: 156 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 43 unit: func connectInteractive() file: cmd/connect.go start line: 67 end line: 92 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 44 unit: func AppendTemplateEbs() file: pkg/table/table.go start line: 54 end line: 75 size: 20 LOC McCabe index: 7 number of parameters: 2 id: 45 unit: func AppendEbs() file: pkg/table/table.go start line: 78 end line: 99 size: 20 LOC McCabe index: 7 number of parameters: 2 id: 46 unit: func AskIfEnterInstanceType() file: pkg/question/question.go start line: 283 end line: 307 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: func() file: pkg/ec2helper/ec2helper.go start line: 227 end line: 249 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func() file: pkg/ec2helper/ec2helper.go start line: 594 end line: 615 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: func() file: pkg/ec2helper/ec2helper.go start line: 621 end line: 644 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: func() file: pkg/ec2helper/ec2helper.go start line: 726 end line: 747 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: func() file: pkg/ec2helper/ec2helper.go start line: 110 end line: 129 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 52 unit: func() file: pkg/ec2helper/ec2helper.go start line: 459 end line: 480 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 53 unit: func() file: pkg/ec2helper/ec2helper.go start line: 853 end line: 872 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func SendSSHPublicKey() file: pkg/ec2instanceconnecthelper/ec2instanceconnecthelper.go start line: 39 end line: 58 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 55 unit: func terminateNonInteractive() file: cmd/terminate.go start line: 106 end line: 128 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 56 unit: func SaveConfig() file: pkg/config/config.go start line: 146 end line: 166 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 57 unit: func() file: pkg/cfn/cfn.go start line: 181 end line: 200 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: func GenerateSSHKeyPair() file: pkg/ec2instanceconnecthelper/ec2instanceconnecthelper.go start line: 61 end line: 81 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 59 unit: func BuildTable() file: pkg/table/table.go start line: 29 end line: 51 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: func AppendSecurityGroups() file: pkg/table/table.go start line: 102 end line: 118 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 61 unit: func AskSecurityGroupPlaceholder() file: pkg/question/question.go start line: 805 end line: 825 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: func() file: pkg/ec2helper/ec2helper.go start line: 557 end line: 576 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 63 unit: func ReadNetworkConfiguration() file: cmd/launch.go start line: 447 end line: 470 size: 16 LOC McCabe index: 8 number of parameters: 2 id: 64 unit: func ReadConfig() file: pkg/config/config.go start line: 82 end line: 100 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 65 unit: func() file: pkg/ec2helper/ec2helper.go start line: 153 end line: 169 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: func() file: pkg/ec2helper/ec2helper.go start line: 273 end line: 289 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func() file: pkg/ec2helper/ec2helper.go start line: 535 end line: 551 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: func() file: pkg/ec2helper/ec2helper.go start line: 831 end line: 847 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 69 unit: func DecodeTemplateVariables() file: pkg/cfn/template.go start line: 37 end line: 53 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 70 unit: func ReadImageId() file: cmd/launch.go start line: 387 end line: 407 size: 15 LOC McCabe index: 7 number of parameters: 2 id: 71 unit: func SaveInConfigFolder() file: pkg/config/config.go start line: 169 end line: 186 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 72 unit: func() file: pkg/ec2helper/ec2helper.go start line: 88 end line: 104 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 73 unit: func() file: pkg/ec2helper/ec2helper.go start line: 809 end line: 825 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: func ValidateLaunchFlags() file: cmd/launch.go start line: 272 end line: 285 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 75 unit: func UseLaunchTemplateWithConfig() file: cmd/launch.go start line: 302 end line: 320 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 76 unit: func AskAutoTerminationTimerMinutes() file: pkg/question/question.go start line: 591 end line: 605 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func() file: pkg/ec2helper/ec2helper.go start line: 674 end line: 688 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: func() file: pkg/cfn/cfn.go start line: 164 end line: 178 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: func terminate() file: cmd/terminate.go start line: 51 end line: 66 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 80 unit: func launch() file: cmd/launch.go start line: 73 end line: 88 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 81 unit: func ReadAutoTerminationTimer() file: cmd/launch.go start line: 413 end line: 427 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: func connect() file: cmd/connect.go start line: 49 end line: 64 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 83 unit: func ValidateConnectFlags() file: cmd/connect.go start line: 111 end line: 124 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 84 unit: func AskKeepEbsVolume() file: pkg/question/question.go start line: 511 end line: 524 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: func AskSaveConfig() file: pkg/question/question.go start line: 1042 end line: 1056 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: func AskTerminationConfirmation() file: pkg/question/question.go start line: 1170 end line: 1184 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: pkg/ec2helper/ec2helper.go start line: 1242 end line: 1258 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: func GetInstancePublicDnsName() file: pkg/ec2instanceconnecthelper/ec2instanceconnecthelper.go start line: 159 end line: 171 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 89 unit: func GetSimpleEc2Tags() file: pkg/tag/tag.go start line: 25 end line: 36 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: func GetDefaultRegion() file: pkg/ec2helper/ec2helper.go start line: 61 end line: 75 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 91 unit: func() file: pkg/ec2helper/ec2helper.go start line: 135 end line: 147 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 92 unit: func() file: pkg/ec2helper/ec2helper.go start line: 255 end line: 267 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 93 unit: func() file: pkg/ec2helper/ec2helper.go start line: 516 end line: 529 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 94 unit: func() file: pkg/ec2helper/ec2helper.go start line: 900 end line: 912 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: func getSimpleEc2Tags() file: pkg/ec2helper/ec2helper.go start line: 1271 end line: 1282 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 96 unit: func getSimpleEc2Tags() file: pkg/cfn/cfn.go start line: 217 end line: 229 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 97 unit: func LaunchWithLaunchTemplate() file: cmd/launch.go start line: 323 end line: 335 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 98 unit: func ReadIamProfile() file: cmd/launch.go start line: 579 end line: 590 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 99 unit: func ReadUserTags() file: cmd/launch.go start line: 608 end line: 619 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 100 unit: func ReadSaveConfig() file: cmd/launch.go start line: 625 end line: 637 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: func GetInstanceAndConnect() file: cmd/connect.go start line: 127 end line: 139 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 102 unit: func getRegionDescriptions() file: pkg/question/question.go start line: 178 end line: 192 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 103 unit: func AskBootScript() file: pkg/question/question.go start line: 1146 end line: 1155 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func AskUserTags() file: pkg/question/question.go start line: 1158 end line: 1167 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func HasEbsVolume() file: pkg/ec2helper/ec2helper.go start line: 1318 end line: 1328 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 106 unit: func() file: pkg/cfn/cfn.go start line: 203 end line: 214 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: func init() file: cmd/terminate.go start line: 38 end line: 48 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: func UseLaunchTemplate() file: cmd/launch.go start line: 288 end line: 299 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 109 unit: func connectNonInteractive() file: cmd/connect.go start line: 95 end line: 108 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 110 unit: func GetTagAsFilter() file: pkg/tag/tag.go start line: 39 end line: 47 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: func getHomeDir() file: pkg/config/config.go start line: 72 end line: 79 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 112 unit: func AskInstanceTypeVCpu() file: pkg/question/question.go start line: 345 end line: 354 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: func AskInstanceTypeMemory() file: pkg/question/question.go start line: 357 end line: 366 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: func() file: pkg/ec2helper/ec2helper.go start line: 172 end line: 182 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: func() file: pkg/ec2helper/ec2helper.go start line: 336 end line: 346 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: func() file: pkg/ec2helper/ec2helper.go start line: 579 end line: 588 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: func() file: pkg/ec2helper/ec2helper.go start line: 647 end line: 656 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func() file: pkg/ec2helper/ec2helper.go start line: 659 end line: 668 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func GetTagName() file: pkg/ec2helper/ec2helper.go start line: 1261 end line: 1268 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: func ValidateTags() file: pkg/ec2helper/ec2helper.go start line: 1297 end line: 1305 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 121 unit: func IsLinux() file: pkg/ec2helper/ec2helper.go start line: 1308 end line: 1315 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 122 unit: func decodeTemplateVariable() file: pkg/cfn/template.go start line: 56 end line: 65 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 123 unit: func ReadKeepEbsVolume() file: cmd/launch.go start line: 433 end line: 440 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 124 unit: func ReadSubnet() file: cmd/launch.go start line: 476 end line: 487 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 125 unit: func ReadSubnetPlaceholder() file: cmd/launch.go start line: 493 end line: 502 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 126 unit: func init() file: cmd/connect.go start line: 38 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: func main() file: main.go start line: 24 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 128 unit: func ShowError() file: pkg/cli/cli.go start line: 46 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 129 unit: func ValidateTerminateFlags() file: cmd/terminate.go start line: 131 end line: 137 size: 7 LOC McCabe index: 4 number of parameters: 0 id: 130 unit: func ReadSecurityGroupPlaceholder() file: cmd/launch.go start line: 565 end line: 573 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 131 unit: func ReadBootScript() file: cmd/launch.go start line: 596 end line: 602 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 132 unit: func New() file: pkg/ec2helper/ec2helper.go start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: func() file: pkg/ec2helper/ec2helper.go start line: 53 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: func Execute() file: cmd/root.go start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: func New() file: pkg/iamhelper/iamhelper.go start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: func NewSimpleInfo() file: pkg/config/config.go start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: func New() file: pkg/cfn/cfn.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: func ValidateImageId() file: pkg/ec2helper/ec2helper.go start line: 1285 end line: 1288 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: func ValidateFilepath() file: pkg/ec2helper/ec2helper.go start line: 1291 end line: 1294 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 140 unit: func GetImagePriority() file: pkg/ec2helper/ec2helper.go start line: 451 end line: 453 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: func() file: pkg/ec2helper/ec2helper.go start line: 80 end line: 80 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: func() file: pkg/ec2helper/ec2helper.go start line: 81 end line: 81 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: func() file: pkg/ec2helper/ec2helper.go start line: 82 end line: 82 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: func() file: pkg/ec2helper/ec2helper.go start line: 187 end line: 187 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: func() file: pkg/ec2helper/ec2helper.go start line: 188 end line: 188 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: func() file: pkg/ec2helper/ec2helper.go start line: 189 end line: 189 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: func() file: pkg/ec2helper/ec2helper.go start line: 414 end line: 414 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: func() file: pkg/ec2helper/ec2helper.go start line: 415 end line: 415 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: func() file: pkg/ec2helper/ec2helper.go start line: 416 end line: 416 size: 1 LOC McCabe index: 1 number of parameters: 1